docs(tracker-web): tick UX-4 wave (4.1-4.3) with SHA + test counts (UX-4)

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
saravanakumardb1 2026-05-29 06:52:13 -07:00
parent f2dfddf944
commit dfdc9777c4

View File

@ -151,12 +151,20 @@ pnpm build # final gate
## UX-4 — Data-viz for the overview (use the unused `--chart-*` tokens)
- [ ] **4.1** Add `@bytelyst/charts` + `@bytelyst/data-viz` as `workspace:*` deps.
- [ ] **4.2** `src/app/dashboard/page.tsx`: replace badge-pill breakdowns with a `Donut` for
- [x] **4.1** Add `@bytelyst/charts` + `@bytelyst/data-viz` as `workspace:*` deps.
(UX-4 `f2dfddf9`: added with minimal `link:` importer entries in `pnpm-lock.yaml` — no full
re-normalisation; recovered/validated with `pnpm install --frozen-lockfile`.)
- [x] **4.2** `src/app/dashboard/page.tsx`: replace badge-pill breakdowns with a `Donut` for
**By Status** and **By Type**, a `BarChart`/`BarSparkline` for **By Priority**, and `KpiCard`s
for `total` + open/in-progress/done with trend where data allows.
- [ ] **4.3** Add a Vitest test rendering the overview with mocked `getStats` (no NaN in SVG paths).
(UX-4 `f2dfddf9`: KpiCards for total/open/in-progress/done; `Donut` By Status (centered total) + By Type; `BarChart` By Priority, coloured from the bridged `--bl-chart-*` palette. The chart
surface is split into `overview-charts.tsx` and loaded via `next/dynamic` (ssr:false) to keep
it out of the route bundle. No time-series in `getStats`, so KPI trend is omitted.)
- [x] **4.3** Add a Vitest test rendering the overview with mocked `getStats` (no NaN in SVG paths).
**Verify:** `pnpm typecheck && pnpm lint && pnpm test && pnpm build`.
(UX-4 `f2dfddf9`: tc/lint/test 170 ✓/format/build/e2e 18 ✓. `overview-charts.test.tsx` renders
the surface with mocked stats via `react-dom/server` asserting no `NaN`, plus transform unit
tests; react deduped in vitest for a single SSR React instance.)
## UX-5 — Command palette (⌘K)
@ -313,7 +321,7 @@ pnpm build # final gate
## Progress
```
Core : UX-1 ✅ UX-2 ✅ UX-3 ✅ UX-4 UX-5 ⬜ UX-6 ⬜ UX-7 ⬜ UX-8 ⬜
Core : UX-1 ✅ UX-2 ✅ UX-3 ✅ UX-4 UX-5 ⬜ UX-6 ⬜ UX-7 ⬜ UX-8 ⬜
Expand : UX-9 ✅ UX-10 ✅ UX-11 ✅ UX-12 ✅ UX-13 ✅ (stretch: 12.3, 13.1 deferred — see notes)
```