Repository navigation
feat(macos): clarify first launch and background operation - #20
Merged
Merged
Conversation
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.
Opening Sequins currently leaves users with only a small menu bar icon. Open the main window by default and explain that closing it keeps collection running, with a persistent Settings → General → Show main window when starting preference for background use. The menu bar remains permanent and Dock behavior is unchanged.
The first-use banner can be acknowledged once. An empty local environment now shows configured OTLP endpoints, copy actions, and an exporter configuration; loading, query failures, remote environments, and existing services get distinct guidance. These views share discovery state from the existing service stream. App reopening respects the startup preference, while Open Sequins always restores the main window, including when minimized. The QA auto-open override remains supported.
Add preference persistence tests, isolated first-use UI tests, and app build/unit-test coverage to the existing Swift CI job.
Closes #19.
Validation:
cargo build -p sequins-ffipassed; created the local arm64 XCFramework for validation.xcrun swift test -Xswiftc -DSPM_BUILDinapps/macospassed (3 tests, including the existing placeholder).FirstUseUITestspassed (7 tests), including a successful OTLP request after closing the window and reopening through the menu bar.git diff --checkpassed.The UI test run used
OTHER_LDFLAGS='$(inherited) -Xlinker -undefined -Xlinker dynamic_lookup'to work around a baseline Xcode 27 transitiveServiceContextModulelinker failure. This override is not committed; the Swift Package Manager build and tests passed without it.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.