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

The studio's three lists disagree: one header, and two dead filters #178

Closed opened this
Closed without merging

Fixed the two disagreements in src/web/studio/lists.ts: Header. studioRuns used repoHeader(ctx, repo, "app", { compact: true }) — "app" isn't a tab studio mode ever shows, and compact dropped the description the other two lists carry.

Notes

stopped closed without shipping deploy 0f54a58

opened this

Fixed the two disagreements in src/web/studio/lists.ts:

Header. studioRuns used repoHeader(ctx, repo, "app", { compact: true }) — "app" isn't a tab studio mode ever shows, and compact dropped the description the other two lists carry. It now uses repoHeader(ctx, repo, "code"), non-compact: same shape as tells/changes, and it correctly highlights the Studio tab, which is the one the runs list actually lives under.

Filter. pullWord never returns told, and runWord reaches a pull's word only through pullWord, so Told was a dead link on /changes and /runs. wordFilterBar now takes the list of words to offer as an argument instead of always drawing the full five. The changes and runs lists share PULL_WORD_FILTERS — WORD_FILTERS filtered to drop "told" — derived once, next to the master list, rather than each hard-coding its own copy; the tells list still gets the full five since tellWord is the only one that can produce told. readWordFilter still recognizes ?word=told as a valid filter everywhere, so a held URL to it still answers 200 with the list's own "Nothing matches this filter yet" rather than an error.

Added a test in test/studio.test.ts covering all of this: the three headers agree, the runs list's tab strip marks Studio (never "App"), the changes/runs filter bars never link to ?word=told while the tells bar does, and ?word=told asked for directly on changes/runs still answers 200 with the empty state. bun test and tsc --noEmit are green; the forge's own check command passes except for 6 pre-existing failures (confirmed present on main too, from a missing git/claude binary in this sandbox) unrelated to these files.

Closes #175

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs