feat(client): rename Account to Settings + pin to sidebar bottom (#271) #274
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "271-settings-sidebar-bottom"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
NAV_ITEMSlist inapps/client/lib/nav/items.ts.SettingsRowinapps/client/lib/nav/Sidebar.tsxin the footer area, immediately above the user card and outside theScrollView. Visually identical to a regular nav row (same icon, same active-state treatment, samePressableshape) — but it doesn't scroll with the list.nav.account→nav.settings("Settings") inpackages/i18n/messages/en.json. Theaccount.*page namespace is untouched; only the sidebar nav label moves.apps/client/tests/navItems.test.ts) updated to reflect the new shape:/accountis no longer in the nav list, and there is now one divider between two groups instead of two dividers between three.Route is unchanged at
/account— only the label and position move. The active highlight still fires when on/account(the SettingsRow readspathnameand applies the same accent-subtle background + accent left border as a regular nav row).Test plan
pnpm install --frozen-lockfilepnpm -F @carol/client typecheckpnpm -F @carol/client lintpnpm -F @carol/client test(16 files, 106 tests passing)pnpm -F @carol/client export:web(/accountroute still exports)pnpm -F @carol/api typecheck/account./account, confirm the Settings row picks up the active highlight (accent-subtle bg + accent left border).Closes #271.
Drop the "Account" entry (and its preceding divider) from the scrollable NAV_ITEMS list and render a pinned "Settings" row in the sidebar's footer area, immediately above the user card. The row styles identically to a regular nav row — same icon, same active treatment, same Pressable shape — but it sits outside the ScrollView so it's always reachable without scrolling. The route is unchanged at `/account`; only the label and position move. i18n: rename `nav.account` → `nav.settings` ("Settings"). Sidebar tests updated to drop `/account` from the expected hrefs and group shape. Refs #271.📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.