SAM-1: Drop Settings from the desktop primary nav #802
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#801 SAM-2: Add Settings entry to the avatar dropdown
charles/claude-hooks
Reference
charles/claude-hooks#802
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
As an operator, I want the desktop top nav to carry only operational surfaces, so that I can scan to my day-to-day pages without parsing past a configuration tab I rarely use.
Acceptance criteria
Nav definition
NAV_ITEMSinapps/web/src/components/app-shell.tsxno longer contains the/settingsentry. The remaining order isBoard · Workspace · Agents · Flows.Settingsicon import fromlucide-reactstays — it is reused by the avatar-menu Settings row added in SAM-2 — or moves with the row, whichever import graph is cleaner.NAV_ITEMSexists; if a search turns one up it is updated in the same commit.Mobile drawer
<Drawer side="left">block inapp-shell.tsx, today renderingNAV_ITEMS.map(...)) keeps a visible Settings entry. Implementation choice — either (a) keepNAV_ITEMSas the desktop list and define a separateMOBILE_NAV_ITEMS = [...NAV_ITEMS, settingsItem], or (b) renderNAV_ITEMSthen append a hand-rolled Settings<Link>after it. Pick the one that doesn't fork the icon/test-id contract.data-testid="nav-drawer-nav-settings"so the existing Playwright selector still resolves.onClick={closeMenu}) like every other drawer link.Tests
app-shell.tsx: the desktop nav rendering (viewport≥ md) renders four<Link>children with labelsBoard, Workspace, Agents, Flows— no Settings.< md, drawer open): Settings is present and clickable.apps/web/tests/opens the desktop shell and assertsgetByTestId('nav-settings')is not visible, whilegetByTestId('avatar-menu-settings')(introduced in SAM-2) is reachable from the avatar menu.Out of scope
ui-consolidation.md)./settings/*routes.References
specs/settings-into-avatar-menu.md§ "Story SAM-1"apps/web/src/components/app-shell.tsx—NAV_ITEMS(line 103), desktop nav (line 201), mobile drawer nav (line 259)specs/ui-consolidation.md— prior nav-collapse work; this spec is consistent with that directionDependencies
Blocks on #801 (SAM-2). The avatar-menu Settings entry must exist before this issue removes the desktop nav entry — otherwise the page is unreachable from the shell between the two PRs landing.