Conversation
smsunarto
added a commit
to smsunarto/bb
that referenced
this pull request
Sep 12, 2026
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.
Human comments
What was wrong
The follow-up composer's context-window indicator mounted in the external footer's right-anchored group, after the permission picker. Each time it appeared or disappeared it pushed the permission picker sideways — a visible layout shift in a row meant to be stable.
What changed
apps/app/src/components/promptbox/FollowUpPromptBox.tsx:ThreadContextWindowIndicatormoved from the external footer's right group intofooterStart, immediately afterExecutionControls(the model/reasoning picker).footerStartrenders in the prompt box action row's left-anchoredflex-1group, so the indicator now consumes flexible space to the right of the model selector: mounting or unmounting it moves nothing — the+menu and model chip sit to its left, and the voice/submit group is right-anchored separately. The external footer's right group now contains only the permission picker. Hidden-in-compact behavior is unchanged (the indicator lives in thedata-promptbox-expanded-onlygroup, matching the prior footer-hidden behavior).No wire, CLI, or doc changes.
Before / After
Before: tracker at the far right of the footer, after the permission picker.
After: tracker right of the model selector, inside the box.
How you verified
pnpm exec turbo run typecheck --filter=@bb/app— passpnpm exec turbo run lint --filter=@bb/app— 0 errorsFollowUpPromptBox.test.tsx(34),ExecutionControls.test.tsx(5),PromptBoxInternal.test.tsx(113)Provider, model and reasoning→Context window 13% usedadjacent inside the box, and the model selector's bounding-box x-position is identical (481px) on a thread with the indicator and one without it. Before/after composer screenshots were captured: before, the indicator sat at the footer's far right after "Accept Edits"; after, it sits inside the box right of the model chip.