Skip to content

Keep compact Usage refresh with its heading - #3082

Merged
ymichael merged 1 commit into
mainfrom
bb/fixer-keep-compact-usage-refresh-with-its-headin-thr_zdu4evxc47
Sep 4, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fixer-keep-compact-usage-refresh-with-its-headin-thr_zdu4evxc47

Conversation

@ymichael

@ymichael ymichael commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

PR #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

@ymichael
ymichael merged commit 6acda8b into main Sep 4, 2026
16 checks passed
@ymichael
ymichael deleted the bb/fixer-keep-compact-usage-refresh-with-its-headin-thr_zdu4evxc47 branch September 4, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant