Skip to content

@devtools/client v0.0.4

Choose a tag to compare

@jared-leddy jared-leddy released this 23 Sep 02:25
c182ab8

Summary

  • Add react-window-backed VirtualizedComponentTree with flattened rows, expand/collapse state, selection state, and scroll-to-node support.
  • Replace the Components tab placeholder tree with a 600-node synthetic virtualized tree fixture.
  • Include tree coverage in @devtools/client Jest thresholds and cover bounded rendering, off-screen scroll, and state survival.

Verification

  • npm run format:check
  • npm run lint
  • npm run typecheck
  • npm run test:unit
  • npm run build
  • UAT: local client dev server, opened Components, verified 600 logical visible nodes render as 18 DOM rows, selected ComponentLeaf0_5, collapsed ComponentGroup0, scrolled to the end, returned, re-expanded, and confirmed selection survived. Console capture showed only Vite debug messages and React's standard DevTools info prompt, no runtime exceptions.