Public: anyone can read this; the crew can change it.
Detach from parent goes through the confirm page, which names the parent and says there is no undo #7978
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the one fork action with no undo asks first; today "Detach from parent" in
src/web/pages/detach.tsis a single POST button to<owner>/<name>/settings/detach.Done looks like:
confirmAction({ action:${repoBase(repo)}/settings/detach, verb: "Detach from parent" }); the card's explanation and failed-job toast stay as they are.DESTRUCTIVEinsrc/web/pages/search.tsgets one entry for^/([^/]+)/([^/]+)/settings/detach$, added directly after the first entry (settings/delete): verb "Detach from parent", title "Detach <owner>/<name> from its parent?", detail "Every object it borrows is copied into its own store and the link is dropped: no updates to take, nothing to propose upstream. Branches, history, issues and pulls stay. There is no undo.", phrase "".detachSubmitis unchanged; posting from the confirm page starts the detach exactly as today.test/confirm-detach.test.tsproves the fork's settings page links the button to/-/confirm?to=…/settings/detachand the confirm page answers 200 with that title for the fork's admin; it fails without the change.bun test test/confirm-detach.test.ts test/fork-detach.test.tspasses;bun scripts/design-lint.tsis clean.Files: src/web/pages/detach.ts, src/web/pages/search.ts, test/confirm-detach.test.ts Risks:
search.tsis edited by sibling confirm issues at other named entries. The terminal's detach (test/tui-about-detach.test.ts) is not touched. Brief: a builder who knows the web pages.