Skip to content

fix(workbench): restore sidebar menu height, fold imported thinking, and align quick reply details - #7130

Merged
M4n5ter merged 1 commit into
rust-previewfrom
fix/workbench-7126-followup
Nov 21, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
fix/workbench-7126-followup

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 21, 2026

Copy link
Copy Markdown
Member

Summary

Follow-up cleanup for #7126:

  • Sidebar actions button vertical collapse (regressed fix(workbench): center the sidebar conversation actions button #6973): fix(workbench): keep sidebar conversation actions at their declared width #7068 already fixed the 32 pt trailing width by removing flexGrow: 1 from the trigger <Button> so NSH lay_out_through lays it out directly in the horizontal row. Adding style={{ width: 32, flexShrink: 0 }} on <Menu> in fix(workbench): preserve reply details and align sidebar actions #7126 marked the component host as styled, disabling lay_out_through and collapsing the actions button height from 32 pt to 16 pt pinned to the top edge of the row. Removed that style prop and extended the desktop test assertion to require more.size.height == title.size.height.
  • Imported thinking without tool calls: Fold non-empty thinking rows in imported turns into a process group consistently with native turns even when there are no tool calls, while keeping imported reply text visible outside folded work.
  • Quick Question reply details alignment: Scope marginLeft: -8 and the Show message source icon button in MessageRow to icon-led action rows so Quick Question replyDetails aligns flush with the reply body and does not add an unexpected source-toggle button on hover.

Refs #7126

Verification

  • Reproduced the vertical collapse on origin/rust-preview before the fix via desktop_side_pane_keeps_its_draft_separate_when_closed_and_reopened: title measured 200pt x 32pt while more measured 32pt x 16pt at the top edge (y: 310pt).
  • cargo nextest run --locked -p maka-cli --no-default-features --features desktop-tests --test native-desktop -E 'test(desktop_side_pane_keeps_its_draft_separate_when_closed_and_reopened) | test(desktop_message_actions_show_on_hover_or_focus_and_in_a_context_menu)' — 2/2 passed after the fix.
  • node --test products/maka/workbench/tests/*.test.mjs — 233/233 passed.
  • just typecheck — passed (5 runtime declaration files verified + tsc clean).
  • biome check on all 4 modified JS/TS/TSX files and rustfmt --edition 2024 --check on desktop_new_session.rs — clean.
  • Full cross-platform CI matrix was not run locally.

AI use

  • Generative tooling made a substantive contribution

Tool(s) and scope: Maka (Antigravity) reviewed #7126, reproduced the sidebar layout regression locally, implemented the follow-up fixes, and verified the affected tests.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above

…and align quick reply details

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)
@M4n5ter
M4n5ter merged commit 37562f7 into rust-preview Nov 21, 2026
6 of 8 checks passed
@M4n5ter
M4n5ter deleted the fix/workbench-7126-followup branch November 21, 2026 13:32
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