feat(client): convert Projects to display-first view + Edit toggle (#273) #276
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!276
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "273-projects-display-first"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Editbutton toggles the page into edit mode where the create form, per-row Edit/Delete controls, and inline row-edit form become available.projects.edit.{edit,cancel,done,editAria,cancelAria,doneAria}+projects.emptyHint,projects.noDescription,projects.noLinkto the i18n catalog; no other strings change.@carol/api-clientexactly as before.The edit-model mirrors the Profile screen's Contacts card (atomic per-row CRUD inside a page-level edit toggle) —
Done/Cancelsimply collapse any open create/row-edit form and return to view mode; create + row edits + deletes write through their own mutations as the user submits each one.Test plan
pnpm install --frozen-lockfilepnpm -F @carol/client typecheckpnpm -F @carol/client lintpnpm -F @carol/client test— 106 tests passpnpm -F @carol/client export:web— bundles cleanly/projects, confirm read-only view is clean; tap Edit, confirm the create form + per-row Edit/Delete appear; create a project, edit a row, save, confirm cache patches and view mode returns; cancel an in-progress edit and confirm the draft is discarded.Closes #273.
📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.