Skip to content

[tui] Implement HeaderBar with breadcrumb trail, repo context, and status badges#205

Open
roninjin10 wants to merge 20 commits intotui-impl/tui-bootstrap-and-rendererfrom
tui-impl/tui-header-bar
Open

[tui] Implement HeaderBar with breadcrumb trail, repo context, and status badges#205
roninjin10 wants to merge 20 commits intotui-impl/tui-bootstrap-and-rendererfrom
tui-impl/tui-header-bar

Conversation

@roninjin10
Copy link
Copy Markdown
Contributor

Implement HeaderBar with breadcrumb trail, repo context, and status badges

Implement the header bar per TUI_HEADER_BAR.md. (1) components/HeaderBar.tsx: single-row fixed-height component with three sections in a flexbox row. (2) Left section — breadcrumb trail: renders navigation stack as 'Screen > Screen > Screen' with ' > ' separators (muted color), current screen in primary/bold, previous screens in muted, truncates from left when width exceeds 40% of terminal width (shows '… > Parent > Current'). (3) Center section — repository context: shows 'owner/repo' when a repo-context screen is active, 'owner/repo#number' for issue/landing detail, omitted when no repo context, muted color. (4) Right section — connection status indicator (● green connected, ● yellow syncing, ● red disconnected) and notification badge (unread count in parentheses, primary color when >0, muted when 0, hidden when 0 at minimum breakpoint). (5) Responsive: at minimum breakpoint, center section hidden, breadcrumb allows 60% width. (6) Border: bottom single-line border in border color token.

Closes #43


Auto-generated by smithers workflow
Domain: Codeplane TUI
Ticket: tui-header-bar

…omplete theme system with color depth detection and semantic tokens
…ary with recovery UI, stack trace, and crash loop detection
…olution, validation gate, loading/error screens, AuthProvider
…er, skeleton rendering, pagination indicator, action loading, optimistic UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tui Terminal UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant