Skip to content

Full virtualization of work‑item tree #1278

@SorraTheOrc

Description

@SorraTheOrc

Summary

Replace the current list rendering with a virtual‑scroll implementation that only materializes visible rows, improving performance for large work‑item trees.

Acceptance Criteria

  • Benchmark harness shows ≤ 200 ms latency even when the JSONL file grows to ~5 k items.
  • Scrolling remains smooth and UI state (expanded nodes, selections) persists correctly.

Minimal Implementation

  • Introduce a small virtual‑list library (e.g., blessed-contrib or a custom viewport) into src/tui/layout.ts as an alternative renderer.
  • Wire it via a --virtualize flag.
  • Add unit tests for the virtual list’s indexing logic.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions