Skip to content

Studio: nudge sidebar row pin and options buttons 3px right - #12563

Merged
shimmyshimmer merged 1 commit into
mainfrom
studio-sidebar-row-actions-nudge
Oct 3, 2026
Merged

shimmyshimmer merged 1 commit into
mainfrom
studio-sidebar-row-actions-nudge

Conversation

@shimmyshimmer

Copy link
Copy Markdown
Member

Summary

On a hovered chat or project row, the options button and the pin now sit 3px further right, closer to the end of the pill.

Changes

  • .sidebar-row-action right padding goes from pr-1.5 to pr-0.75, so the options glyph ends 3px from the pill's right edge instead of 6px.
  • The pin's right offset goes from 30px to 27px, so the 2px gap between the pin and the options button is unchanged.
  • List header actions (Pinned, custom sections, Projects, Recents) move by the same 3px so they still end where a hovered row's options button does: .sidebar-sticky-label right padding is 9px (was 12px), and 8px under the desktop titlebar (was 11px).
  • Comments that quoted the old offsets are updated.

Testing

  • npm test passes. tests/sidebar-spinner-column.test.ts and tests/on-device-dot-and-header-alignment.test.ts are updated for the new offsets. The working-row spinner padding and the focus paddings still clear the options button.
  • Measured in a local build on a hovered chat row: the options glyph ends 3px from the pill's right edge, and the pin sits 2px to its left.

The options button on a hovered chat or project row now sits 3px from the
pill's right edge instead of 6px, and the pin moves with it so the gap
between them is unchanged. List header actions move by the same 3px so
they keep ending where a hovered row's options button does.
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T23:47:00.665254Z 9391380 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 93913805e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@danielhanchen

Copy link
Copy Markdown
Member

Two reds on head 93913805: (1) this PR: tests/studio/test_desktop_reliability_frontend_contract.py::test_the_sidebar_action_geometry_still_follows_the_ui_scale fails, which reads the sidebar row action sizing this PR nudges, so the contract needs updating alongside the new geometry (or the geometry needs to keep following the UI scale); (2) main: the over the startup budget failure is from a run created at 20:59, before #12560 re-measured the budget on main; a push or re-run clears it.

@shimmyshimmer
shimmyshimmer merged commit 64316a1 into main Oct 3, 2026
@shimmyshimmer
shimmyshimmer deleted the studio-sidebar-row-actions-nudge branch October 3, 2026 00:59
danielhanchen added a commit that referenced this pull request Oct 3, 2026
#12562 (make carried rows a faintly frosted, darker copy) landed after this
branch was cut and restyles the shared ghost rule that #12499 introduced: it
relies on --row-ghost-surface and .model-picker-row-ghost, and edits
model-picker-pinned-drag-preview.test.ts, all of which the #12499 revert
removes. Keeping it without #12499 leaves .sidebar-row-ghost reading an unset
variable, so the conflict is resolved by dropping #12562's two hunks as well.
It should be re-opened together with #12499. #12563, #12564 and #12597 are kept.
JoshuaL3000 pushed a commit to JoshuaL3000/unsloth that referenced this pull request Oct 4, 2026
…i#12563)

The options button on a hovered chat or project row now sits 3px from the
pill's right edge instead of 6px, and the pin moves with it so the gap
between them is unchanged. List header actions move by the same 3px so
they keep ending where a hovered row's options button does.
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.

2 participants