Skip to content

fix(workbench): keep sidebar conversation actions at their declared width - #7068

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/sidebar-actions-width
Nov 20, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/sidebar-actions-width

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Keep the conversation actions button at its declared width of 32 pt. With the current NSH layout, its flex grow setting gave the button over half the row and truncated even short conversation titles. The title now gets the remaining width. The button keeps the full row height and its icon stays centered.

Verification

Built the CLI and AppKit desktop shell locally. Opened two isolated State Roots with the same synthetic conversation titles and compared the native windows. The selected title now displays “computer use PiP” in full. At 2×, the row spans pixel rows 602–665 and the three dots span 631–636 in both captures. Their vertical midpoints coincide.

Before After
Selected title truncated before the fix Full selected title with the actions button centered

A focused NSH layout check on a 232 pt row measured 108 pt for the title and 124 pt for the action before the change, then 200 pt and 32 pt after it. Both controls measured 32 pt tall in both runs.

AI use

  • Generative tooling made a substantive contribution

Codex made the layout change and verified it on macOS.

Checklist

  • The focused layout check passes with the change and fails without it.
  • Checked the modified TSX file with Biome and built the local binaries used for verification.

Does this PR entail a change in behavior?

  • Yes — conversation titles can use the full space up to the actions button.

@M4n5ter
M4n5ter merged commit bb71589 into rust-preview Nov 20, 2026
1 check passed
@M4n5ter
M4n5ter deleted the codex/sidebar-actions-width branch November 20, 2026 02:56
M4n5ter added a commit that referenced this pull request Nov 21, 2026
…and align quick reply details (#7130)

Follow-up to #7126:
- Remove the redundant style on the sidebar conversation <Menu> that disabled NSH lay_out_through and collapsed the actions button from 32 pt to 16 pt tall (regressing #6973 while #7068 had already fixed the width). Assert more.size.height == title.size.height in the desktop regression test.
- Fold non-empty thinking rows in imported turns consistently with native turns even when a turn has no tool calls, keeping imported reply text visible outside folded work.
- Scope the -8 left offset and Show message source button in MessageRow to icon-led action rows so Quick Question replyDetails aligns flush with the reply text without adding a stray source-toggle button on hover.

Refs #7126

Generated-by: Maka (Antigravity)
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