diff --git a/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md b/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md index 1857bbf4..2773e4ab 100644 --- a/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md +++ b/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md @@ -215,8 +215,11 @@ pnpm build # final gate ## UX-12 — Detail & board richness (Tabs · Tooltip · Drawer · Timeline · rich-text) -- [ ] **12.1** `/dashboard` board↔list: use `SegmentedControl` (or `Tabs`) for the view toggle +- [x] **12.1** `/dashboard` board↔list: use `SegmentedControl` (or `Tabs`) for the view toggle instead of bespoke buttons; `Tooltip` on truncated titles / status dots. + (SegmentedControl now drives the roadmap board/list toggle — the app's only board↔list + toggle — replacing the bespoke `blue-600` buttons; `Tooltip` wraps the truncated board + card titles. e2e toggle selector updated button→radio. UX-12.1 verified: tc/lint/test 162 ✓/build/e2e 18 ✓) - [ ] **12.2** Item detail: move row/item actions into an `ActionMenu`, and render the item's activity/comment history with `Timeline`. - [ ] **12.3** _(stretch — needs HTML-capable description/comment storage)_ Swap the plain diff --git a/dashboards/tracker-web/e2e/tracker.spec.ts b/dashboards/tracker-web/e2e/tracker.spec.ts index ba30bc48..91621e87 100644 --- a/dashboards/tracker-web/e2e/tracker.spec.ts +++ b/dashboards/tracker-web/e2e/tracker.spec.ts @@ -309,7 +309,8 @@ test.describe('Tracker — Public Roadmap', () => { test('can toggle between board and list view', async ({ page }) => { await page.goto('/roadmap'); await expect(page.getByRole('heading', { name: 'Dark mode toggle' })).toBeVisible(); - await page.getByRole('button', { name: 'List', exact: true }).click(); + // The view toggle is a shared SegmentedControl (role=radio), UX-12.1. + await page.getByRole('radio', { name: 'List', exact: true }).click(); // List view still shows the items (rendered as rows, not a