From 3c934dfce0d0c8840a42c09b90e6ce529a18d637 Mon Sep 17 00:00:00 2001 From: Molecule AI Core-FE Date: Sat, 9 May 2026 21:47:33 +0000 Subject: [PATCH 1/2] feat(canvas): document all keyboard shortcuts and interactions in the help dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: MEDIUM priority from canvas accessibility audit (2026-05-09). The existing Quick Start help dialog in Toolbar omitted most keyboard shortcuts from useKeyboardShortcuts.ts — users couldn't discover them visually. Changes: - Toolbar.tsx: enhance the help dialog (role="dialog") to include all documented shortcuts: Esc, Enter, Shift+Enter, Cmd+], Cmd+[, Z, plus mouse interaction tips for Palette, Right-click, Dbl-click, Shift+click. Renamed from "Quick start" to "Shortcuts & tips". - canvas-audit-items.md: update Keyboard Shortcuts section from PARTIAL to complete; mark help dialog item as done. Co-Authored-By: Claude Opus 4.7 --- canvas/src/components/Toolbar.tsx | 27 +++++++++++++++++------- docs/design-system/canvas-audit-items.md | 1 + 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/canvas/src/components/Toolbar.tsx b/canvas/src/components/Toolbar.tsx index b81d8b56..01bddc3b 100644 --- a/canvas/src/components/Toolbar.tsx +++ b/canvas/src/components/Toolbar.tsx @@ -317,7 +317,7 @@ export function Toolbar() { onClick={() => setHelpOpen((open) => !open)} className="flex items-center justify-center w-7 h-7 bg-surface-card hover:bg-surface-card/70 border border-line rounded-lg transition-colors text-ink-mid hover:text-ink focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/40" aria-expanded={helpOpen} - aria-label="Open quick help" + aria-label="Open shortcuts and tips" title="Help — shortcuts & quick start" >
-
- Quick start +
+
+ Shortcuts & tips
-
+
+ + + + + + - - - + +
{/* Link to the full keyboard shortcuts dialog */}