mirror of
https://github.com/ChiChou/entdb.git
synced 2026-12-05 03:03:29 +01:00
Open folders flatten into rows with a depth and only the rows near the viewport render (@tanstack/react-virtual, window scrolling, fixed row height). Values still line up: each row is the same two-column grid with the indent inside the first cell, and the name column's width is computed from the longest visible name (monospace), capped at half the width. Indent guides are drawn per row. Keyboard navigation works by row index (scrolling a row in when needed, counting quick presses from a pending target) and lands below the sticky header. Used by both the find and files pages; the subgrid layout and the content-visibility rule are gone. At 4x CPU on com.apple.private.tcc.allow (788 rows): Expand all 292 → 49 ms, clearing the value filter 314 → 61 ms, resize 1.2 → 0.4 s, ~6x fewer DOM nodes. Find-in-page only sees rendered rows; the filter searches all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>