Skip to content

[Feature] Implement full Gantt view (rename Roadmap to Gantt) #748

Closed

Description

@pikann

Summary

Turn the existing Roadmap view into a full Gantt view, and rename it from “Roadmap” to “Gantt”. The view already draws tasks as bars from start date to due date, but it lacks the core Gantt features: dependency arrows, drag-to-reschedule, and zoom levels.

Problem

The Roadmap view (apps/web/src/components/projects/interactions/roadmap-view.tsx) is described as "Gantt-style" in ROADMAP.md, but it only shows bars on a month-only scale. Users planning timelines can't:

  • see which tasks block others, even though task links (blocks, relates_to, duplicates) already exist,
  • change a task's dates by dragging its bar (drag only reorders rows or regroups them),
  • zoom between day, week, quarter and year scales.

The name "Roadmap" also doesn't match what the view does, and it will confuse users once the Gantt features exist.

Proposed solution

  1. Rename Roadmap → Gantt.
    • Change view_type roadmap → gantt, with a DB migration and an update to the CHECK constraint.
    • Rename the layout, component, default seeded view and i18n keys in all 9 locales.
    • Update the MCP types and tools, e2e specs and docs.
    • Accept roadmap as a deprecated alias on the API for one release, and normalize it to gantt.
  2. Dependency arrows for blocks links, flagging a violation when a blocked task starts before its blocker ends. Add a view-settings toggle to show or hide them.
  3. Drag to reschedule. Drag a bar to move it, or drag an edge to change the start or due date. Snap to the day, show a live tooltip, save optimistically, and require the edit permission (checked in the router). Keep the existing row drag for reordering.
  4. Zoom levels (Day / Week / Month / Quarter / Year) stored per view, plus a "Jump to today" button and a pinned name column.
  5. Optional follow-ups: critical path, milestones, parent roll-up bars, cascade shifting, baselines, export.

Alternatives considered

No response

Area

Product behavior

Additional context

  • Out of scope: the Calendar plugin (tracked separately in ROADMAP.md) and resource or workload views.
  • Acceptance criteria:
    • No "Roadmap" label remains in the UI, API responses or docs, and existing views migrate to gantt with their config intact.
    • blocks links render as arrows, and violations are visibly flagged.
    • Dragging a bar or its edges updates start_date and due_date, and the change appears in the activity feed and can be reverted.
    • Zoom level is remembered per view.
    • Users without edit permission can view the chart but can't reschedule.
    • Date changes appear in real time for other clients.
    • Tests cover the geometry and zoom logic, the migration and validation (Go), and the Playwright spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions