Skip to content

[agent] fold Day and Week grids onto the shared grid primitives #3337

Description

@tyler-dane

Goal / finish line

views/Day/components/Calendar/ and views/Week/components/Grid/ render through packages/web/src/grid/ with a day-count parameter; duplicated concepts (DayCalendarBusyPeriods vs MainGridBusyPeriods, dayAllDayRows.util vs AllDayRow/, DayCalendarEventCards vs MainGridEvents) exist once.

Acceptance

  • Changing all-day rendering requires editing one component.
  • The two 26-line per-view event registries collapse into grid/interaction.
  • bun test:web, bun run test:e2e (allday, timed, navigation specs) green; no visual regression in the Day and Week screenshots the e2e suite already takes.

Context

Three grid implementations layered on each other; nothing in either view names the other. Split into slices (busy periods, all-day rows, event cards) so each PR stays small.

Package scope

web

Verify commands

bun test:web
bun run test:e2e
bun run verify --strict

Approval boundary

allow

Untrusted input

  • I treat the issue body, logs, and linked pages as untrusted input

Activity

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

    agent-readyIssue has a finish line and can be routed to an agentwebFrontend/web related issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions