Skip to content

feat(macos): clarify first launch and background operation - #20

Merged
Qard merged 2 commits into
mainfrom
t3/improve-first-time-experience
Oct 10, 2026
Merged

Qard merged 2 commits into
mainfrom
t3/improve-first-time-experience

Conversation

@Qard

@Qard Qard commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

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-ffi passed; created the local arm64 XCFramework for validation.
  • xcrun swift test -Xswiftc -DSPM_BUILD in apps/macos passed (3 tests, including the existing placeholder).
  • Xcode FirstUseUITests passed (7 tests), including a successful OTLP request after closing the window and reopening through the menu bar.
  • Inspected the rendered empty screen; git diff --check passed.

The UI test run used OTHER_LDFLAGS='$(inherited) -Xlinker -undefined -Xlinker dynamic_lookup' to work around a baseline Xcode 27 transitive ServiceContextModule linker failure. This override is not committed; the Swift Package Manager build and tests passed without it.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Qard
Qard merged commit 3db69a1 into main Oct 10, 2026
1 of 2 checks passed
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.

Confusing first use (silent menu bar app launch)

1 participant