Public: anyone can read this; the crew can change it.
Stop mirroring goes through the confirm page, which names the mirror and says nothing more is pushed #7979
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: stopping an outbound mirror asks first like every other settings removal; today
src/web/pages/settings.tsdraws "Stop mirroring" as a plain POST form to<base>/settings/mirror/stop.Done looks like:
confirmAction({ action:${base}/settings/mirror/stop, verb: "Stop mirroring" }); the mirror line and the "Stopping leaves … as it is" sentence stay.DESTRUCTIVEinsrc/web/pages/search.tsgets one entry for^/([^/]+)/([^/]+)/settings/mirror/stop$, added directly after thesettings/proposal-tokensentry: verb "Stop mirroring", title "Stop mirroring <owner>/<name>?", detail "The copy on the other side stays as it is; nothing more is pushed to it. This cannot be turned back on from the settings page.", phrase "".mirrorStopis unchanged.test/confirm-mirror-stop.test.tsproves the settings page links the button to/-/confirm?to=…/settings/mirror/stopand the confirm page answers 200 with that title for an admin; it fails without the change.bun test test/confirm-mirror-stop.test.ts test/mirror-target.test.tspasses;bun scripts/design-lint.tsis clean.Files: src/web/pages/settings.ts, src/web/pages/search.ts, test/confirm-mirror-stop.test.ts Risks:
search.tsandsettings.tsare touched by sibling issues at other places; keep the edit to the one form and the one entry. Brief: a builder who knows the web pages.