Skip to content

feat(mobile): usable Table/Kanban/Gantt/Calendar/Activity on phones + mobile-views test - #80

Merged
mvalancy merged 2 commits into
developfrom
feat/mobile-views
Jun 16, 2026
Merged

feat(mobile): usable Table/Kanban/Gantt/Calendar/Activity on phones + mobile-views test#80
mvalancy merged 2 commits into
developfrom
feat/mobile-views

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Why

On phones the non-graph views weren't explorable: Table (1250px wide → sideways scroll), Kanban (3000px of columns), Gantt (800px timeline), Calendar (cramped 7-col month grid), Activity (row overflow). You could only scroll sideways to reach content.

Test first (reproduces the errors)

tests/e2e/mobile-views.spec.ts (@mobile, 390px) — committed RED first: each view must be explorable by scrolling down, never sideways (no overflow-x scroll container with clipped width inside the view), and Calendar must default to Agenda on phones.

Fixes (desktop ≥ sm unchanged)

  • Table → stacked card per item with labeled fields on phones; wide table hidden sm:block.
  • Kanban → columns stack vertically (scroll down) on phones; horizontal board at sm:.
  • Gantt → readable schedule list (task + status + progress + dates) on phones; timeline hidden sm:block.
  • Calendar → Agenda list default on phones (Month/Week still selectable).
  • Activity → rows wrap (min-w-0/flex-wrap, p-3) so the timestamp no longer overflows.

Verification

mobile-views 8/8, mobile-experience 2/2, smoke gate 5/5, web typecheck clean. Visually confirmed each view at 390px.

mvalancy and others added 2 commits June 16, 2026 13:48
…Table/Kanban/Gantt/Activity) + Calendar agenda-default

Adds tests/e2e/mobile-views.spec.ts (@mobile, 390px): each non-graph view must
be explorable by scrolling DOWN, never sideways. Currently RED for Table,
Kanban, Gantt, Activity (horizontally-scrollable content) and Calendar (cramped
month grid instead of an agenda list). data-testid=view-content added to anchor
the probe. Fixes follow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The non-graph views forced horizontal scrolling on a phone (wide table, a row
of board columns, a timeline) or rendered a cramped grid — you couldn't explore
them by scrolling down. Each now has a phone layout; desktop (≥ sm) is unchanged.

- TableView: phones get a stacked card per work item with labeled fields
  (title, type, status, priority, contributor, connections, due date, tags);
  the wide table is `hidden sm:block`.
- KanbanView: columns stack vertically and scroll down on phones
  (`flex-col`, no overflow-x); the horizontal board returns at sm:.
- GanttChart: phones get a readable schedule list (task + status + progress +
  start–end dates); the interactive timeline is `hidden sm:block`.
- CalendarView: defaults to the Agenda list on phones (matchMedia) instead of
  the unreadable 7-column month grid; Month/Week still selectable.
- ActivityFeed: rows wrap on phones (min-w-0 + flex-wrap, p-3) so the timestamp
  pill no longer pushes content past the viewport.

Driven by tests/e2e/mobile-views.spec.ts (committed first, was RED): each view
must be explorable by scrolling DOWN, never sideways. Now 8/8 green; mobile-
experience 2/2; smoke gate 5/5; web typecheck clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy
mvalancy merged commit c250b97 into develop Jun 16, 2026
16 checks passed
@mvalancy
mvalancy deleted the feat/mobile-views branch June 16, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant