Skip to content

[P1] [doc-drift] FR-3.2.3 Set NULL — only inline button works, no menu/shortcut #403

Closed

Description

@EVWorth

[P1] [doc-drift] FR-3.2.3 Set NULL via right-click menu or Ctrl+Shift+N — neither implemented

Context

DESIGN_REQUIREMENTS FR-3.2.3: "Right-click menu option or Ctrl+Shift+N to set a cell value to NULL".

Problem

Per docs/audits/results.md F10.

Only the small ∅ button in edit mode can set NULL. The row context menu has Copy Cell / Copy Row / Copy as INSERT / Copy All Results / Delete Row — no NULL option. No Ctrl+Shift+N keyboard shortcut.

Files

  • src/components/grid/EditableCell.tsx:84-93 (toggleNull exists, only called from inline ∅)
  • src/components/grid/ResultsGrid.tsx:111-118 (keyboard handler only listens for z undo/redo)
  • src/components/grid/ResultsGrid.tsx:171-242 (context menu — no NULL item)

Repro (if applicable)

Static analysis only.

Expected

Right-click a cell in edit mode → "Set cell to NULL" appears in the menu. Focus a cell, press Ctrl+Shift+N → cell becomes NULL.

Proposed fix

Scope S. Add "Set cell to NULL" item to the context menu (in edit mode). Add global Ctrl+Shift+N listener that dispatches editing.editCell(activeCell, null).

Acceptance

Right-click → menu shows "Set cell to NULL"; click → cell becomes NULL (italic gray). Ctrl+Shift+N on focused cell sets NULL.

Needs human verify

Yes

Labels: audit, area/results, severity/p1, kind/doc-drift

Activity

  1. added
    audit
    severity/p1
    kind/doc-drift
    area/results
    on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/resultsauditkind/doc-driftseverity/p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions