Skip to content

Add project to-do list with completion state and ownership checks - #14

Merged
Lucalopezz merged 3 commits into
mainfrom
feat/issue-7-project-todo-list
Oct 22, 2026
Merged

Lucalopezz merged 3 commits into
mainfrom
feat/issue-7-project-todo-list

Conversation

@Lucalopezz

@Lucalopezz Lucalopezz commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • Added a project-owned project_todos table and additive Prisma migration.
  • Added authenticated project to-do endpoints for listing, creating, editing, completing, reopening, and deleting items.
  • Aligned the to-do repository and use cases with the shared backend contracts and documented the convention in AGENTS.md and the backend skill.
  • Added a To-dos tab on project details with archived read-only behavior and accessible actions.
  • Run pending Prisma migrations before the deployed API accepts requests, since Vercel supplies the sensitive database URL only at runtime.
  • Updated use cases, traceability, data model, diagrams, feature documentation, and deployment guidance.

Why

A separate child table gives every to-do its own identity and completion timestamp while preserving the project's ownership and archive rules. The list keeps unfinished items first with stable pagination.

Validation

  • Focused API unit tests, repository integration test, and authenticated HTTP end-to-end test passed.
  • API build and targeted ESLint passed.
  • Focused web component tests, web lint/build, and all mocked Playwright browser tests passed.
  • Playwright typecheck, Prisma schema validation, and git diff --check passed.
  • The Vercel API container test passed against a fresh PostgreSQL instance: it applied migrations before serving health and private routes and excluded local environment files.

The mocked browser suite covers the UI; API database and HTTP tests cover the server path. The isolated test database was stopped after verification.

Closes #7

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devlog-unified-preview Ready Ready Preview Oct 22, 2026 10:42pm UTC

@Lucalopezz
Lucalopezz marked this pull request as ready for review October 22, 2026 22:43
@Lucalopezz
Lucalopezz merged commit fdb4d88 into main Oct 22, 2026
5 checks passed
@Lucalopezz
Lucalopezz deleted the feat/issue-7-project-todo-list branch October 23, 2026 09:49

This branch was successfully deployed

1 active deployment
Preview — a8d38377 Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add to-do list in a project

1 participant