Repository navigation
feat(compare): read version upgrade pages as before and after - #331
Merged
Merged
Conversation
… one The 6 pages that compare 2 versions of one framework now put the older release on the left: /compare/solid1-vs-solid2/ and so on. Each version names its family, orderPair sorts an upgrade pair by release date, and redirects follow canonicalPairs, so the former newer-first URLs 301. The OG images published so far stay available from an explicit snapshot. The footer lists Ember with the other upgrade pairs.
On the 6 pages that compare 2 versions of one framework, each example shows whether it changed. An unchanged example shows its code once, with both playground links; a changed one tints removed lines in the older column and added lines in the newer one. The heading reads "Upgrade from Solid 1 to Solid 2", counts the examples that change and links the official migration guide when there is one. The menu dims unchanged examples. Any other selection shows the plain comparison.
… names of any case
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.
Requested by Mathieu · project thread
docs/superpowers/specs/2026-11-18-version-upgrade-pages-design.md./compare/solid1-vs-solid2/). Each version names itsfamily;orderPairsorts an upgrade pair by release date. The former newer-first URLs 301; every OG image published so far stays available from an explicit snapshot (src/lib/legacyOgSlugs.ts).build/lib/upgradeDiff.tspairs files by name, then by base name (Ember.hbs+.js→.gjs), and writessrc/generatedContent/upgradeDiffs.js.Checks:
vp test(51),check:ci,build; every/compare/*page and/og/*.pngof the previous build still answers (page, 301 or file); captures read at 1440x900 and 390x844; footer top below the first screen at both sizes; adding React to the selection removes every label and tint. Codex review: 4 passes, last one clean.