Repository navigation
feat: turn setup into a live tour and put new bars on the top edge - #162
Merged
Merged
Conversation
This was referenced Oct 22, 2026
|
🎉 This PR is included in version 0.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
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
--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, andapplyinguses it, so previewing and saving share one path. The workspace source is now a.workspaceSourceedit 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.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… openscom.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.No configuration property changed, so the schema and decoders are untouched.
Testing
swift build, andswift test --filter "setup|Setup|ConfigurationWrite|Starter|starter": 20 tests pass. They include the existingSetupPreferencestests, which now go throughedits(in:).swift test:popupResizesWithItsContentAndKeepsItsWidthAndTopEdgefails on my Mac, and it fails the same way on a cleanorigin/main.scriptOutputOnlyModeDemandSurvivesPresentationEditsAndSourceSwitchClearsItfailed once under load and passed when run alone.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