learning_ai_common_plat/dashboards/tracker-web/src/lib
saravanakumardb1 f2dfddf944 feat(tracker-web): data-viz overview with charts + KpiCards (UX-4)
Add @bytelyst/charts + @bytelyst/data-viz as workspace:* deps (minimal
importer link entries in the lockfile). Replace the badge-pill breakdowns
on /dashboard with KpiCards (total/open/in-progress/done) and a dynamically
imported chart surface: Donut for By Status + By Type (centered total) and
a BarChart for By Priority, coloured from the bridged --bl-chart-* palette.

Pure transforms live in src/lib/overview-charts.ts (finite-coerced, no NaN
reaches the SVG); the heavy chart surface is split into overview-charts.tsx
and loaded via next/dynamic (ssr:false) to keep it out of the route bundle.
Add overview-charts.test.tsx rendering the surface with mocked stats via
react-dom/server (no NaN in paths) + transform unit tests; dedupe react in
vitest so the SSR render uses a single React instance.

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

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-29 06:51:39 -07:00
..
auth-context.tsx feat(dashboards): migrate admin + tracker dashboards to common-plat as product-agnostic 2026-02-28 02:17:35 -08:00
logger.ts feat(dashboards): migrate admin + tracker dashboards to common-plat as product-agnostic 2026-02-28 02:17:35 -08:00
overview-charts.ts feat(tracker-web): data-viz overview with charts + KpiCards (UX-4) 2026-05-29 06:51:39 -07:00
product-config.ts feat(tracker): add product switcher — filter items by any product 2026-02-28 14:15:18 -08:00
product-constants.ts fix(platform): build react-native-platform-sdk + fix admin-web typecheck errors 2026-03-12 16:36:13 -07:00
product-context.tsx fix(platform): build react-native-platform-sdk + fix admin-web typecheck errors 2026-03-12 16:36:13 -07:00
telemetry.ts refactor(dashboards): wire @bytelyst/telemetry-client into admin-web + tracker-web, add onInit + baseUrl to react-auth 2026-02-28 11:27:57 -08:00
theme-context.tsx feat(dashboards): migrate admin + tracker dashboards to common-plat as product-agnostic 2026-02-28 02:17:35 -08:00
tracker-client.ts feat(tracker): add product switcher — filter items by any product 2026-02-28 14:15:18 -08:00
utils.ts feat(dashboards): migrate admin + tracker dashboards to common-plat as product-agnostic 2026-02-28 02:17:35 -08:00