kanban-dev-webapp/docs/superpowers/specs
Dave cc2efd1f23 feat(plan): drag + double-click editor on the Gantt bars
Any signed-in user — owner or client_manager — can now edit
dates directly on the Gantt. Three interaction shapes:

- Drag the bar body to move it (both start and target shift
  by the same number of days, snapped to whole UTC days).
- Drag the right edge to resize (target only).
- Double-click any card or subtask bar to open a modal with
  Start + End date inputs, ESC to close, Enter to save.

Both card and subtask rows ship the same affordances. Cards
go through the existing rescheduleCardAction so the
activity-log row keeps recording who moved the date;
subtasks go through a new setSubtaskDatesAction (no audit
row — matches the existing subtask-toggle pattern).

Components touched:
- GanttBar gains canEdit / onMove / onResize / onEditRequest.
- GanttDateEditor is the inline two-input modal.
- ProjectSection forwards four callbacks (card move/resize,
  subtask move/resize) plus onEditRequest.
- GanttPlanView holds the editor's open state and computes
  one shared timeline range across sections.
- GanttClient wraps the view and bridges to the actions.
- /plan/page.tsx renders GanttClient.

Spec §6 amended to move drag from out-of-scope into the
delivered surface.

482/482 unit tests pass (was 471, +11 from bar-math).
Integration plan-gantt tests still pass.
Build clean.
2026-09-22 05:19:19 +02:00
..
2026-09-16-client-board-phase-1-design.md docs(spec): Phase 1 design for the multi-client developer board 2026-09-16 08:56:23 +02:00
2026-09-16-phase-2-commit-ingestion-and-dashboard-design.md docs(spec): Phase 2 design for commit ingestion and the project dashboard 2026-09-16 11:32:54 +02:00
2026-09-16-phase-3-ai-humanisation-design.md docs(spec): Phase 3 design for AI humanisation of commit history 2026-09-16 15:36:28 +02:00
2026-09-16-phase-4-client-intake-wizard-design.md docs(spec): Phase 4 design for the client intake wizard 2026-09-16 17:37:57 +02:00
2026-09-17-phase-5-planning-and-roadmap-design.md docs: Phase 5 spec and plan for the planning and roadmap view 2026-09-17 07:14:47 +02:00
2026-09-17-phase-6-navigation-and-project-kind-design.md docs(spec): Phase 6 — client-grouped navigation and project kind 2026-09-17 10:14:31 +02:00
2026-09-19-phase-7-logged-work-entries-design.md docs(spec): Phase 7 — logged work entries 2026-09-19 08:10:55 +02:00
2026-09-21-phase-8-public-intake-pwa-and-project-context-design.md chore(plan): pick up Plan Puzzle v1 in-progress work and Forgejo repo-url helper 2026-09-21 14:40:04 +02:00
2026-09-21-phase-9-per-client-intake-links-and-project-picker-design.md docs(phase-9): tighten picker description, swap owner labels 2026-09-21 12:58:56 +02:00
2026-09-21-phase-10-gantt-plan-redesign-design.md feat(plan): drag + double-click editor on the Gantt bars 2026-09-22 05:19:19 +02:00