fix(desktop): stabilize composer during session switches and resizing - #5513
Draft
colaforniaw wants to merge 2 commits into
Draft
colaforniaw wants to merge 2 commits into
colaforniaw wants to merge 2 commits into
Conversation
colaforniaw
force-pushed
the
fix/composer-session-switch-stability
branch
7 times, most recently
from
September 22, 2026 02:27
0b97612 to
fd18a8a
Compare
colaforniaw
force-pushed
the
fix/composer-session-switch-stability
branch
7 times, most recently
from
September 23, 2026 05:01
f5b8b50 to
95443a7
Compare
colaforniaw
force-pushed
the
fix/composer-session-switch-stability
branch
3 times, most recently
from
September 23, 2026 09:20
5ec2f47 to
45e6d3a
Compare
colaforniaw
force-pushed
the
fix/composer-session-switch-stability
branch
from
September 23, 2026 10:37
45e6d3a to
616208e
Compare
This branch has not been deployed
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
Switching Sessions could briefly show controls from the previous Session, while narrow Composer widths could compress the footer into the send button. An empty Composer could also show the branch icon through the translucent disabled Send button.
This change keeps the Composer footer on one row with a 520px minimum conversation width, preserves fixed space for Send, prevents stale session branch state from painting during a switch, and gives the Send/Stop slot an opaque backing while keeping the existing disabled appearance.
The Workbar remains under user control; narrow widths do not automatically move or collapse it.
Before / After
after-responsive.mp4
workhub-responsive-after.mp4
switch-after.mp4
Verification
git diff --checkpassed.npm --workspace @maka/desktop run check:architecture -- --base d0dd3edf202f120c5ea950825160dfd02b426145 --strict-basepassed, including 112 architecture checker tests.AI use
Tool(s) and scope: Codex assisted with the Composer behavior, layout, usage state, and regression coverage. The commit carries
Generated-by: Codex.Checklist
Does this PR entail a change in behavior?