fix(a11y): the keyboard shortcuts dialog lists every shortcut (#334) #401

Merged
jared merged 1 commits from fix/shortcuts-dialog into lotus 2026-10-18 05:21:22 -04:00
Owner

Fixes #334.

The ? dialog listed 7 shortcuts. For keyboard and screen-reader users it's the only place to discover the rest, and it left out Ctrl/⌘+K, ↑ to edit, every composer formatting key, and the call keys.

Change

  • General: Ctrl/⌘+K, the quick switcher.
  • Composer: ↑ in an empty composer edits your last message.
  • Composer formatting (new section): bold, italic, underline, strikethrough ("not the browser's Save"), inline code, spoiler, headings, numbered and bulleted list, quote, code block, clear formatting. These rows are generated from INLINE_HOTKEYS / BLOCK_HOTKEYS, so they can't drift from the editor.
  • Calls (new section): push to talk and deafen, showing the user's own bindings from Settings → Calls, with a hint when push-to-talk is off.

That's 7 → 23 rows. Screenshot below. Unit tests cover the key labels.

tsc clean · ESLint clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5

Fixes #334. The **?** dialog listed 7 shortcuts. For keyboard and screen-reader users it's the only place to discover the rest, and it left out Ctrl/⌘+K, ↑ to edit, every composer formatting key, and the call keys. **Change** - **General:** Ctrl/⌘+K, the quick switcher. - **Composer:** ↑ in an empty composer edits your last message. - **Composer formatting** (new section): bold, italic, underline, strikethrough ("not the browser's Save"), inline code, spoiler, headings, numbered and bulleted list, quote, code block, clear formatting. These rows are **generated from `INLINE_HOTKEYS` / `BLOCK_HOTKEYS`**, so they can't drift from the editor. - **Calls** (new section): push to talk and deafen, showing the user's **own** bindings from Settings → Calls, with a hint when push-to-talk is off. That's 7 → 23 rows. Screenshot below. Unit tests cover the key labels. `tsc` clean · ESLint clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared added 1 commit 2026-10-17 23:43:53 -04:00
fix(a11y): the keyboard shortcuts dialog lists every shortcut (#334)
CI / Build & Quality Checks (pull_request) Successful in 4m3s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 24s
CI / Playwright smoke (e2e) (pull_request) Successful in 15m52s
4969ef9b6d
The ? dialog showed 7 shortcuts and left out Ctrl+K, ↑ to edit, all
composer formatting keys and the push-to-talk / deafen keys. Add them:
formatting rows are generated from the editor's INLINE_HOTKEYS /
BLOCK_HOTKEYS so they can't drift, and the call keys show the user's
own bindings.

Fixes #334

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
Author
Owner

shortcuts

![shortcuts](https://code.lotusguild.org/attachments/1bb7d240-6330-4fed-a6c5-a7319bae7b45)
jared merged commit 200ef4993c into lotus 2026-10-18 05:21:22 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#401