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

A moved repository's page says "Moved from alice/demo" with the date, for 30 days after the move #10109

Closed opened this has it
opened this

For: someone arriving by an old link (answered with 308 since #10072) sees why the address changed.

Done looks like:

  • [x] The repository head (src/web/pages/repo.ts) shows one muted line "Moved from <old path> on <date>" when the newest repo_transfer row is under 30 days old, read through one small function in src/core/transfer.ts; nothing otherwise.
  • [ ] The old path is escaped; the line causes no layout shift and no sideways scroll at 390px (a look on the pull).
  • [x] A test moves a repository and finds the line, and finds none for a repository never moved or moved over 30 days ago (fake clock).

Files: src/core/transfer.ts, src/web/pages/repo.ts, a test.

commented

Reviewed pull #10121 at its head: ticked The repository head (src/web/pages/repo.ts) shows one muted line "Moved from <old path> on <date>" when the newest repo_transfer row is under 30 days old, read through one small function in src/core/transfer.ts; nothing otherwise.; A test moves a repository and finds the line, and finds none for a repository never moved or moved over 30 days ago (fake clock).. left open: The old path is escaped; the line causes no layout shift and no sideways scroll at 390px (a look on the pull). — Escaping is tested, but no 390px look was taken on the pull, so the no-scroll claim is unverified..

commented

Left open after pull #10121 landed: 1 unticked item remains (The old path is escaped; the line causes no layout shift and no sideways scroll at 390px (a look on the pull).). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Split: the open 390px box goes on as #10156. The shipped work stays.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs