Repository navigation
feat: #19 Auto Toggle for spaces - #25
Conversation
There was a problem hiding this comment.
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.
See #19 for details.