d3ro-voice/docs
Yun Chan 4ad1ae6ed4 feat(keybinding): several shortcuts per action, mouse buttons, searchable picker
Shortcuts were defined in four places that drifted apart: per-action IPC channel
pairs, a hand-written VK table in the service, a second one in the renderer, and
three copies of the keycap styling. Adding an action meant editing all of them,
so two shortcuts stayed hardcoded in bootstrap and one had no settings entry at
all.

packages/core/src/keybinding.ts is now the single source for the binding type,
the selectable key catalog, the action catalog, normalization, validation,
conflict detection, display labels, search and deserialization. Main, preload
and renderer all read from it; nothing redefines keys or rules locally.

- Each action holds a list of bindings instead of one. AppConfig's four
  *Shortcut fields collapse into a single keyBindings map, migrated on launch.
- Mouse buttons can be bound. Left click is refused, right/middle need a
  modifier, side buttons are free. uiohook cannot swallow events, so the
  original click still fires and the UI says so.
- Keys can be picked from a grouped dropdown with a search box, not only by
  recording a keypress.
- HOTKEY's 14 channels become KEYBINDING's 9, taking the action as a parameter,
  so actions no longer multiply channels. The history and command popups moved
  out of bootstrap into ordinary actions.
- displayLabel is gone; labels derive from the binding and follow the app
  language and platform.

Fixes found on the way:
- Double-press hands-free was unreachable: lookup returned only the first
  matching action, and dictation shares its default binding.
- Reserved-combination checks compared joined key names, so a different modifier
  order let Ctrl+C through.
- Disabling shortcuts released every global registration in the process,
  including the popup ones, and never restored them.
- Enabling shortcuts after starting disabled left nothing registered.
- The dashboard stored the caption event payload instead of the state in it.
2026-09-21 13:41:47 +09:00
..
deployment fix(release): stop shipping native modules built for the wrong runtime 2026-09-18 15:45:03 +09:00
design feat(bootstrap): Whisper large-v3-turbo 기본 전환 + 온보딩 2단계 다운로드 진행률 2026-07-21 11:59:49 +09:00
design-refs 초기 프로젝트 설정: 하네스 시스템 + 설계서 + RE 노하우 2026-04-05 01:03:03 +09:00
map feat(keybinding): several shortcuts per action, mouse buttons, searchable picker 2026-09-21 13:41:47 +09:00
phases feat(desktop): LLM 기본 모델 qwen3:4b → gemma4:e4b 전면 전환 + think:false 안전장치 2026-04-12 09:47:08 +09:00
re-findings Phase 8: SSOT 리팩토링 + HotkeyRecordModal + Dashboard 재작성 2026-04-05 09:54:55 +09:00
tdd-red docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
v2 docs: record the 1.1.0 release and add the infrastructure map 2026-09-16 23:27:52 +09:00
v3 docs: record 1.2.0 and the state of the published 1.1.0 2026-09-16 23:50:01 +09:00
monetization-plan.md feat(release): prepare 1.1.0 candidate 2026-08-29 18:33:45 +09:00
REFACTOR_POLICY.md docs: refactor-wave Wave 1 정책·보고서·현황 (메타) 2026-07-22 02:01:26 +09:00
REFACTOR_WAVE1_REPORT.md docs: refactor-wave Wave 1 정책·보고서·현황 (메타) 2026-07-22 02:01:26 +09:00
REFACTOR_WAVE2_REPORT.md docs: refactor-wave Wave 2 보고서·현황 (메타) 2026-07-22 02:40:08 +09:00