Skip to content

Fix compact settings action placement - #3076

Merged
ymichael merged 6 commits into
mainfrom
bb/thr_fdpnhnvx36
Sep 4, 2026
Merged

ymichael merged 6 commits into
mainfrom
bb/thr_fdpnhnvx36

Conversation

@ymichael

@ymichael ymichael commented Sep 4, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Added an actionPlacement variant to SettingsSection and kept Voice Input's compact refresh action inline with its heading.
  • Added a fleet-level Machine updates section so Update all is 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.
  • Made the changelog a dedicated dismissible card with its label and dismiss action inside the release content, without a separate toolbar. Releases without editorial metadata now render the version once; metadata-backed releases retain their version/date and distinct headline.
  • Updated Ladle fixtures, in-context stories, and regression tests for the new ownership and compact-width layouts.
  • No API, SDK, database, host-daemon protocol, persisted-data, or lifecycle changes.

Screenshots

Voice Input

Before After
Voice Input before: refresh wraps below the heading Voice Input after: refresh remains beside the heading

Machine updates

Before After
Machine updates before: Update all appears attached to the first machine Machine updates after: Update all appears in a fleet-level section with added header spacing

Changelog preview

Before After
Changelog before: dismiss action wraps away from the card and version appears twice Changelog after: dismiss action lives in the card and version appears once

How you verified

  • pnpm exec turbo run test --filter=@bb/app -- src/components/settings/VoiceInputSettingsSection.test.tsx
  • pnpm exec turbo run test --filter=@bb/app -- src/components/settings/UpdatesSettingsSection.test.tsx — 27 tests passed
  • pnpm exec turbo run typecheck --filter=@bb/app
  • pnpm exec turbo run lint --filter=@bb/app — 0 errors
  • Doobie visual QA at 390 px and 1280 px, including the changelog in the full Updates page context

Fixes #3074

AGENT GENERATED

@ymichael
ymichael merged commit 53b3cbc into main Sep 4, 2026
25 of 26 checks passed
@ymichael
ymichael deleted the bb/thr_fdpnhnvx36 branch September 4, 2026 19:07
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
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.

Clarify settings action placement at compact widths

1 participant