nav-v2: drop top header, move repo switcher + user card into side nav #1086
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#1086
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?
User story
As an operator using the dashboard, I want the top header gone and its contents folded into the side nav (workspace switcher at top, user card + status + notifications at bottom), so that the side nav becomes the single chrome surface — like Cursor, Claude Code, Linear, Discord — and the content area reclaims ~56px of vertical space.
Background
Since nav-v2 shipped (milestone #39), the side nav already carries primary navigation. The top header in
app-shell.tsx:189-226now only hosts:<RepoSelector /><NotificationsBell /><ConnPill />(LIVE/reconnecting/down)<AvatarMenu />Mobile drawer (
sidebar-nav.tsx) already renders user card + theme/density toggles + logout at the bottom. Desktop just needs to catch up.Acceptance criteria
Layout
apps/web/src/components/app-shell.tsxlines 189-226) removed; content area renders flush to top of viewport.<RepoSelector />) moves to a dedicated row directly below the brand strip in the side nav (workspace-pill pattern: Linear / Slack).Bottom cluster (above user card)
<NotificationsBell />rendered above existing "Keyboard shortcuts" + "Collapse navigation" rows. Unread badge preserved.User card
<ConnPill />removed as a standalone element. Tooltip on the dot shows the verbose state ("LIVE", "Reconnecting…", "Disconnected").<AvatarMenu />upward (theme switcher, settings link, Forgejo profile, docs, logout). Menu content untouched — only the anchor + open direction change.claude-hooks v0.0.0 · <sha>) sits below the user card; hidden in collapsed mode (existing behaviour).Collapsed (56px) mode
Mobile drawer
<ConnPill />removed from the drawer if present.Tests
Out of scope
References
apps/web/src/components/app-shell.tsx:189-226apps/web/src/components/sidebar-nav.tsx,apps/web/src/components/nav-sections.tsxapps/web/src/components/avatar-menu.tsx