[Sub] Day-Planner — Item-Klick → Mark-Done #464

Closed
opened 2026-06-12 16:46:02 +02:00 by pm-bot · 2 comments
Collaborator

Kontext

rc20: Day-Planner Items sind read-only — User kann sie nicht abhaken. Da Candidates einen Lifecycle (pending → planned → done) haben, ist die Markierung als "erledigt" der natürliche nächste Schritt.

Sub-Issue zu Epic #360. Hängt an ADR 0001 §7 (Source-Done-Event-Bus, separates Sub-Issue) für die Rückwärts-Propagation an die Source.

Scope

  • Backend: neuer Endpoint POST /candidates/:id/done setzt lifecycleState='done'
  • Frontend: Tap auf Item → Bestätigungsdialog → Mutation → Item wird grau/durchgestrichen
  • Optimistic Update via React-Query
  • getToday-Query ignoriert done-Candidates (oder zeigt sie kollabiert am Ende)

Out of scope (späteres Sub-Issue)

  • Source-Done-Event-Bus (Mail-Archive triggern, Tracking-Status updaten etc.) → ADR §7 Folge-Issue
  • Undo "doch nicht erledigt"
## Kontext rc20: Day-Planner Items sind read-only — User kann sie nicht abhaken. Da Candidates einen Lifecycle (`pending → planned → done`) haben, ist die Markierung als "erledigt" der natürliche nächste Schritt. Sub-Issue zu Epic #360. Hängt an ADR 0001 §7 (Source-Done-Event-Bus, separates Sub-Issue) für die Rückwärts-Propagation an die Source. ## Scope - Backend: neuer Endpoint `POST /candidates/:id/done` setzt `lifecycleState='done'` - Frontend: Tap auf Item → Bestätigungsdialog → Mutation → Item wird grau/durchgestrichen - Optimistic Update via React-Query - `getToday`-Query ignoriert `done`-Candidates (oder zeigt sie kollabiert am Ende) ## Out of scope (späteres Sub-Issue) - Source-Done-Event-Bus (Mail-Archive triggern, Tracking-Status updaten etc.) → ADR §7 Folge-Issue - Undo "doch nicht erledigt"
Author
Collaborator

Cross-Ref: arch-question gestellt in #478 (Bridge-Symmetrie für source=todo). #464-Implementation wartet auf Antwort.

Cross-Ref: arch-question gestellt in #478 (Bridge-Symmetrie für source=todo). #464-Implementation wartet auf Antwort.
Author
Collaborator

PR #479 öffnet die Implementierung — POST /candidates/:id/done mit symmetrischer Bridge zur Todo-Liste (rc22-Rückweg), TanStack-Query Optimistic Update auf /heute, Playwright-Regression. ADR 0001 §7 Addendum dokumentiert die per-source-inline Phase-1-Entscheidung (arch-q #478). Auto-Close per Fixes #464.

PR #479 öffnet die Implementierung — `POST /candidates/:id/done` mit symmetrischer Bridge zur Todo-Liste (rc22-Rückweg), TanStack-Query Optimistic Update auf /heute, Playwright-Regression. ADR 0001 §7 Addendum dokumentiert die per-source-inline Phase-1-Entscheidung (arch-q #478). Auto-Close per `Fixes #464`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
admin-mrrm/mrrmlabapp#464
No description provided.