Skip to content

feat: #19 Auto Toggle for spaces - #25

Merged
gitmichaelqiu merged 8 commits into
devfrom
feat/T19_Space
May 4, 2026
Merged

gitmichaelqiu merged 8 commits into
devfrom
feat/T19_Space

Conversation

@gitmichaelqiu

Copy link
Copy Markdown
Owner

See #19 for details.

@gitmichaelqiu gitmichaelqiu self-assigned this May 4, 2026
@gitmichaelqiu gitmichaelqiu added the enhancement New feature or request label May 4, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new auto-toggle feature based on macOS Spaces, integrating with the DesktopRenamer app via a new SpaceManager service and AutoToggleSpacesView. The auto-toggle logic has been refactored to support combining application and space-based rules with configurable 'And/Or' match conditions. Additionally, the PR replaces numerous NSLocalizedString calls with hardcoded string literals and updates AppleScript browser detection to use bundle identifiers. Feedback focuses on the regression in localization support caused by hardcoding strings in AppKit components, the need for consistent UserDefaults key management using static constants, and the requirement to localize new user-facing status messages.

Comment thread OptClicker/Services/InputManager.swift Resolved
Comment thread OptClicker/Services/InputManager.swift Resolved
Comment thread OptClicker/Services/InputManager.swift Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant