#256: rename page URLs to match nav labels #264

Merged
fen merged 1 commits from fix-256 into dev 2026-09-17 19:32:27 +00:00
Collaborator

Ref #256

  • Public list page moved /history -> /public; Saved page moved /mine -> /saved
  • / redirects to /public; /history and /mine return 301 redirects to the new URLs (old links keep working)
  • Nav and logo hrefs updated; nav active state uses the new Page values (public/saved)
  • Delete-success redirect in paste.js now goes to /public
  • "saved" added to reservedSlugs (route literal rule)
  • New route test TestRenamedPageRoutes asserts 200s on /public, /saved and redirect targets for /history, /mine, /; existing tests updated

Verified: go build + full go test pass; local rendered probe confirmed nav hrefs, active states, /api/mine data, and redirect locations.

Ref #256 - Public list page moved /history -> /public; Saved page moved /mine -> /saved - / redirects to /public; /history and /mine return 301 redirects to the new URLs (old links keep working) - Nav and logo hrefs updated; nav active state uses the new Page values (public/saved) - Delete-success redirect in paste.js now goes to /public - "saved" added to reservedSlugs (route literal rule) - New route test TestRenamedPageRoutes asserts 200s on /public, /saved and redirect targets for /history, /mine, /; existing tests updated Verified: go build + full go test pass; local rendered probe confirmed nav hrefs, active states, /api/mine data, and redirect locations.
fen added 1 commit 2026-09-17 19:30:35 +00:00
#256: rename page URLs to match nav labels (/public, /saved)
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 22s
c91d0e53ca
fen merged commit ca54653a11 into dev 2026-09-17 19:32:27 +00:00
Sign in to join this conversation.