Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: capitalize 'Staged' in macOS application menu#64

Merged
matt2e merged 3 commits intomainfrom
matt2e/staged-app-name
Feb 12, 2026
Merged

fix: capitalize 'Staged' in macOS application menu#64
matt2e merged 3 commits intomainfrom
matt2e/staged-app-name

Conversation

@matt2e
Copy link
Contributor

@matt2e matt2e commented Feb 12, 2026

The Tauri productName in tauri.conf.json was lowercase staged, which caused the macOS application menu (to the right of the Apple menu) to display as "staged" instead of "Staged".

Additionally, Tauri 2's default menu derives "About" and "Quit" item text from the Cargo package name (lowercase staged), causing the menu to show "About staged" and "Quit staged". This replaces the default menu with a custom one in the setup hook that explicitly sets "About Staged" and "Quit Staged", matching the productName.

The Tauri productName in tauri.conf.json was lowercase 'staged', which
caused the macOS application menu (to the right of the Apple menu) to
display as 'staged' instead of 'Staged'.
Tauri 2's default menu derives 'About' and 'Quit' item text from the
Cargo package name (lowercase 'staged'), causing the menu to show
'About staged' and 'Quit staged'. Replace the default menu with a
custom one in the setup hook that explicitly sets 'About Staged' and
'Quit Staged', matching the productName in tauri.conf.json.
The tauri::menu imports (AboutMetadata, Menu, PredefinedMenuItem, Submenu)
were at the top-level scope but only used inside a #[cfg(target_os = "macos")]
block. On Linux CI, this caused an unused-imports error (promoted to error
by -D warnings). Move the imports inside the cfg block where they are used.
@matt2e matt2e merged commit 435ee95 into main Feb 12, 2026
2 checks passed
@matt2e matt2e deleted the matt2e/staged-app-name branch February 12, 2026 18:47
taylorkmho added a commit that referenced this pull request Feb 12, 2026
* origin/main:
  feat: async worktree creation (#71)
  fix: Skip main worktree on project import and remove main badge UI (#70)
  feat(ui): replace long-press picker with explicit New note / New commit buttons (#67)
  fix: remember ordered list of recent agents instead of single last-used (#65)
  fix: capitalize 'Staged' in macOS application menu (#64)
  fix: dismiss new branch dialog immediately for remote branches (#57)
  feat: add Amp (Sourcegraph) as a supported ACP agent (#55)
  feat: restore subfolder autocomplete in new project dialog (#56)
  Consolidate ACP implementations into acp-client crate (#52)

# Conflicts:
#	staged/src/lib/BranchCard.svelte
#	staged/src/lib/NewSessionModal.svelte
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.

2 participants