mirror of
https://github.com/nickustinov/itsypad-macos.git
synced 2026-04-26 04:15:50 +03:00
[PR #53] [MERGED] Improve menu bar icon behavior to act as smart toggle #64
Labels
No labels
bug
documentation
enhancement
help wanted
localization
pending release
pull-request
question
wip
wishlist
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/itsypad-macos#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nickustinov/itsypad-macos/pull/53
Author: @nickustinov
Created: 2/24/2026
Status: ✅ Merged
Merged: 2/24/2026
Merged by: @nickustinov
Base:
main← Head:fix/menubar-smart-toggle📝 Commits (2)
d2874c9Improve menu bar icon behavior to act as smart togglefa4e917Show hide/show label in menu bar based on window state📊 Changes
4 files changed (+31 additions, -7 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
Sources/App/AppDelegate.swift(+13 -5)📝
Sources/Resources/Localizable.xcstrings(+11 -0)📝
project.yml(+2 -2)📄 Description
Summary
The menu bar icon now intelligently switches between showing the window and displaying the menu based on window state:
• When Itsypad is hidden or inactive: clicking shows the window directly
• When Itsypad is visible and active: clicking shows the menu
This provides a more intuitive interaction pattern where the most common action (showing the app) requires fewer clicks.
Changes
• Modified
statusItemClickedto check window visibility and key status before deciding whether to show the window or the menu• Bumped version to 1.9.5
• Updated CHANGELOG.md
Test plan
Fixes #47
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.