feat: add notification system with hotkey events and permission handling (#3867)

* feat: add notification system with hotkey events and permission handling

* Add macOS-specific handling for AppHidden notification

Introduces conditional support for the AppHidden notification event,
enabling macOS-specific behavior. Updates the enum and notification
logic to include this platform-specific feature.

Improves macOS user experience by accommodating system-level
application hiding events.

* Implement feature X to enhance user experience and fix bug Y in module Z

* refactor(notification): update notification keys for consistency and clarity

* chore(deps): update dependencies to latest versions
This commit is contained in:
Tunglies
2025-06-26 23:09:07 +08:00
committed by GitHub
parent ae187cc21a
commit f1192c95a8
13 changed files with 1167 additions and 783 deletions

View File

@@ -624,5 +624,19 @@
"No (IP Banned By Disney+)": "No (IP Banned By Disney+)",
"Unsupported Country/Region": "Unsupported Country/Region",
"Failed (Network Connection)": "Failed (Network Connection)",
"DashboardToggledTitle": "Dashboard Toggled",
"DashboardToggledBody": "Dashboard visibility toggled by hotkey",
"ClashModeChangedTitle": "Clash Mode Changed",
"ClashModeChangedBody": "Switched to {mode} mode",
"SystemProxyToggledTitle": "System Proxy Toggled",
"SystemProxyToggledBody": "System proxy state toggled by hotkey",
"TunModeToggledTitle": "TUN Mode Toggled",
"TunModeToggledBody": "TUN mode toggled by hotkey",
"LightweightModeEnteredTitle": "Lightweight Mode",
"LightweightModeEnteredBody": "Entered lightweight mode by hotkey",
"AppQuitTitle": "APP Quit",
"AppQuitBody": "APP quit by hotkey",
"AppHiddenTitle": "APP Hidden",
"AppHiddenBody": "APP window hidden by hotkey",
"Invalid Profile URL": "Invalid profile URL. Please enter a URL starting with http:// or https://"
}