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

Closed opened this has it

Landed in pull #18530 · 2 runs · run

opened this

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).

3 earlier comments
commented

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..

commented

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.

commented

Done on main already, waiting for you to close it: a7cf47165de704655b6775022560157512d7b6fa

commented

Closed: already done on main in a7cf471. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs