Repository navigation
Studio: consistent rounded hover boxes for nav icon buttons - #7970
Merged
Merged
Conversation
Sidebar search, sidebar collapse and the chat header controls used a circular hover, while the titlebar back/forward buttons used a rounded rectangle. Sizes also varied (28px, 32px, 33px, 34px fallback). Move every nav icon button to a 30px rounded-[10px] box.
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
This was referenced Aug 6, 2026
danielhanchen
added a commit
that referenced
this pull request
Aug 6, 2026
#7970 moved every nav icon button to a 30px rounded-[10px] box, but tests/studio/test_desktop_reliability_frontend_contract.py still asserts the old 33px literals, so main is red and every open PR inherits the failure. Two assertions in test_collapsed_tauri_keeps_history_arrows_and_adds_new_chat_by_model_picker: the titlebar navigation button class and the chat page model picker button class. The second is currently masked by the first. The behaviour the test guards is unchanged: the history arrows survive collapse and appear exactly once each. Only the hardcoded sizes were stale. Fails before, passes after; tests/studio is otherwise unaffected.
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.
Nav icon buttons in the desktop app used two different hover shapes and four different sizes. This unifies them.
Before
--studio-chat-control-heightwith a 34px fallbackThe chat header trio resolved to 33px on desktop since
--studio-chat-control-heightis 33px in both chrome modes, so the 34px fallback only applied on web.After
Every nav icon button is a 30px square with
rounded-[10px].Glyphs stay at
size-icon(16px at default scale), giving 7px padding per side.Notes
size-[30px]instead of--studio-chat-control-height. That variable is still used by the model selector and context usage bar beside them, which keep their 33px height. The buttons are vertically centred in the row, so the 3px difference does not misalign anything.DesktopTitlebarNavigationthat holds the sidebar toggle slot open on mobile moves to 30px to match.Testing
npm run typecheckpassesnpm run buildpassesbiome checkon the three touched files reports only pre-existing diagnostics, none on the changed lines