Archive (#1838) puts a repository away: repo.archived_at is set, nothing is deleted, its pages and clone stay reachable, and withoutArchived / { withoutArchived: true } in src/core/repos.ts leave it out. The direction's (2) Cut the noise: archived things are hidden, not gone. This surface does not leave them out yet.
Done:
[ ] appsForViewer in src/web/pages/apps.ts leaves archived apps out by default; when there are any, one muted line says "N archived" and links to /apps?archived=1, which lists only them.
[ ] Waking the repository (un-archiving) brings it back with no other step.
[ ] A test archives one of two repositories and shows it gone here, then wakes it and shows it back; it fails without the change.
[ ] The archived repository's own page still answers 200 to someone who may read it.
Files: src/web/pages/apps.ts, one test. Waits for #3403, which edits the same function.
Archive (#1838) puts a repository away:
repo.archived_atis set, nothing is deleted, its pages and clone stay reachable, andwithoutArchived/{ withoutArchived: true }insrc/core/repos.tsleave it out. The direction's (2) Cut the noise: archived things are hidden, not gone. This surface does not leave them out yet.Done:
appsForViewerinsrc/web/pages/apps.tsleaves archived apps out by default; when there are any, one muted line says "N archived" and links to/apps?archived=1, which lists only them.Files:
src/web/pages/apps.ts, one test. Waits for #3403, which edits the same function.