Repository navigation
feat: context menu for cells (3.11.0) - #15
Conversation
…after they render
ECC Tools / Security EvidenceCommit: Security scanner evidence required (action_required) Detected 1 security-sensitive predictive risk signal(s) without scanner evidence. Mode: enforce Findings:
Touched security-sensitive paths:
Expected evidence:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 3 PR taxonomy bucket(s): Security Evidence, Install Manifest Integrity, CI/CD Recommendation. Scanned 52 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
Install Manifest IntegrityInstall manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 52 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 52 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Config AuditCommit: No changed-config issues detected (success) Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: Harness warnings detected (neutral) Scanned 1 changed config file(s) and found 1 harness issue(s).
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
Summary
Adds an opt-in cell context menu and releases it as 3.11.0.
contextMenuprop: right-click, Shift+F10 / the ContextMenu key, or Ctrl+click on Apple devices opens a menu on a body cell.undoRedois on (disabled when there is nothing to undo or redo).getContextMenuItems(params, defaultItems)replaces or extends the items; an empty list keeps the browser's own menu.apiRef.openContextMenu(id, field)/closeContextMenu(); it opens on a later frame, once the cell is scrolled into view.GridContextMenuParams,GridContextMenuItem,GridContextMenuEntry, and 5localeTextkeys.ColumnMenuand the new menu shareuseMenuKeyboard; the column menu's behaviour is unchanged.With
contextMenuoff nothing changes: no listener is attached, and the new CSS only targets new classes.Guide:
docs/features/context-menu.md. Demo page: Context Menu.Size
DataGrid is 89.0 KB gzipped (CI budget 92 KB). The feature adds about 2.1 KB, inside the 2.15 KB allowance in the plan, which also records why the allowance was raised.
Known issues (documented)
contextmenuevent on key-up and re-open the menu on the same cell.closeContextMenu()does not cancel anopenContextMenuthat is still waiting for its cell to render.Test plan
npm test(2045 tests)npm run test:all,npm run test:demo,npm run test:smokebuild:lib,check:package,check:compiler,check:versions,wiki:buildSpec:
docs/superpowers/specs/2026-10-26-context-menu-design.md. Plan:docs/superpowers/plans/2026-10-26-context-menu.md.🤖 Generated with Claude Code