Repository navigation
Add a /changelog/ page and version PixFray from package.json - #44
Merged
Merged
Conversation
A public /changelog/ page lists every release newest first, with the current version in the subtitle. package.json "version" (now 0.8.0) is the one source; tests/changelog.test.ts fails the check when the newest entry, the subtitle and package.json disagree, or when versions or dates go out of order. The page is wired into the Vite build, page headers, CSP, runWorkerFirst, the sitemap and every footer; bare /changelog moves to /changelog/. docs/LIVE_FIX.md gains the versioning rule: bump and add an entry before each production deploy from main. Also adds pairRankedPerStream to the tests/ui.ts mock config. It was missing since #40, so the mod page Save test failed on main.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
/changelog/: every release newest first, current version in the subtitle, a release index beside the notes on wide screens (hidden under 900 px).package.jsonversionis the single version source, now0.8.0(it was the unused0.1.0).tests/changelog.test.tsfailsbun run checkwhen the newest entry, the subtitle andpackage.jsondisagree, or versions/dates go out of order.isPageheaders, CSP block inpublic/_headers,runWorkerFirst, sitemap, footer link on every page,/changelog→/changelog/(301), and the staging/old-domain redirect.Version cuts
0.1.0 through 0.7.1 were drawn after the fact from git history and PR dates (one minor per visible feature drop, patches for fixes). They're easy to redraw before merge. No git tags are created.
Unrelated test fix
tests/ui.tsmock config lackedpairRankedPerStream(added in #40), so the mod page Save step intest:uifailed on main. Added the key.Checks
bun run check: 424/424.bun run test:ui: ui.ts and arena-browser.ts pass (arena needed one rerun after a browser crash), including a new/changelog/case at 1280 and 390.