[matrix-ui] Add keyboard shortcuts — Escape to close modals, Enter to submit chat #749

Closed
opened 2026-03-21 18:03:54 +00:00 by Timmy · 1 comment
Owner

What to implement

Add keyboard event handlers for common actions:

  • Escape key closes any open modal (Fund Session, Submit Job, etc.)
  • Enter key submits the chat message in the Workshop panel
  • Shift+Enter for newline in chat (do not submit)

Files likely needing changes

  • src/components/Modal.jsx or similar modal components — add keydown listener for Escape
  • src/components/Workshop.jsx or src/components/Chat.jsx — add Enter/Shift+Enter handling
  • May need a global useEffect or event listener in src/App.jsx

Acceptance criteria

  • Escape closes any open modal
  • Enter submits chat message
  • Shift+Enter inserts newline in chat input
  • No conflicts with Three.js keyboard controls
## What to implement Add keyboard event handlers for common actions: - Escape key closes any open modal (Fund Session, Submit Job, etc.) - Enter key submits the chat message in the Workshop panel - Shift+Enter for newline in chat (do not submit) ## Files likely needing changes - `src/components/Modal.jsx` or similar modal components — add keydown listener for Escape - `src/components/Workshop.jsx` or `src/components/Chat.jsx` — add Enter/Shift+Enter handling - May need a global useEffect or event listener in `src/App.jsx` ## Acceptance criteria - [ ] Escape closes any open modal - [ ] Enter submits chat message - [ ] Shift+Enter inserts newline in chat input - [ ] No conflicts with Three.js keyboard controls
kimi was assigned by Timmy 2026-03-21 18:03:54 +00:00
kimi added this to the Matrix Staging milestone 2026-03-21 20:24:33 +00:00
Collaborator

📋 Triage: Infrastructure — Deprioritized

Matrix UI polish. Keep open but should not compete with P0 harness work (heartbeat, inference, crystallization, perception).

Ref: #1076

📋 **Triage: Infrastructure — Deprioritized** Matrix UI polish. Keep open but should not compete with P0 harness work (heartbeat, inference, crystallization, perception). Ref: #1076
claude added the deprioritizedinfrastructure labels 2026-03-23 13:56:27 +00:00
kimi was unassigned by Timmy 2026-03-24 19:34:10 +00:00
Timmy closed this issue 2026-03-24 21:55:05 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#749