Skip to content

[Feature] Calendar view type for sprint, backlog and timeline views #765

Done

Description

@pikann

Summary

Add a fourth built-in view layout, Calendar, next to Table, Board and Gantt. It shows tasks on a month, week or day grid, so a team can see what is due when. Dragging a task to another day reschedules it.

Problem

Views today are table, board, gantt and plugin. None of them shows “what lands on which day”.

  • Table and Board list tasks by status or sprint. Dates are columns or card badges, so finding a crowded week or an empty one means reading dates one by one.
  • Gantt draws bars on a time scale, and it is built for durations and dependencies. It is a poor fit for “what is due this week?” or “which day is overloaded?”. Deadline-only tasks become one-day bars that stack into unreadable rows.
  • Teams that plan by date, such as release schedules, support rotations and content calendars, currently export tasks or keep a separate calendar tool.

Proposed solution

View type

  • Add calendar to ViewType, with a Calendar layout in viewTypeToLayout / layoutToViewType, following the same path as gantt.
  • Backend: a migration extends the sprint_views.view_type CHECK constraint. It must account for the roadmap → gantt rename in migration 000090. The view DTO, validation, and the API and architecture docs need updating too.
  • The view can be created in the sprint, backlog and timeline contexts via the existing new-view popover.

Rendering

  • A new calendar-view.tsx beside gantt-view.tsx, with React-free date math in calendar-scale.ts so it can be unit tested like gantt-scale.ts.
  • Modes: Month (default), Week and Day, stored per view as calendar_mode. The toolbar has previous / next and a Today button.
  • Placement: a task shows on every day from start_date to due_date, both included. A multi-day task is a bar spanning the days in the week row. A task with only one date shows on that date, the same rule as Gantt.
  • Dates: stored as UTC midnight, so the grid reuses the whole-UTC-day helpers from the Gantt view.
  • Busy days: a day with too many tasks shows “+N more”, which opens a popover listing them.
  • Undated tasks: a collapsible “No date” panel lists them. Dropping one onto a day sets its dates.

Interaction

  • Drag a task to another day to move it, keeping its length. Drag a bar’s edge to change its start or due date.
  • Click a task to open the existing task detail panel.
  • Click an empty day (or its “+”) to create a task with that date.
  • Dragging respects the same permissions as other date edits.

Shared view behavior

  • Filters, search, task-type filter, sprint selection and the shared-versus-personal config all work unchanged, because the view reads the same task payload as the other layouts.
  • Load tasks for the visible date range plus a margin. The existing start_date / due_date range filters may need an “overlaps this range” option.
  • Grouping and sorting don’t apply to the grid, so the settings panel hides them for Calendar.
  • An optional calendar_date_field setting (start_and_due by default, due_date, start_date) chooses which date places a task.

i18n and a11y

  • New keys in all 9 locales, since locale parity is enforced.
  • ARIA grid pattern, arrow-key navigation between days, and keyboard-focusable task chips.
  • Month and weekday names come from the user’s locale, and so does the first day of the week.

Out of scope for v1: recurring tasks, iCal or Google Calendar export and subscribe feeds, time-of-day scheduling (tasks only have dates), and showing sprint start and end dates as events.

Alternatives considered

A plugin view. The plugin layout is for third-party extension. Calendar is a basic planning layout that needs core drag-to-reschedule and task detail integration, so a built-in type is simpler and consistent.

Area

Product behavior

Additional context

Suggested acceptance criteria:

  • A user can create a Calendar view in the sprint, backlog and timeline contexts.
  • Tasks appear on the correct days, and multi-day tasks span them.
  • Dragging a task persists its new dates. A failed save rolls the task back and shows an error.
  • Mode and date field settings persist per view and respect shared versus personal config.
  • Unit tests cover the date math, and e2e tests cover create, view and reschedule, as gantt_view_test.go does for Gantt.

Activity

  1. added
    enhancement
    good first issue
    on Nov 15, 2026
  2. pullfrog commented on Nov 15, 2026

    @pullfrog
    Contributor
  3. assigned and unassigned on Nov 22, 2026
  4. added a commit that references this issue on Nov 28, 2026
    bdaba8c
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