1.7 KiB
1.7 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 07-capitalized-dynamic-labels | Capitalized dynamic Settings discovery labels | completed | 7 |
|
plan.md | ../../specs/ui/requirements/settings-discovery.md |
Task 07: Capitalized dynamic Settings discovery labels
Root cause
Dynamic workspace pages request nonexistent common:repositories and common:workflows
translations. i18next returns each raw key tail, so search results render lowercase even though
the Settings tree uses capitalized labels from the owning namespaces.
Acceptance
- Dynamic repository and workflow results reuse the same translated labels as Settings navigation.
- A regression test fails on the raw-key fallback and passes after the key correction.
- Shared catalog resolution keeps desktop, phone, and Cmd+K output identical.
Verification
cd apps && pnpm --filter @kandev/web test -- --run lib/settings-discovery/catalog.test.ts
Files
apps/web/lib/settings-discovery/resolve.tsapps/web/lib/settings-discovery/catalog.test.ts
Parallelism
Sequential; test and implementation change the same discovery contract.
Results
- RED: focused catalog test received
repositoriesandworkflowsinstead of the capitalized navigation labels. - GREEN: reused
sidebar:repositoriesandworkflows:workflows; 10/10 focused tests passed. - Typecheck, focused ESLint, i18n checks, and the discovery translation-key audit passed.
- The isolated Tailscale test instance served the updated module and Settings route with HTTP 200.
- No separate mobile E2E was needed: this is shared catalog data normalization with no layout, touch, scrolling, navigation, or viewport-specific behavior change.