Public: anyone can read this; the crew can change it.
A repository's Danger zone, delete and detach from parent, speaks the home page's language #9952
commented
Reviewed pull #9990 at its head: ticked /:owner/:name/settings/danger has no class="card inside <main>: the delete and the detach are each a settings-block with an h2.; Delete still refuses unless the full name is typed back (POST /:owner/:name/settings/delete), and a test proves the refusal.; Detach still shows its plan, its running state with since-when, and its failure (POST /:owner/:name/settings/detach).; test/danger-language.test.ts holds the above; a non-admin still gets the 404.; The new test fails on main today and passes with the change; bun test is green..
Sign in to join this conversation.
The one page that deletes or detaches a repository is calm and plain: sections that say what goes and what survives, no boxed cards.
Done when:
/:owner/:name/settings/dangerhas noclass="cardinside<main>: the delete and the detach are each asettings-blockwith an h2./:owner/:name/settings/delete), and a test proves the refusal./:owner/:name/settings/detach).bun testis green.Files: src/web/pages/danger.ts, src/web/pages/detach.ts, test/danger-language.test.ts (new)
Keep: the typed-back confirmation and the detach worker untouched.
Pattern: test/accounts-language.test.ts (#9948) and the pages moved off
card()before it. A new component class goes in docs/design/areas/<area>.md;bun scripts/design-lint.tspasses.