Skip to content

feat(grid): show column types, and set a cell to NULL from the menu (#414, #403) - #629

Merged
EVWorth merged 1 commit into
mainfrom
feat/results-types-and-null
Sep 11, 2026
Merged

EVWorth merged 1 commit into
mainfrom
feat/results-types-and-null

Conversation

@EVWorth

@EVWorth EVWorth commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Stacked on #628.

FR-3.1.11 (#414) — each column's SQL type is carried from the executor all the way to the frontend and was then dropped on the floor, so telling tinyint(1) from a small integer meant leaving the grid. It now sits beside the name, muted and small: context for the name, not a second name.

FR-3.2.3 (#403) — NULL could only be set from the inline ∅ button, which only exists once a cell is already being edited. It is now on the cell's context menu, named after the column it would clear ("Set name to NULL"), and on Ctrl+Shift+N for the cell being edited. Both route through one function so they cannot drift, and both are edit-mode only, since outside it there is nothing to record the change on.

The context menu also worked out which cell was clicked from its position in the row — which stopped being its position in the result the moment #627 made columns draggable. Fixed here, with a test that drags and then right-clicks.

2309 unit + 324 browser tests pass.

Closes #414
Closes #403

🤖 Generated with Claude Code

@EVWorth
EVWorth changed the base branch from feat/results-filter-paginate to main September 11, 2026 05:16
Two small requirements the grid had the pieces for but never wired up.

FR-3.1.11: each column's SQL type is carried from the executor all the way to
the frontend and was then dropped on the floor, so telling `tinyint(1)` from a
small integer meant leaving the grid (#414). It now sits beside the name,
muted and small — context for the name, not a second name.

FR-3.2.3: NULL could only be set from the inline button, which only exists
once a cell is already being edited (#403). It is now on the cell's context
menu, named after the column it would clear, and on Ctrl+Shift+N for the cell
being edited. Both route through one function so they cannot drift, and both
are edit-mode only, since outside it there is nothing to record the change on.

The context menu also worked out which cell was clicked from its position in
the row, which stopped being its position in the result the moment a column
could be dragged.

Co-Authored-By: Claude Opus 5 <[email protected]>
@EVWorth
EVWorth force-pushed the feat/results-types-and-null branch from c6dcbf0 to e7f1faf Compare September 11, 2026 05:21
@EVWorth
EVWorth merged commit 4e6efb7 into main Sep 11, 2026
12 checks passed
@EVWorth
EVWorth deleted the feat/results-types-and-null branch September 11, 2026 05:24
@EVWorth EVWorth mentioned this pull request Sep 11, 2026
48 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant