Skip to content

feat: redesigned Settings window (1.12) - #481

Merged
tieubao merged 4 commits into
developfrom
feat/settings-redesign
Nov 15, 2026
Merged

tieubao merged 4 commits into
developfrom
feat/settings-redesign

Conversation

@tieubao

@tieubao tieubao commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The Settings window for 1.12, built from the approved redesign. Screenshots of every pane and status state, light and dark, both builds, with before/after and the design side by side: https://claude.ai/code/artifact/bc66e7cc-98c1-40e1-80c5-fcbaf3378544

What changes

  • Tabs: a centered, text-only segmented control (General, Appearance, Advanced, About) at the top, level with the traffic lights, like the old "General | About" pill. No NSToolbar: on macOS 27 every toolbar item gets a glass platter. The window title is hidden; Cmd+1 to Cmd+5 switch tabs. The window is built in code; the three storyboard scenes are gone (the main menu scene stays).
  • Menu Bar Apps slot: a fifth tab appears on the direct build on macOS 27 once something sets MenuBarAppsPane.makeViewController. Nothing sets it yet; feat: pinned sections beta (macOS 27) and legacy recovery fixes (#366) #473 fills it with the pinned sections list.
  • Grouped rows with plain labels, few and full groups: General is one main group of five rows plus Privacy and permissions (586 pt); Advanced is one group. Same UserDefaults keys, same defaults, same side effects. "Automatically hide icon after" + its delay popup become one "Hide icons again" popup; Never turns isAutoHide off and keeps numberOfSecondForAutoHide. "Show this window on launch" moves to Advanced,
  • Status card at the top of General, from the existing checks:
  • Preview strip per engine: the arrow is the edge on the macOS 27 direct build, the "|" separator otherwise, with labelled brackets. The overlapping guide arrow is gone.
  • About: version, build and build kind ("Direct download" / "Mac App Store"), changelog link, X instead of Twitter, and on the direct build the Sparkle auto-check switch and a Check for Updates… button.
  • New English keys in every Localizable.strings (English text for now); plutil -lint clean.
  • Debug only: -settingsSnapshotDir DIR draws every pane and status state into PNGs and quits, before launch touches login items, hotkeys or the engine. It writes no preference.

Proof

Check Result
scripts/test.sh (both schemes, parallel) Hidden Bar 259 passed, App Store 186 passed, 0 failed
Pref-key mapping (SettingsWindowTests.test_everyOldSwitch_stillWritesItsKey) every old on/off key flips and flips back through its new control; the delay popup, arrow tiles and shortcut have their own tests
Negative control dropping the hover row fails it: "no control writes hoverToExpand any more"
Status card choice, tabs per build (SettingsModelTests, runs in both schemes) pass
Release builds, both schemes, warnings vs develop no new warnings
GUI safety /Applications/Hidden Bar.app CDHash and the "Hidden Bar" login item unchanged; prefs restored to the backup

Not in this PR

…review

Rebuilds the Settings window in code, replacing the storyboard scenes:

- Toolbar panes General, Appearance, Advanced, About; the window title names
  the pane. A Menu Bar Apps slot (MenuBarAppsPane) adds a fifth tab on the
  direct build on macOS 27 once the pinned sections feature registers it.
- Grouped, System Settings style rows with plain labels. Every old preference
  keeps its UserDefaults key and default; "Hide icons again" folds the
  auto-hide checkbox and delay popup into one popup (Never keeps the delay).
  "Show this window on launch" moves to Advanced.
- Status card on General: working, needs Accessibility, running outside
  Applications, App Store build on macOS 27, from the existing checks. The
  App Store card offers the existing notice, never a direct-version button.
- The preview strip draws the arrow as the edge on the native engine and the
  "|" separator on the legacy engine, with labelled brackets instead of the
  overlapping guide arrow.
- About: version with build kind, Check for Updates and auto-check (direct
  build, existing Sparkle updater), changelog link, X instead of Twitter.
- Debug only: -settingsSnapshotDir DIR draws every pane and status state,
  light and dark, into PNGs and quits.

Tests: SettingsModelTests (both schemes: tabs per build, status choice,
auto-hide mapping) and SettingsWindowTests (every old key still written by
the new window, status card states, tab slot, General height).
@tieubao

tieubao commented Nov 15, 2026

Copy link
Copy Markdown
Contributor Author

Round 2: General is one main group (login, hide again, always-hidden, shortcut, pointer rest) plus Privacy and permissions, 634 pt. Advanced and the top of About are one group each. Toolbar: still a plain NSToolbar, .preference style, selectable unbordered items. The boxes come from macOS 27's per-item glass platters (NSToolbarPlatterView + NSGlassEffectView). NSTabViewController with the toolbar tab style gets the same platters. AppKit has no public switch to turn them off. Screenshots updated: https://claude.ai/code/artifact/bc66e7cc-98c1-40e1-80c5-fcbaf3378544

@tieubao
tieubao merged commit 1198612 into develop Nov 15, 2026
1 check passed
@tieubao
tieubao deleted the feat/settings-redesign branch November 15, 2026 18:17
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.

1 participant