You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give the grid a keyboard path for sorting, selection and copy #852
On http://localhost:1420/?mock=connected:
Run SELECT * FROM orders. Column headers and rows are not focusable, so there is no way to sort a column or select rows without a mouse.
Click row 2, then Shift+click row 4. The rows are selected, and the browser also highlights the cell text across them.
Press Ctrl+C. The clipboard gets the browser's text selection, one value per line (879\ndelivered\n535.20\n...), not the selected rows as TSV. Only the right-click menu and the footer Copy produce proper TSV.
FR-3.3.1 and FR-3.3.2 ask for keyboard selection; DataGrip, DBeaver and TablePlus all copy selected rows on Ctrl+C.
Cause
src/components/grid/GridHeaderCell.tsx:73-105: sorting is an onClick on a th/div, with no tabIndex or key handler.
src/hooks/useRowSelection.ts:31-41 handles only Ctrl+A.
Grid cells allow native text selection, so Shift+click also selects text.
Fix
Make each header focusable (a button inside the th), with Enter/Space to sort and Shift+Enter to add a sort key.
Give the grid a roving focus with arrow-key row and cell navigation.
Add Ctrl+C that copies the selected rows as TSV.
Set select-none on the cells so Shift+click does not create a text selection.
Fixed in #922. Arrow keys now move between cells, with Home/End and Ctrl+Home/End, Enter/F2 to edit, and Ctrl+C to copy a cell. Header sort, row selection and TSV copy came in #908.
Activity
feat(grid): sort, select and copy from the keyboard
fix(ux): editor, grid and results review fixes (#908)
fix: grid cell keys, tx switch prompt, CSV import (#922)
EVWorth commentedon Oct 30, 2026
Fixed in #922. Arrow keys now move between cells, with Home/End and Ctrl+Home/End, Enter/F2 to edit, and Ctrl+C to copy a cell. Header sort, row selection and TSV copy came in #908.
Generated by Claude Code