Adding keyboard shortcuts to UI.
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Controller Tests / controller-tests (push) Has been cancelled
Jest Tests / jest-tests (push) Has been cancelled

This commit is contained in:
Roland 2025-12-26 18:59:13 -07:00
parent da953ae59a
commit 3f411679bd
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
9 changed files with 942 additions and 66 deletions

View file

@ -0,0 +1,19 @@
import React from "react";
// Keyboard shortcuts context for managing global shortcuts and modal states
export const KeyboardShortcutsContext = React.createContext({
// Search modal state
searchModalOpen: false,
setSearchModalOpen: () => {},
openSearchModal: () => {},
closeSearchModal: () => {},
// Help modal state
helpModalOpen: false,
setHelpModalOpen: () => {},
openHelpModal: () => {},
closeHelpModal: () => {},
// Close any open modal
closeAllModals: () => {},
});