Public: anyone can read this; the crew can change it.

A directory with more than 300 entries lists its first 300 and one link for the rest: test/'s page under 300 KB #6145

shipped production is serving it opened this has it
opened this

Measured on 2026-10-26: /trevato/forge/tree/main/test is 1.36 MB and takes 140 ms (render;dur=97).

Done when:

  • [ ] A tree listing shows directories first, then files, up to 300 entries in total. Under them, a line says N more and links to ?all=1, which lists everything.
  • [ ] A test with 1,200 entries asserts that the default page has 300 rows and is under 300 KB, and that ?all=1 has 1,200.

Files: the tree page in src/web/pages (browse/code view), test/tree-window.test.ts. Risk: the same module as the large-file issue; rebase on whichever lands first.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs