Skip to content

fix(playground): wire real genre-tree fixture into pop-core wheel demo - #116

Merged
Andreas-Garcia merged 2 commits into
developfrom
fix/pop-core-playground-real-fixture
Sep 18, 2026
Merged

Andreas-Garcia merged 2 commits into
developfrom
fix/pop-core-playground-real-fixture

Conversation

@Andreas-Garcia

Copy link
Copy Markdown
Member

Summary

  • The wheel-radial-pop-core playground 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 in infrastructure).
  • No fallback: if the fixture is missing or lacks a "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

  • Added apps/playground/src/fixtures/genre-tree.json, a placeholder fixture (includes a "Mainstream Pop" root) until infrastructure's music-tree-pipelines sync opens its first real-data PR against this repo.
  • apps/playground/src/App.tsx: wheel-radial-pop-core tab now uses its own popCoreNodes/popCoreCallbacks state sourced from the fixture, instead of sharing wheelNodes with 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).
  • Dev server smoke test (curl -sf http://localhost:5177/ → 200 OK).
  • No browser-rendered visual check was possible in this environment — flagging that limitation explicitly.

🤖 Generated with Claude Code

Andreas-Garcia and others added 2 commits September 18, 2026 09:15
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>
@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
genre-tree-view-playground Ready Ready Preview Sep 18, 2026 7:18am UTC
genre-tree-view-playground-um49 Ready Ready Preview Sep 18, 2026 7:18am UTC

@Andreas-Garcia
Andreas-Garcia merged commit a291da5 into develop Sep 18, 2026
4 checks passed
@Andreas-Garcia
Andreas-Garcia deleted the fix/pop-core-playground-real-fixture branch September 18, 2026 07:19

This branch was successfully deployed

2 active deployments
Preview – genre-tree-view-playground-um49 86bb4c50 Deployed Sep 18, 2026 by vercel[bot]
Preview – genre-tree-view-playground 86bb4c50 Deployed Sep 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant