PRISM has a few keyboard shortcuts — / focuses the target input (#196), Alt+T toggles the theme — but nothing tells users they exist.
Add a small help panel listing them, opened with ? (and closed with Escape or a click outside).
Pointers:
frontend/src/components/Sidebar.tsx has the / handler, and frontend/src/lib/useTheme.ts has the Alt+T one — worth grepping for addEventListener(.keydown.) to catch any others before writing the list.
- The
/ handler shows the pattern for ignoring keystrokes typed into an input, which the ? handler needs too.
Keep the styling consistent with the existing cards. Text should go through the translation files (frontend/src/messages/*.json) like the rest of the UI — English is enough, other locales fall back.
PRISM has a few keyboard shortcuts —
/focuses the target input (#196),Alt+Ttoggles the theme — but nothing tells users they exist.Add a small help panel listing them, opened with
?(and closed withEscapeor a click outside).Pointers:
frontend/src/components/Sidebar.tsxhas the/handler, andfrontend/src/lib/useTheme.tshas theAlt+Tone — worth grepping foraddEventListener(.keydown.)to catch any others before writing the list./handler shows the pattern for ignoring keystrokes typed into an input, which the?handler needs too.Keep the styling consistent with the existing cards. Text should go through the translation files (
frontend/src/messages/*.json) like the rest of the UI — English is enough, other locales fall back.