super-productivity/electron/shared-with-frontend
Maikel Hajiabadi ec16757c82
fix(keyboard): resolve macOS global shortcut layout mismatch (#8378) (#8381)
* fix(keyboard): resolve macOS global shortcut layout mismatch (#8378)

* fix(keyboard-layout): log layout-detection failure and resolve layoutReady with map copy

* fix(keyboard-shortcut): remove debug console logs and add macOS scope comment

* fix(keyboard-shortcut): preserve modifier separator when mapping plus key shortcut

* refactor(keyboard-shortcut): export mapping helpers and avoid as any cast in configuration mapping

* test(keyboard-shortcut): add unit tests for layout shortcut translation logic

* test(keyboard-shortcut): use correct KeyboardConfig type instead of as any in test fixture

* docs(keyboard-shortcut): hoist macOS physical shortcut layout comments to helper JSDoc

* refactor(config): extract global shortcut keys and mapping helpers

* test: add test helper capability for IS_ELECTRON and IS_MAC

* test: add comprehensive integration unit tests for global shortcut effects

* feat(electron): eagerly trigger layout detection on Electron startup for macOS timing fix

* refactor(config): InjectionToken migration, layout detection hardening, and startup optimization

* refactor: address non-blocking suggestions for layout detection and DI tokens

* build(electron): move keyboard-config.model to shared-with-frontend to fix ASAR require

* fix(client-id): increase entropy to 6 chars and fix related test regressions
2026-06-17 12:57:47 +02:00
..
backup-file-cleanup.util.ts feat(backup): configure automatic backup file limit #6690 (#8094) 2026-06-08 12:09:49 +02:00
get-backup-timestamp.ts fix(backup): move shared timestamp util into electron/ for snap packaging 2026-04-22 16:14:56 +02:00
get-dist-channel.ts feat(electron): suffix version string per distribution target 2026-05-19 16:42:45 +02:00
ipc-events.const.ts refactor(electron): close IMAGE_CACHE_IMPORT trigger gap + review nits 2026-06-09 23:57:45 +02:00
is-external-url-allowed.ts fix(electron): allow obsidian:// and other app deep-link schemes (#8429) 2026-06-16 11:52:44 +02:00
keyboard-config.model.ts fix(keyboard): resolve macOS global shortcut layout mismatch (#8378) (#8381) 2026-06-17 12:57:47 +02:00
lazy-set-interval.ts refactor: improve typing 2 2025-08-12 15:27:48 +02:00
local-rest-api.model.ts fix(security): harden Local REST API against DNS rebinding and field injection (#6996) 2026-03-29 11:59:27 +02:00
mime-type-mapping.const.ts fix(security): restrict renderer-supplied filesystem IPC paths (#8223) 2026-06-09 18:16:22 +02:00
simple-store.const.ts refactor(electron): pick-time userData rejection + shared store key 2026-06-10 17:04:07 +02:00