Repository navigation
Site C: merged 'Try it' page + sport pages - #49
Merged
Merged
Conversation
added 11 commits
August 28, 2026 22:19
Bumps the browser validator to the version-aware 0.2.0 and moves the error-codes commit pin to the same release so SCHEMA_MAJOR_UNSUPPORTED and VALIDATOR_MAYBE_OUTDATED appear on /errors.
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.
Plan C of the site redesign. Base is main (not stacked). Builds on Site A (#46) + Site B (#48), both already merged.
What
Merged "Try it" page (
/use/try-it/) — the old separate playground + renderer become one page:Result.schema.validatedAgainst) and a "newer schema available" hint via/schema/versions.json./playground/and/playground/renderer/redirect to/use/try-it/; the Use hub points there.Version-aware validator wired in: pin bumped
0.1.1 → 0.2.0, error-codes commit moved to the same release →/errorsnow shows 18 codes (incl. the two new version-skew codes).Sport pages under Learn (the multi-sport story made concrete):
sports.json.getStaticPathstemplate →/learn/sports/{basketball,soccer,handball,hockey,futsal}/. Basketball shows the full vocabulary; the four reserved sports show a Reserved badge + a prominent "Contribute — sport experts wanted" block./learn/sports/.New tested helper
schema-versions.mjs(isNewerVersion,fetchLatestSchemaVersion, fail-soft, injected fetch).Verified
npm run build: 21 pages, all routes resolve; redirects forward; sport routes render./use/try-it/+ 6 sport routes; old renderer route removed).Result.schema, empty provisional sport data handled, no broken selectors.Leaving the merge to you. Plan D (arc42 via Mermaid/mmdc) is the last one.
🤖 Generated with Claude Code