From fd7f12513d2255e4613e34e4782d6b6a9deed02e Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Fri, 29 May 2026 06:56:49 -0700 Subject: [PATCH] docs(tracker-web): tick UX-5 wave (5.1-5.3) with SHA + test counts (UX-5) Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../docs/roadmaps/UX_INTEGRATION_BYTELYST.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md b/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md index 0f2a9c11..c81a4d26 100644 --- a/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md +++ b/dashboards/tracker-web/docs/roadmaps/UX_INTEGRATION_BYTELYST.md @@ -168,12 +168,19 @@ pnpm build # final gate ## UX-5 — Command palette (⌘K) -- [ ] **5.1** Add `@bytelyst/command-palette` dep; mount `CommandRegistryProvider` + `CommandPalette` +- [x] **5.1** Add `@bytelyst/command-palette` dep; mount `CommandRegistryProvider` + `CommandPalette` in `src/app/providers.tsx` (or dashboard layout), opened with ⌘K / Ctrl-K. -- [ ] **5.2** Register commands: navigate (Overview / Items / Board / Roadmap), **New item**, + (UX-5 `a7cb866c`: dep added with a minimal `link:` lockfile entry; `CommandRegistryProvider` + wraps the app in `providers.tsx`, the palette shell is loaded via `next/dynamic` (ssr:false).) +- [x] **5.2** Register commands: navigate (Overview / Items / Board / Roadmap), **New item**, **Switch product** (wire `ProductSwitcher`), **Toggle theme**, **Sign out**. -- [ ] **5.3** Vitest test: palette opens on ⌘K and lists registered commands. + (UX-5 `a7cb866c`: built in pure `src/lib/command-registry.ts`. New item → `/dashboard/items?new=1` + auto-opens the create modal; Switch commands call `setProductId` (same store as ProductSwitcher); + Toggle theme flips `setTheme`; Sign out calls `logout()` + routes to `/login`.) +- [x] **5.3** Vitest test: palette opens on ⌘K and lists registered commands. **Verify:** `pnpm typecheck && pnpm lint && pnpm test && pnpm build`. + (UX-5 `a7cb866c`: tc/lint/test 173 ✓/format/build/e2e 18 ✓. `command-menu.test.tsx` (jsdom) + asserts the builder set + that ⌘K opens the palette and lists New item/Toggle theme/Sign out.) ## UX-6 — Toasts replace inline status divs @@ -321,7 +328,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) ```