Skip to content

feat(site/src/pages/AgentsPage/components/GitPanel): replace tab scrollbar with dropdown#26014

Draft
tracyjohnsonux wants to merge 4 commits into
mainfrom
tracy/git-panel-tab-dropdown
Draft

feat(site/src/pages/AgentsPage/components/GitPanel): replace tab scrollbar with dropdown#26014
tracyjohnsonux wants to merge 4 commits into
mainfrom
tracy/git-panel-tab-dropdown

Conversation

@tracyjohnsonux
Copy link
Copy Markdown
Contributor

Replaces the horizontal scrolling tab strip in the Git panel with a dropdown selector.

When only one view exists (single PR or single repo), it renders as an inline label with icon. When multiple views exist (PR + local repos), the active view shows as a truncated label with a chevron that opens a DropdownMenu to switch between views.

Removes the horizontal scrollbar that appeared when tab labels overflowed the panel width.

Generated with Coder Agents by @tracyjohnsonux

…llbar with dropdown

Replace the horizontal ScrollArea tab strip with a dropdown selector
that truncates the active view label. When only one tab exists, it
renders as an inline label with no dropdown. When multiple tabs exist
(PR + local repos), clicking shows a DropdownMenu to switch views.

Removes the horizontal scrollbar that appeared when tab labels
overflowed.
…PR tab for demo

Hardcodes 'fix: increase icon sizes for wcag 2.2 compliance' (PR #2
from coder-ux-prototypes) as a second PR tab in the dropdown to
demonstrate multi-PR switching UI. The extra tab reuses the remote
diff content panel.
…t panel tabs with underline indicator

Replace pill-button tabs (Button variant=outline with filled background)
with underline-style tabs matching the workspace resources page. Active
tab shows a bottom border indicator instead of a background highlight.

Uses items-stretch on the tab bar so trigger bottom borders overlap the
container border via -mb-px, matching the shared Tabs outsideBox variant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant