WarUI

Debug Overlay

GRID-A30-F10P1beyond-baselinePlanned

An optional development overlay that visualises the grid's internals: the rendered row and column window, row/column indices, render counts, last render time and the active state. It helps diagnose virtualisation, performance and state bugs.

Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A 10,000-row grid with the overlay enabled, showing the virtual window bounds and FPS.

Expected behavior

Scrolling updates the window bounds live. With the inefficient renderer, cells flash and render counts climb. The overlay never intercepts grid clicks.

Planned API surface

debugOverlaydebugOverlay.panelsapi.debug.getRenderStatsapi.debug.highlightRerendersshortcut Ctrl+Alt+D

Acceptance criteria

  • The overlay is unavailable in production builds unless explicitly opted in (pending)
  • Overlay rendering adds under 2ms per frame at 10,000 rows (pending)
  • Render stats are exposed through the API for tests (pending)
  • The overlay is pointer-events transparent except on its own panel (pending)