The in-place client half of the anti-slop interaction work (guidelines
G1, G2, G4, G13). It still never re-POSTs, still serializes saves, and a
batch still never reloads.
- Focus: the focused element is recorded by identity (its region, its
key, which same-key element it was) and the fresh one is focused
without scrolling. If an answered pick's form folds into a closed
<details>, focus goes to its summary; if nothing is left, to the region
(tabindex=-1, set by the script). Focus outside the swapped regions
is not touched.
- One status line per page (_status.html). It floats at the bottom
centre, above the fixed review stage, so it moves nothing and is in view
wherever the reader is. Wider than 900px, the letterhead and footer the
review covers leave the Tab order (visibility:hidden, CSS only).
- The line is never hidden: empty, it takes no space and stays displayed.
"Saving…" at the press, "Still saving…" on a repeat press, "Saved." when
the swap lands (cleared after 2s if still the same write), and warnings
with data-tone="warn". Every write sets or clears the tone. The form in
flight carries aria-busy until its save settles.
- The client never reloads over a draft: both of its reloads run only
when every in-place form is clean except the one just sent, unchanged
since its press, asked again at the reload beat; otherwise it says so
and stays. A beforeunload guard asks when an in-place form is dirty (its
own reload does not ask). The embed asks when one of our answers is
unsent, and skips the pressed form on its own one-form submit.
- Six booth-dev browser tests read the line's hidden state; they read
its words and tone instead. Two r2_submit_all.toml rows are re-anchored
to the same failure in the moved code.
Folded from the heid bug-hunt (panel 4/4, thread 01M3MRTNTWEPJHTN4APRR81KH4):
- aria-busy mirrors which forms are in flight on the LIVE page. It is set
at the press and re-synced whenever a save settles, so it ends on every
path (a stale tile the swap never replaced included), and a queued form
replaced by an earlier swap is marked busy again.
- A press inside the reload beat cancels the reload.
- A failure that stayed is said again after an unrelated save, rather
than buried under "Saved.".
- A 204 followed by a failed page GET is "Saved.", never "could not save".
- An edit made while its save flew is said to be unsaved.
- A focused <summary> has a key.
- The queue settles on rejection.
- The embed's skip covers the one navigation its submit starts; a
cancelled submit, or one that leaves the page in place, is guarded
again.
- Pinned: no in-place form holds a control dirty() cannot read, and no
region nests in another.
Folded from this slice's gate: the status line floats (fixed, bottom
centre, above the review stage) instead of sitting at the top of <main>
or under the viewer's bar. In the flow, every save's "Saving…" moved the
page; booth-dev's test_a_flag_lands_in_place_and_every_region_catches_up
caught a 50px jump. The viewers' grids are back as they were.
Contract: as_antislop S5b (heid contract review and bug-hunt folded).
Falsifiers: antislop.toml S5b sections.