Repository navigation
fix(workbench): restore sidebar menu height, fold imported thinking, and align quick reply details - #7130
Merged
Conversation
…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)
4 tasks done
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.
Summary
Follow-up cleanup for #7126:
flexGrow: 1from the trigger<Button>so NSHlay_out_throughlays it out directly in the horizontal row. Addingstyle={{ width: 32, flexShrink: 0 }}on<Menu>in fix(workbench): preserve reply details and align sidebar actions #7126 marked the component host as styled, disablinglay_out_throughand collapsing the actions button height from 32 pt to 16 pt pinned to the top edge of the row. Removed thatstyleprop and extended the desktop test assertion to requiremore.size.height == title.size.height.thinkingrows 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.marginLeft: -8and theShow message sourceicon button inMessageRowto icon-led action rows so Quick QuestionreplyDetailsaligns flush with the reply body and does not add an unexpected source-toggle button on hover.Refs #7126
Verification
origin/rust-previewbefore the fix viadesktop_side_pane_keeps_its_draft_separate_when_closed_and_reopened:titlemeasured200pt x 32ptwhilemoremeasured32pt x 16ptat 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 checkon all 4 modified JS/TS/TSX files andrustfmt --edition 2024 --checkondesktop_new_session.rs— clean.AI use
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
Does this PR entail a change in behavior?