-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Refactor the TUI layout to perform incremental rendering, updating only the newly visible nodes on expand/collapse instead of recomputing the entire tree.
Acceptance Criteria
- Measured latency on the benchmark harness drops below 200 ms for the 30‑item tree.
- No regression in existing UI functionality (manual smoke test passes).
Minimal Implementation
- Refactor
src/tui/layout.tsto separate “full tree layout” from “visible node layout”. - Update
expandInProgressAncestorsto call the new incremental layout only for affected branches. - Disable full recompute by default, gated behind a config flag
enableFullLayout.
Reactions are currently unavailable