Repository navigation
Fix compact settings action placement - #3076
Merged
Merged
Conversation
ymichael
added a commit
that referenced
this pull request
Sep 4, 2026
## Human comments ## What was wrong [PR #3076](#3076) added compact action placement for settings sections, but Usage limits still used the responsive action layout even when its only action was a small refresh icon. At compact widths with a single available machine, that moved the refresh control onto a detached row instead of keeping it beside the section heading. ## What changed `UsageLimitsSettingsSectionContent` now uses inline action placement when there is no machine picker, while retaining responsive placement for the multi-machine picker. Focus, accessibility, refresh behavior, desktop layout, and the multi-machine compact layout are unchanged. ## How you verified - Added assertions covering inline one-machine placement and responsive multi-machine placement; the new one-machine assertion fails before the fix and passes afterward. - `pnpm exec turbo run test --filter=@bb/app --force -- src/components/settings/UsageLimitsSettingsSection.test.tsx src/components/settings/VoiceInputSettingsSection.test.tsx src/components/settings/UpdatesSettingsSection.test.tsx` — 41 tests passed. - `pnpm exec turbo run typecheck --filter=@bb/app --force` — passed. - Targeted `oxfmt --check` and `git diff --check origin/main...HEAD` — passed. - Verified the 390px and 1280px layouts in the browser, including keyboard focus, the accessible refresh name, and refresh requests. Follow-up to #3076. > AGENT GENERATED
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 shared settings header stacked every action at compact widths, even tiny icon actions, so Voice Input placed refresh on an orphaned row. Updates also rendered its fleet-wide provider CLI action in the first machine header, and the changelog used the generic section shell even though its dismiss action belongs to the release card; the fallback release layout also repeated versions without editorial metadata.
What changed
actionPlacementvariant toSettingsSectionand kept Voice Input's compact refresh action inline with its heading.Update allis visibly scoped across all machines instead of the first machine card. Its existing behavior is unchanged: it runs every actionable provider CLI update across the inventory.Screenshots
Voice Input
Machine updates
Changelog preview
How you verified
pnpm exec turbo run test --filter=@bb/app -- src/components/settings/VoiceInputSettingsSection.test.tsxpnpm exec turbo run test --filter=@bb/app -- src/components/settings/UpdatesSettingsSection.test.tsx— 27 tests passedpnpm exec turbo run typecheck --filter=@bb/apppnpm exec turbo run lint --filter=@bb/app— 0 errorsFixes #3074