docs(ui): record token alias completion
This commit is contained in:
parent
ce85504066
commit
95c3c5e8bf
@ -61,7 +61,7 @@ Note: common platform had a pre-existing local modification in `packages/ui/src/
|
||||
| [x] | 2. Common-platform package inventory | product + common | Mapped product needs to existing common packages for UI, design tokens, platform/auth/session, telemetry, diagnostics, feature flags, kill switch, blob/extraction/offline/broadcast/billing/feedback/survey, datastore/config/errors. | Passed: `rg "@bytelyst/" --glob '!node_modules/**' --glob '!pnpm-lock.yaml' --glob '!vendor/**'`; common package manifest inspection; required common package manifest existence checks; `git diff --check`. | `3ed79933422522dfeec524befcff4f2a4c56dfc7` | No common-platform package gap identified for the next adapter/token phases. Dashboard packages should be evaluated after `@bytelyst/ui` adapter work, not before. |
|
||||
| [x] | 3. Common-platform UI gap closure | common | Verified common UI already covers the required reusable primitive set; no common-platform code change needed before product adapter work. | Passed in common platform: `pnpm --filter @bytelyst/ui run build`; `pnpm --filter @bytelyst/ui exec eslint src --ext .ts,.tsx`; `git diff --check`. | `09bdf3fbd0d1f8e46631648f90ddeb0f20fd9541` | Deferral recorded: dashboard packages will be evaluated after product adapter work. Common checkout had a pre-existing local `packages/ui/src/components/AppShell.tsx` modification that this migration did not touch. |
|
||||
| [x] | 4. Product UI adapter foundation | product | Added `web/src/components/ui/Primitives.tsx` wrapping/re-exporting `@bytelyst/ui`; added `@bytelyst/ui` and `@bytelyst/design-tokens` dependencies through local common-platform resolution; added product status-to-tone mapping. | Passed: `BYTELYST_PACKAGE_SOURCE=common-plat BYTELYST_COMMON_PLAT_ROOT=/Users/saravana/BytelystAI/learning_ai/learning_ai_common_plat pnpm install -r --frozen-lockfile`; `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm run audit:ui`; `git diff --check`. | `833e85ee0e3c41dfbfd3df76c8b89bd3474f9991` | Audit remains at 48 raw controls, 21 legacy classes, 520 color literals, 0 direct `@bytelyst/ui` imports outside adapter. |
|
||||
| [ ] | 5. Design token alias foundation | product | Import shared design tokens and add global aliases from product tokens to `--bl-*` in web CSS. | `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm --filter @bytelyst/trading-web test -- --runInBand` if supported; `pnpm run audit:ui`; `git diff --check` | Pending | Keep visual behavior stable while aliases are introduced. |
|
||||
| [x] | 5. Design token alias foundation | product | Imported shared design tokens and added global aliases from product tokens to `--bl-*` in web CSS. | Passed: `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm --filter @bytelyst/trading-web build`; `pnpm run audit:ui`; `git diff --check`. | `ce85504066a1cfbbbca0c6423f397ccb4f291080` | Used `@bytelyst/design-tokens/generated/tokens.css` because Tailwind/Vite did not resolve the package export alias in CSS `@import`. Audit reports 48 raw controls, 23 legacy classes, 520 color literals, 0 direct `@bytelyst/ui` imports outside adapter. |
|
||||
| [ ] | 6. Highest-value workflow migration | product | Migrate the top operator workflow first, preserving E2E-visible text and behavior while replacing raw controls/surfaces with adapter primitives. | Focused DOM tests for changed workflow; `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm run audit:ui`; `git diff --check` | Pending | Candidate workflow: positions / trade plan navigation based on recent active changes. |
|
||||
| [ ] | 7. Forms, modals, and settings migration | product | Migrate auth/settings/share/create/edit forms to adapter primitives and common modal/dialog patterns. | Focused DOM tests; `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm run audit:ui`; `git diff --check` | Pending | Verify labels and keyboard interaction. |
|
||||
| [ ] | 8. Dashboard, search, and workspace migration | product | Migrate cards/lists/tables/filter chips to Panel, DataList, DataTable, Badge, StatusBadge, and EmptyState. | Focused DOM tests; responsive smoke where available; `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm run audit:ui`; `git diff --check` | Pending | Preserve dense operational layout. |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user