## Summary - Fix side panel hotkeys (Ctrl+K, Escape, etc.) breaking when opening records from the record index table - Ensure `side-panel-focus` is always restored in the focus stack when navigating within an already-open side panel - Remove stale `globalHotkeysConfig` on `record-index` focus item that persisted after the side panel closed ## Problem When clicking records in the table to open them in the side panel, `useLeaveTableFocus` called `resetFocusStackToRecordIndex` which wiped the entire focus stack, including the `side-panel-focus` entry. Since `openSidePanel` early-returned when the panel was already open, `side-panel-focus` was never restored. Additionally, `resetFocusStackToRecordIndex` set `enableGlobalHotkeysWithModifiers: false` on the remaining `record-index` item when the side panel was open, and this stale config persisted after the panel closed, permanently blocking all hotkeys. ## Fix - **`useNavigateSidePanel.ts`**: Move `pushFocusItemToFocusStack` before the `isSidePanelOpened` early-return so the side panel's focus entry is always present in the stack - **`useResetFocusStackToRecordIndex.ts`**: Always set `enableGlobalHotkeysWithModifiers: true` on the `record-index` item. Hotkey scoping when the side panel is open is handled by `side-panel-focus` sitting on top of the focus stack https://github.com/user-attachments/assets/ad25befb-338d-4166-9580-18d4e92d6f9b
Run yarn dev while server running on port 3000