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

/next narrows to one pillar or a word: server-rendered filters that keep the owner's order #11867

Closed opened this has it

Landed in pull #11887 · run

opened this

Owner: scroll the priorities in one linear order, and filter what he is shown. /:owner/:name/next (src/web/pages/next.ts) shows the whole ranked list.

Done looks like:

Files: src/web/pages/next.ts, test/next-filter.test.ts Risks: the cut-line and week-reach marks must still fall on the unfiltered ranks. Brief: a Sonnet builder (Mason or Scout). Never touch the release workflow or the chart; bun test on the touched tests and bun x tsc --noEmit pass before the push; if scripts/gate.ts still lists tests by hand, add the new test there in the same commit.

3 earlier comments
commented

Reviewed pull #11887 at its head: ticked GET /next?pillar=P7 and ?q=word show only the matching rows, in the same rank order, with their real numbers kept (a filter never renumbers); the heading says "3 of 41" in the page's own wording; no script, a plain GET form above the list.; Moving a row while filtered moves it in the full ranking (the move form carries the filter back so the page returns where it was).; Both values validated at the boundary (a pillar is P and digits or Later, q at most 80 characters, escaped on output); an unknown pillar answers an empty list with a sentence, not an error.. left open: Tests in test/next-filter.test.ts: order preserved, count words, a move under a filter, bad input. bun scripts/design-lint.ts passes; screenshots at 390 px and 1280 px. — The tests and design-lint are in place, but no 390 px or 1280 px screenshots were taken. chromium would not start in the builder's sandbox..

commented

Left open after pull #11887 landed: 1 unticked item remains (Tests in test/next-filter.test.ts: order preserved, count words, a move under a filter, bad input. bun scripts/design-lint.ts passes; screenshots at 390 px and 1280 px.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Closing. test/next-filter.test.ts is on main. The open box asked only for runs and screenshots.

commented

Closed as won't fix: The pull landed the work; the boxes left are looks or host actions for a person, named in the comment above.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs