Skip to content

Hold the shortcut table to the registry and state each system's support - #440

Merged
yansfil merged 1 commit into
mainfrom
feat/os-shortcut-labels
Oct 5, 2026
Merged

yansfil merged 1 commit into
mainfrom
feat/os-shortcut-labels

Conversation

@yansfil

@yansfil yansfil commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #342

Summary

#347 already moved every on-screen chord through chordLabel, displayChord and commandLabel, and the every-command table already sits in docs/UI_BEHAVIOR.md.
This change checks that nothing was missed, closes the drift risk and records the support range.
No screen changes, so there are no screenshots.

  • Searched web/src and desktop/src for hardcoded ⌘ ⌥ ⇧ ⌃ and for Ctrl, Cmd, Alt words: what remains is comments, the design gallery's invented data, and catalog strings that are already picked by system (...Mac / ...Pc keys, trashMacHint shown only for the macOS-only passthrough).
  • New web/src/shortcutsDoc.test.ts parses the Every command table and compares each row with the registry for both hosts on both systems.
    It found a real error: Agents sidebar's Windows and Linux chords were swapped between the desktop app and the browser tab (now Alt+Shift+A and Ctrl+Alt+A).
    Two row names now match the registry titles (Agents sidebar, Projects sidebar).
  • docs/INSTALL.md gains a per-system support table and a short list of what stays unverified on Windows and Linux (paths, file manager reveal, default app, trash, macOS text-editing keys, Alt+Shift input switching). Nothing was refactored.

Review

  • 판단해 주세요: the support table marks the desktop window and menu "unverified" on Windows and Linux because no desktop e2e runs there; say so if you would rather state it differently.
  • 조심해서 볼 파일: docs/INSTALL.md - the claims in the table must match what CI actually runs.
  • 질문: none.

Evidence

  • 확인한 것: scripts/verify-web.sh web typecheck, lint and test (104 files, 989 tests) and desktop test (99 passed, 3 skipped) pass locally; the new test failed before the doc fix and passes after; check-no-workstation-identity.sh passes.
  • 확인하지 못한 것: no native screenshot, because no rendered text changed; no run on Windows or Linux hardware.
  • CI: the first run failed web e2e linux 2/6 on e2e/new-tab.spec.ts:72 (tab count timeout). This PR changes no runtime code, and the shard passed on one --failed rerun, so it is treated as a flake and not fixed here.

The every-command table had Agents sidebar's Windows and Linux chords swapped between the desktop app and the browser tab; a test now parses the table and compares every row with the registry. INSTALL.md lists what each system supports and what stays unverified.
@yansfil
yansfil merged commit 44f0607 into main Oct 5, 2026
39 of 41 checks passed
@yansfil
yansfil deleted the feat/os-shortcut-labels branch October 5, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OS별 단축키와 macOS 중심 UX 정리

1 participant