Skip to content

feat: choose presets and themes in one setup step, with fuller presets - #354

Merged
Seb-GRAF merged 8 commits into
mainfrom
feat/350-setup-look-step
Oct 28, 2026
Merged

Seb-GRAF merged 8 commits into
mainfrom
feat/350-setup-look-step

Conversation

@Seb-GRAF

@Seb-GRAF Seb-GRAF commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Fixes #350, fixes #351, fixes #352.

Setup spent two of its five steps on the bar's look, and its theme step showed only a name between two arrows. Presets added a widget or two at most, so most bars ended up with the app menus and the clock. And the starter's App menus showed a warning icon through the whole tour, even after Accessibility was allowed in it.

Changes

  • One step for presets and themes (Choose the preset and theme in one setup step, with a preview of each theme #350). The first step has a Widgets section with the preset tiles and a Theme section with a row of theme cards and the Appearance control. Each preset tile names its theme and shows its widgets as icons in bar order, with the ones it adds brighter; hovering lists them. Each theme card draws a small bar in its theme with ThemeSampleBar, as Settings → Theme does. ← and → or the round buttons move through the cards, a click picks one, and the row scrolls to the selection. The current theme's card is marked Current and keeps the theme. Setup has four steps instead of five. SetupSession.preset remembers the chosen preset, so picking a theme no longer deselects its tile. The session lists themes with ThemeCatalog, which includes Built-in.
  • Fuller presets (Setup's presets leave the bar nearly empty #351). SetupPreferences gains Battery, Sound and Menu bar items widget sets. Every preset ends with Sound, Menu bar items and the clock; Developer, Workday, Notch and Everything add Battery; Developer and Everything add Workspaces, Workday and Everything add Meetings. New right-side widgets go in front of the first Sound, Menu bar items or clock, so those stay at the right end. Workspaces uses macOS Spaces when AeroSpace, yabai and OmniWM aren't installed, and the access step then explains the Switch to Desktop shortcuts. The starter configuration gains Sound and Menu bar items.
  • Workspace manager in Settings (Setup's presets leave the bar nearly empty #351). Settings → General → Workspaces disables AeroSpace, yabai and OmniWM when they aren't installed (SettingsSegments gains disabled), names them in the row's hint, and warns when the configured one is missing.
  • App menus warning (App menus show a warning icon throughout setup, even after Accessibility is allowed #352). AppMenu.hidesAccessWarning hides the warning while setup is open. When StableBar comes to the front while access is missing, AppMenu.read checks access again and reads the previous app's menus, so allowing Accessibility from setup or Settings shows the menus at once instead of on the next hover or app switch.
  • A new opening (Choose the preset and theme in one setup step, with a preview of each theme #350). Setup opens with a line of light that swells into a glass bar under the StableBar wordmark, which rises letter by letter as its tracking tightens; a sheen crosses the glass, a warm shine crosses the name and embers drift up. Get Started fades the wordmark and widens the glass to the demo's stage, and the demo builds its widgets inside it; the glass gives way when the theme sweeps begin.
  • Right end of every preset. From the far right: Menu bar items, the clock, Battery, Sound, then everything else. The starter bar ends with Sound, the clock and Menu bar items, and setup inserts new widgets by that order.
  • The intro lands as your own bar. SetupDemo still builds its sample bar, clicks it and sweeps through themes, but the last sweep, back to your current theme, reveals your bar: an inert BarView(preview: true) of the real store. That bar waits on stage for Make it your menu bar., then flies up and widens until it sits exactly over the real bar, so the landing shows no change of widgets.
  • Docs: getting-started.md (steps, presets, themes, Spaces, the warning) and widgets.md (App menus, Workspace manager).

Testing

  • swift test: everything passes except the five ReleaseTests.unchangedAppRejects… cases, which fail the same way on main on this Mac.
  • New: setupKeepsSoundMenuBarItemsAndTheClockAtTheRightEnd applies Everything to the new starter and to an older bar and checks the widget order and the Spaces fallback; comingBackToStableBarAfterAllowingAccessReadsThePreviousAppsMenus covers the access re-check. setupPresetsLoadWithTheBundledThemes now applies each preset with Spaces.
  • Screenshots come from the real views, rendered offscreen: the tour with the bar above it, and Settings → General with workspaceSource: "yabai" on a Mac without yabai.
  • Intro frames rendered offscreen at 10.85 s (sweep half done), 11.2 s (your bar on stage), 11.6 s (mid-flight) and 11.99 s: the last matches the real bar rendered on its own.
  • Not checked: the tour on screen, ← and → on the live tour, and a first launch without Accessibility. The render process inherits Accessibility from the terminal, so it shows Finder's menus instead of the warning.
  • Known limits: on a Mac without a battery, Battery shows a plug. Presets match existing widgets by ID, so rerunning setup on a bar that already has Sound or Battery from Add widget adds a second one, as Meetings and System already do.

Screenshots

The opening and Get Started, rendered offscreen at 30 fps (the demo's own widget drop-in is cut: offscreen capture can't draw its 3D flip):

setup-opening.mp4

Rendered offscreen from the real views, with the bar drawn above the tour.

Before: the preset step, then the theme step (Workday chosen).

before-setup-presets-step before-setup-theme-step

After: one step with Workday chosen. The bar adds Battery, Sound and Menu bar items before the clock.

after-setup-workday-preset

After: no preset chosen. The new starter bar has Sound and Menu bar items, and Built-in is marked Current.

after-setup-starter-bar

Settings → General → Workspaces, configured for yabai on a Mac without it. Before, then after:

before-settings-workspaces after-settings-workspaces

Merging

Merge commit or rebase merge, so each fix and feature commit shows in the changelog.

Claude Opus 5.5 via Claude Code in T3 Code.

@Seb-GRAF
Seb-GRAF merged commit 9a98370 into main Oct 28, 2026
8 checks passed
@Seb-GRAF
Seb-GRAF deleted the feat/350-setup-look-step branch October 28, 2026 09:50
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant