7 Commits
Author SHA1 Message Date
vgearen d8904f4acb fix(ui): match settings height to list mode + CI uses latest Xcode
UI fix (SDK-agnostic):
- SettingsView height 480 → 620 so the settings mode panel size matches
  list mode at maximum. Avoids MenuBarExtra's NSPanel not shrinking when
  switching between list and settings views.
- Drop the .id(showSettings) hack — it forced view rebuild but the panel
  is managed by AppKit and does not respond to SwiftUI view recreation.

CI hardening:
- Use maxim-lobanov/setup-xcode@v1 with latest-stable so the runner Xcode
  is as close to local (Xcode 26.5) as available, minimizing SwiftUI SDK
  behavior drift.
- Run xcodebuild test before building the DMG; release will fail-fast on
  test regressions instead of shipping broken binaries.

Root cause analysis of v1.3.4 regression:
Local Xcode 26.5 produced a 5.2MB binary linking to macOS 26 SwiftUI
symbols; GH macos-latest with default Xcode 16 produced a 5.0MB binary
linking to macOS 15 SwiftUI. The .id() hack happened to look correct in
the SDK 26 build but not in SDK 15 — same source, different runtime
behavior. The height:620 approach works in both.
2026-05-14 11:30:52 +08:00
vgearenandClaude Sonnet 4.6 a4c29bf5b6 Bump version to 1.1.0; auto-derive version from git tag in CI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 14:02:05 +08:00
vgearenandClaude Sonnet 4.6 28cf10480b Rename app from StockMonitor to Stockbar
- Bundle ID: com.vgearen.StockMonitor → com.vgearen.Stockbar
- Display name: Stock Monitor → Stockbar
- App entry struct: StockMonitorApp → StockbarApp
- App Support path: ~/Library/Application Support/Stockbar
- Log path: ~/Library/Logs/Stockbar
- OSLog subsystem: com.vgearen.Stockbar
- Test module import: @testable import Stockbar
- GitHub Actions: scheme, DMG name updated

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 09:34:19 +08:00
vgearenandClaude Sonnet 4.6 f072703d4e Add Applications symlink to DMG for drag-to-install
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 09:18:28 +08:00
vgearenandClaude Sonnet 4.6 6d68be8d82 Fix: add contents write permission for release creation
GITHUB_TOKEN needs explicit write permission to create releases.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 08:40:12 +08:00
vgearenandClaude Sonnet 4.6 9ac6e86753 Fix xcodeproj path in release workflow
Project is at repo root, not in a subdirectory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 17:51:54 +08:00
vgearenandClaude Sonnet 4.6 75a8da5436 Add GitHub Actions workflow for tag-triggered DMG release
Builds Universal Binary (arm64 + x86_64), packages DMG with hdiutil,
and uploads as GitHub Release artifact when a v* tag is pushed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 17:45:21 +08:00