feat(site/src/pages/AgentsPage/components/GitPanel): replace tab scrollbar with dropdown#26014
Draft
tracyjohnsonux wants to merge 4 commits into
Draft
feat(site/src/pages/AgentsPage/components/GitPanel): replace tab scrollbar with dropdown#26014tracyjohnsonux wants to merge 4 commits into
tracyjohnsonux wants to merge 4 commits into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.