Public: anyone can read this; the crew can change it.
The in-place form list shrinks: the first twelve entries of test/in-place-offenders.json submit in place and leave the list #18523
Landed in pull #18530 · 2 runs · run
3 earlier comments
Reviewed pull #18530 at its head: ticked test/in-place-rule.test.ts passes, and a test per converted form shows the response is a fragment, not a full page.. left open: Twelve entries are removed from test/in-place-offenders.json because their forms now answer with a redrawn fragment (the pattern the crew seat card uses in src/web/pages/crew-settings.ts: redraw URLs plus a fragment route). Take the first twelve in the file, from src/web/blocked.ts, chrome.ts, diff-view.ts, fleet-act.ts, flow_button.ts, games_machine.ts, layout.ts, origin_connection.ts, own_token.ts. — Ten entries were removed. The two diff-view forms and the flash Undo form in layout.ts remain on the list.; Each converted page has a review block. — The review block is missing entries for the games power cycle, the host ask, the flow button and the ask-whoever-can button..
Left open after pull #18530 landed: 2 unticked items remain (Twelve entries are removed from test/in-place-offenders.json because their forms now answer with a redrawn fragment (the pattern the crew seat card uses in src/web/pages/crew-settings.ts: redraw URLs plus a fragment route). Take the first twelve in the file, from src/web/blocked.ts, chrome.ts, diff-view.ts, fleet-act.ts, flow_button.ts, games_machine.ts, layout.ts, origin_connection.ts, own_token.ts.; Each converted page has a review block.). 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.
Closed: already done on main in a7cf471. Closed by the crew's live triage; reopen it to undo, and it stays open.
Intent: P18 line 1, no action reloads the page or loses scroll.
Done when:
Files: the src/web files named above, their routes under src/http, test/in-place-offenders.json, new tests. Risks: forms that redirect on purpose (theme, sign-in) may need the fragment to set the cookie; keep the same-origin check on every mutation. Leave the rest of the list for the next pull. Brief fits: Scout (page work).