Skip to content

feat: turn setup into a live tour and put new bars on the top edge - #162

Merged
Seb-GRAF merged 3 commits into
mainfrom
feat/onboarding-tour
Oct 21, 2026
Merged

Seb-GRAF merged 3 commits into
mainfrom
feat/onboarding-tour

Conversation

@Seb-GRAF

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

Copy link
Copy Markdown
Collaborator

Problem

Setup was a plain three-step window with a scaled-down copy of the bar, so you saw your choices only in a preview. New bars also started below the macOS menu bar.

Changes

  • Tour. Getting Started now opens a full-screen tour on the main display, paced like Vibe Island's onboarding but with its own motion. The screen dims, a beam of light condenses into a StableBar badge whose letters drop into place while an orange indicator glides under them, and Get Started (Return) stretches the badge into the bar, which glows before the blurred wallpaper fades in. Four steps follow: preset; theme and appearance; placement and clock; try your bar. Each step has a counter, a title, Back, Continue (Return), Skip setup (Esc) and page dots; a step's text and choices leave before the next ones arrive. Reduce Motion skips the intro. The wallpaper is blurred once with Core Image on a downscaled copy, and the intro is drawn from one timeline, so no full-screen blur runs during the animations.
  • Live bar. Every choice applies to the real bar as session edits, like a command-line change without --persist; the file changes only at Finish setup. The tour window sits one level below the bar panels, so the bar and its popups stay above it and can be clicked in the last step. SetupPreferences.edits(in:menuBarHeight:) now builds those edits, and applying uses it, so previewing and saving share one path. The workspace source is now a .workspaceSource edit instead of a direct write. A newly chosen Meetings widget stays off while Calendar access is missing, because the calendar provider asks for access on its first update; otherwise macOS would prompt mid-tour.
  • Final card. A compact dark window replaces the old access step. It covers access, the menu bar, window clearance, Open at login, the change summary and profile notices, then Finish setup and a completion page with Edit Bar in Place, Open Settings and Done. Skipping the tour or closing the card before finishing restores the bar; Back to the tour keeps the choices.
  • Top edge by default. New configurations keep the template's offset: 0; existing configurations keep their placement. When the bar is on the top edge, the card shows whether the macOS menu bar hides automatically (_HIHideMenuBar). If it doesn't, Open Menu Bar Settings… opens com.apple.ControlCenter-Settings.extension, which is the Menu Bar pane on macOS 26 and Control Center before it. The placement step says so too. The tour can't open System Settings itself, because the overlay would cover its window.
  • Docs. The README's setup section describes the tour, the live preview, the card and the new default.

No configuration property changed, so the schema and decoders are untouched.

Testing

  • swift build, and swift test --filter "setup|Setup|ConfigurationWrite|Starter|starter": 20 tests pass. They include the existing SetupPreferences tests, which now go through edits(in:).
  • Full swift test: popupResizesWithItsContentAndKeepsItsWidthAndTopEdge fails on my Mac, and it fails the same way on a clean origin/main. scriptOutputOnlyModeDemandSurvivesPresentationEditsAndSourceSwitchClearsIt failed once under load and passed when run alone.
  • I rendered the tour steps and the card offscreen from the app bundle, with the bar drawn where its panel sits, and checked layout, the blurred background, preset and placement selection and the live theme on the bar.
  • Not checked in the running app: animation timing, keyboard shortcuts, the window levels against the real bar and its popups, Dock hiding, the System Settings link, and whether the auto-hide status updates after changing the setting. A screen recording failed in my session.

Screenshots and a recording to follow.

Merging

Use a merge commit or rebase merge: the commits are separate changes (the tour, its intro, and the top-edge default with the menu-bar prompt), and each should appear in the changelog.

Claude Opus 5.5 via Claude Code

@Seb-GRAF
Seb-GRAF merged commit 8a1d1d0 into main Oct 21, 2026
6 checks passed
@Seb-GRAF
Seb-GRAF deleted the feat/onboarding-tour branch October 21, 2026 17:32
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.6.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

Development

Successfully merging this pull request may close these issues.

1 participant