Overview
Currently users have to click the Launch Universe button with a mouse. A keyboard shortcut would make the workflow much faster.
Proposed shortcuts
| Shortcut |
Action |
Ctrl+Enter / Cmd+Enter |
Launch universe (when task input is focused) |
Ctrl+K |
Focus the task input from anywhere |
Escape |
Close post-analysis panel / cancel |
Where to make changes
src/components/pages/UniversePage.tsx
- Add a
useEffect with a keydown listener on window
- Guard with
e.key === 'Enter' && (e.ctrlKey || e.metaKey) so it only fires when intended
Good first issue
Single useEffect addition — no new components or state needed.
Overview
Currently users have to click the Launch Universe button with a mouse. A keyboard shortcut would make the workflow much faster.
Proposed shortcuts
Ctrl+Enter/Cmd+EnterCtrl+KEscapeWhere to make changes
src/components/pages/UniversePage.tsxuseEffectwith akeydownlistener onwindowe.key === 'Enter' && (e.ctrlKey || e.metaKey)so it only fires when intendedGood first issue
Single
useEffectaddition — no new components or state needed.