diff --git a/docs/superpowers/specs/2026-09-21-phase-10-gantt-plan-redesign-design.md b/docs/superpowers/specs/2026-09-21-phase-10-gantt-plan-redesign-design.md index 6fb749f..c1736e8 100644 --- a/docs/superpowers/specs/2026-09-21-phase-10-gantt-plan-redesign-design.md +++ b/docs/superpowers/specs/2026-09-21-phase-10-gantt-plan-redesign-design.md @@ -158,12 +158,12 @@ The existing `RoadmapCard` type and `src/lib/roadmap/band.ts` are dropped from t ## 6. Out of scope -- **Drag-to-reschedule.** The Phase 5 audit-log shape (owner moving a client-owned `target_date`) applies here too; adding drag to a denser widget without the activity log in place would be a regression. A future phase can wire drag with the same audit-log shape as Phase 5 §5. -- **Subtask editing on the Gantt.** Dates are edited on the card page or subtask panel, as today. +- **Drag-to-reschedule — moved into scope after first build.** Any signed-in user (owner or client_manager) can drag a bar to move it or drag its right edge to resize it. Writes go through the existing `rescheduleCardAction` (cards) or a new `setSubtaskDatesAction` (subtasks). Cards still get the `activity` audit row; subtasks do not, matching the existing `done`-toggle pattern. - **Filtering by client, priority, or status.** Not in the request. - **Connector lines** between parent and child bars (the reference Gantt has them; the indented alignment reads cleanly without them, and the dark palette makes 1px rules tricky to get right). - **Hover-only tooltips that pop out of the bar** (we use a native `title` attribute for now). - **Removing the legacy `RoadmapTabs` / `TimelineView` / `PuzzleView` / `band-view` files.** If the dashboard still uses them, leave them. If not, the plan may delete them. This keeps the diff small and reversible. +- **Inline date editor when the page is read-only.** Owners AND client managers get the editor (it's the Gantt's whole purpose for them). If a future role needs read-only access, pass `canEdit={false}` to `GanttPlanView`. ## 7. Migration diff --git a/src/app/plan/page.tsx b/src/app/plan/page.tsx index 6909373..bfd5165 100644 --- a/src/app/plan/page.tsx +++ b/src/app/plan/page.tsx @@ -2,7 +2,7 @@ import { redirect } from "next/navigation"; import { AppShell } from "@/components/shell/app-shell"; import { TopBar } from "@/components/shell/top-bar"; -import { GanttPlanView } from "@/components/roadmap/gantt-plan-view"; +import { GanttClient } from "@/components/roadmap/gantt-client"; import { getSession } from "@/lib/auth/session"; import { loadPlan } from "@/lib/roadmap/load"; @@ -25,7 +25,7 @@ export default async function PlanPage() {
+ {title} +
++ Start must be on or before the end date. +
+ )} +