Skip to content

fix: tell Settings and in-place bar editing apart in the menus - #134

Merged
M4n0x merged 1 commit into
mainfrom
fix/131-menu-names
Oct 21, 2026
Merged

M4n0x merged 1 commit into
mainfrom
fix/131-menu-names

Conversation

@M4n0x

@M4n0x M4n0x commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The bar's right-click menu and its menu-bar icon menu offered Customize StableBar… and Edit Bar side by side. They read as the same command, but one opens a window and the other turns the bar itself into an editor. The edit mode also went by two more names, in Your bar and in setup. Fixes #131.

This replaces #132, which was merged into #128's branch before #128 was closed in favour of #133. It targets main directly, so it no longer waits on another pull request.

Changes

  • Menus. Both menus now start with Edit Bar in Place (Finish Editing Bar while editing), then Try Themes…. Settings… comes last, just above Quit StableBar. The menu-bar icon menu keeps Getting Started…, User Guide and Check for Updates… in a group of their own. Without a bar, Edit Bar in Place and Try Themes… are hidden, and so is the separator after them. The menu-bar icon menu, with a bar:

    Before                   After
    StableBar                StableBar
    ──────────               ──────────
    Customize StableBar…     Edit Bar in Place
    Try Themes…              Try Themes…
    Edit Bar                 ──────────
    Getting Started…         Getting Started…
    User Guide               User Guide
    Check for Updates…       Check for Updates…
    ──────────               ──────────
    Quit StableBar           Settings…
                             Quit StableBar
    

    The right-click menu has the same order without the Getting Started group.

  • The window. It is titled StableBar Settings. Its Settings section is General again, the name it had before feat: simplify configuration and onboarding #119, so paths no longer read Settings → Settings. The General group inside it, which holds only Open at login, is now Startup.

  • One name for the mode. The button in Your bar (was Arrange on desktop / Finish arranging) reuses the menu's title, and setup's last step (was Arrange my bar) says Edit Bar in Place. Setup's Customize widgets, which opens Your bar, is Open Settings. The Undo and Done panel's window title follows.

  • Text that named the window. The error tooltip, setup's instructions, the Configuration footer and two Undo history notices now say Settings or General. Wording about a package's settings is unchanged.

  • Docs. The README's Customize section is now Settings, with every "Customize → …" path updated. AGENTS.md and the pull request template use the new names, and AGENTS.md notes once that the code still calls the window Customize (CustomizationWindow, --customize). No Swift types or flags were renamed, and StableBar --customize still opens the window.

Testing

  • swift build passes.
  • swift test --filter "BarEditingTests|ConfigurationHistoryTests|ThemeTrial|CustomizationBinding|WidgetSetupTests|RuntimeControlTests|SetupWindow|SettingsSearch": 126 XCTest and 26 Swift Testing tests pass. The new testMenuBarMenuOrdersEditingFirstAndSettingsLastWithoutEmptyGroups checks the menu-bar icon menu's exact order with and without a bar and an error.
  • Full swift test: all 246 XCTest tests pass, and 351 of 352 Swift Testing tests. The animated cases of popupResizesWithItsContentAndKeepsItsWidthAndTopEdge failed, and they fail the same way on unchanged main on this machine: its display was asleep and locked, so the popup's 0.05 s animation never ran. With this change on feat: give each screen setup its own bar #133's branch, the full suite passed earlier.
  • commitlint passes.
  • Not checked in the running app, and no screenshots: the menus, the Settings window and setup were not opened. The right-click menu is SwiftUI and can't be inspected like the AppKit menu, so I checked it by reading the code.

Merging

One commit, so any merge method keeps its changelog entry.

#133 changes the same text, so whichever merges second needs updating. If this merges first, bringing main into #133 conflicts in README.md, GeneralSettingsView.swift and SetupWindow.swift, and #133's new text still says Customize, Arrange on desktop and Customize → Settings → Screen setups. That resolution is already done and tested: this pull request's previous head, 6bf9639, is #133 with this fix applied, and the full suite passed on it. Taking those three files from it resolves the merge. If #133 merges first, this pull request needs the same rebase.

GPT-6.1-Sol via Codex, with triage, review, fixes and the rebase onto main by Claude Opus 5.5 via Claude Code.

@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner October 20, 2026 19:23
Customize StableBar… and Edit Bar sat side by side in both menus and read
as the same command. The window is now Settings…, titled StableBar
Settings, and sits just above Quit. The mode is Edit Bar in Place and comes
first, and Your bar and setup use that name too.

The window's Settings section is General again, and its General group is
Startup, so paths no longer repeat Settings. The README, AGENTS.md and the
pull request template use the new names.

Fixes #131
@M4n0x
M4n0x changed the base branch from feat/screen-setups to main October 20, 2026 19:35
@M4n0x
M4n0x force-pushed the fix/131-menu-names branch from 6bf9639 to 0232e21 Compare October 20, 2026 19:35
@M4n0x
M4n0x merged commit 12a0f93 into main Oct 21, 2026
7 of 8 checks passed
@M4n0x
M4n0x deleted the fix/131-menu-names branch October 21, 2026 05:13
Seb-GRAF pushed a commit that referenced this pull request Oct 21, 2026
fix: tell Settings and in-place bar editing apart in the menus
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.

Customize StableBar… and Edit Bar read as the same command in the bar's menus

1 participant