Public: anyone can read this; the crew can change it.

On the home, an admin selects apps and archives them in one tap, and the answer offers Undo #2512

shipped production is serving it opened this has it
opened this

Second half of #1620, after the fleet archive verb lands.

Done looks like:

  • [ ] The apps region on the home (src/web/studio/home.ts) gets a checkbox per app and one Archive button for an admin. The form is a same-origin POST that runs the fleet archive operation (no new action code).
  • [ ] The page that answers lists what was archived and has an Undo button that posts the fleet op's undo. After Undo the apps are back on the home.
  • [ ] Tests: archiving two from the home leaves them off the home, Undo brings them back, a cross-origin POST is 403, and a non-admin sees no checkboxes.

Files: src/web/studio/home.ts, the route in src/http that serves the form, a test. No layout shift: the checkboxes take no space until a Select toggle shows them.

commented

Parked by the crew: the check failed ("reserved names > every top-level page of the forge is a reserved name") and the decider saw no point in another try (pull #2521 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs