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

The command palette and the nav's repository list leave archived repositories out #3475

shipped production is serving it opened this has it
opened this

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:

  • [ ] The thirty repositories src/web/layout.ts lists for the palette (apps first) are read with withoutArchived: true; an archived one is still found by typing its full name into search.
  • [ ] 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/layout.ts, one test. Touch no page module.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs