Skip to content

Studio: restore sidebar roundness to its pre-#6349 state - #6446

Merged
shimmyshimmer merged 2 commits into
mainfrom
studio-revert-sidebar-roundness-pre-6349
Jun 18, 2026
Merged

shimmyshimmer merged 2 commits into
mainfrom
studio-revert-sidebar-roundness-pre-6349

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

What

Put the sidebar corner radii back to what they were before the Hub redesign in #6349, and drop the profile-button radius experiment from #6443. Roundness only, no layout or behavior changes.

Restored values (expanded sidebar)

Element Was (current main) Restored to (pre-#6349)
Collapse / expand toggle buttons rounded-full rounded-[10px]
Project sub-items rounded-[14px] rounded-full
Profile button rounded-[5px] (from #6443) rounded-[14px]

The top nav buttons and the recents/chat rows were already back at rounded-full on main, so they are untouched.

Notes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adjusts the border-radius styling of several buttons in the sidebar component. The reviewer suggests reverting the change to 'rounded-full' on the multi-line, auto-height sidebar menu button back to 'rounded-[14px]' to prevent visual clipping of content.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

<SidebarMenuButton
isActive={isActiveRun}
className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-[14px] pl-3 pr-7 text-[14.5px] tracking-nav font-medium"
className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-full pl-3 pr-7 text-[14.5px] tracking-nav font-medium"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Applying rounded-full to a multi-line, auto-height button (h-auto flex-col) can cause visual clipping of the content (such as the status dot or text) at the corners due to the large border radius of a capsule shape on a tall element. Additionally, capsule shapes are typically reserved for single-line elements. It is better to keep rounded-[14px] for these multi-line items, similar to the profile button.

Suggested change
className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-full pl-3 pr-7 text-[14.5px] tracking-nav font-medium"
className="sidebar-nav-btn h-auto flex-col items-start gap-0.5 py-[5px] rounded-[14px] pl-3 pr-7 text-[14.5px] tracking-nav font-medium"

@shimmyshimmer

Copy link
Copy Markdown
Member Author

Keeping rounded-full on the training-run item is intentional. This PR restores the sidebar radii to their pre-#6349 values, and that item was rounded-full before the redesign. The capsule does not clip content: the status dot and name sit inside the pl-3 padding and stay centered, and the dataset line has an extra pl-3.5, so both clear the rounded ends. This matches how it shipped before #6349, so leaving it as is.

@shimmyshimmer
shimmyshimmer merged commit 830423f into main Jun 18, 2026
31 of 33 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-revert-sidebar-roundness-pre-6349 branch June 18, 2026 16:13
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