Repository navigation
Bound composer action groups to preserve submit access - #4575
Merged
Merged
Conversation
With flex-auto, the left action group's line-break size was its full content width, so a long model name pushed the submit group onto a second row even with no plugin actions. Restore the zero flex basis and floor the group at the plus button's width so it truncates first, while oversized plugin actions still wrap. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
🚨 SLOP COP 🚨 ·
new-issue-autopilotHuman comments
What was wrong
The composer footer puts plugin actions and submit controls in an unbounded, non-wrapping, non-shrinking group. A single plugin contributing three usage indicators pushes Send entirely beyond a 360px viewport and overlaps the prompt-actions button. Both clean trusted-main checkouts reproduce this host-layout defect.
Reproduction and root-cause report. The public HTML and screenshots are committed to
get-bb/reports; its shared GitHub Pages deployment is currently blocked by an earlier deployment, so this link points to the published report source.What changed
min-w-9 flex-1), so wide footer controls such as a long model name truncate instead of wrapping Send onto a second row, while oversized plugin actions still wrap without overlapping the plus button.177additions,4deletions). No binaries, dependencies, lockfiles, generated files, stored-data changes, public contracts or protocols change.How you verified
control outside composer: 7d usage: 65% remainingand Send's center-point hit test is false. Repeated the failure in a second clean checkout myself.pnpm exec turbo run test --filter=@bb/app -- src/components/plugin/PluginComposerActions.test.tsx src/components/promptbox/PromptBoxInternal.test.tsx: 148 tests pass.--maxWorkers=2: 247 tests across five files. No unrelated files were changed.git diff --checkpasses;git diff --numstat origin/mainconfirms four text files and 181 changed lines.plugins--composer-actions--narrow-usage-actionsLadle story in preview mode, then use BB Browser Automation to runapps/app/.ladle/tests/composer-actions.mjs. The report includes the script, fixture, exact failure output, passing output and screenshots inline.08ce62bd6b: the originalflex-autochange wrapped Send onto a second row when no plugins were installed and the left controls were wider than the remaining space (e.g. "Claude Opus 5.5 (1M context)" at 360px; reproducible from 280px with mock model names). Withmin-w-9 flex-1, no-plugin composers matchmainfrom 240px to 1280px (row height and Send position), the 18-case regression script passes, and the composer suites pass (148 tests).Fixes #4448