Home

Add release notes pages

Release #004

Branch feature/release-notes-page · version 0.3.0

What changed

  • About page: a new Release notes row near the top of the info box, linking to the release list and showing how many releases there are.
  • Release list (/releases): every pull-release record, newest first, showing title, release number and version.
  • Release page (/releases/<NNN-name>/): the record's full notes rendered from its README.md, with the desktop and mobile screenshots. Clicking a screenshot opens it full size. A link at the bottom goes back to the list.
  • Records built into the app: pull-releases/ is now embedded in the binary, so the notes on the site always match the code that's running, and no deploy changes are needed. This replaces 003's note that the folder isn't part of the app.
  • Screenshot layout: in release pages the screenshot table fills the column, with the desktop image about three times as wide as the mobile one so both come out about the same height.
  • Records: the screenshots in records 001–003 now link to their full-size images; pull-releases/README.md documents the format the site expects.
  • Version: 0.3.0.

Notes

  • Built on feature/css-cache-busting (003), which adds pull-releases/. Merge 003 first; this PR's compare link then shows only its own changes.
  • Only .png files in a known release folder are served; everything else under /releases/ is a 404.
  • /releases/<NNN-name> without the trailing slash redirects to the slash form, so the screenshots' relative links resolve inside the release's folder.

Testing

  • All tests pass with the race detector (go test -race ./...).
  • New tests:
    • parsing records: newest-first ordering, title and version, CRLF files, and skipping folders that don't follow the format
    • every committed record loads and has both screenshots, so a broken record fails the tests instead of disappearing from the site
    • the list, release page, screenshot serving, redirect, 404s including path traversal, and the About page link
  • Built and ran locally, and viewed the About page, the release list and a release page at desktop and mobile widths.

Screenshots

From the branch's build running locally. The home page doesn't change in this PR.

Desktop Mobile
Desktop Mobile

🤖 Generated with Claude Code