fix(playground): wire real genre-tree fixture into pop-core wheel demo - #116
Merged
Merged
Conversation
The wheel-radial-pop-core tab now renders the Gold-exported canonical genre tree (refreshed by infrastructure's music-tree-pipelines sync) instead of synthetic demo data. GenreTreeWheelRadialPopCore itself throws if the fixture lacks a root named "Mainstream Pop" - relying on that built-in validation rather than adding a fallback that would mask a broken export. Other wheel tabs keep their synthetic datasets unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
wheel-radial-pop-coreplayground demo now renders the real Gold-exported canonical genre tree instead of synthetic data, so it can be used to validate the actual data infrastructure produces (found while end-to-end testing the export pipeline ininfrastructure)."Mainstream Pop"root,GenreTreeWheelRadialPopCore's own existing validation throws — masking that with fallback demo data would hide a broken sync/export pipeline instead of surfacing it.Changes
apps/playground/src/fixtures/genre-tree.json, a placeholder fixture (includes a"Mainstream Pop"root) untilinfrastructure'smusic-tree-pipelinessync opens its first real-data PR against this repo.apps/playground/src/App.tsx:wheel-radial-pop-coretab now uses its ownpopCoreNodes/popCoreCallbacksstate sourced from the fixture, instead of sharingwheelNodeswith the other three wheel tabs (whose synthetic datasets are unchanged).CLAUDE.md: noted that this one tab now uses real synced data, not mock data.Test plan
npx tsc --noEmit -p tsconfig.json— passes.npx vite build(apps/playground) — succeeds (615 modules transformed, no errors, only a pre-existing chunk-size warning).curl -sf http://localhost:5177/→ 200 OK).🤖 Generated with Claude Code