From e24aa4b6ede1f2db442ea620e4eedc781ccdf572 Mon Sep 17 00:00:00 2001 From: vadimwit Date: Thu, 9 Jul 2026 00:25:13 +0100 Subject: [PATCH] feat(jamguide): chord modal tabs show only their instrument's voicings (task L-25) GuitarTab/PianoTab pass show=guitar/show=piano to VoicingBrowser (D-23 prop); Knowledge Center + station-enlarge keep both rows by design. Critic PASS (SSR: each tab renders only its row, legacy content intact below). Co-Authored-By: Claude Fable 5 --- src/components/ChordDetailModal.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/ChordDetailModal.jsx b/src/components/ChordDetailModal.jsx index 8b5f292..451d316 100644 --- a/src/components/ChordDetailModal.jsx +++ b/src/components/ChordDetailModal.jsx @@ -39,8 +39,9 @@ function GuitarTab({ chordName }) { } return (
- {/* Playable voicing browser (D-21) — browse + audition shapes. */} - {parsed && } + {/* Playable voicing browser (D-21) — browse + audition shapes. + Instrument-scoped to this tab via `show` (task L-25). */} + {parsed && } {/* Static grid kept as the fingering reference — it carries finger numbers and barre info the browser doesn't show. */} @@ -89,8 +90,8 @@ function PianoTab({ chordName }) { return (
{/* Playable voicing browser (D-21) — parseChord's `type` maps 1:1 to the - browser's `quality` (CHORD_TYPES key). L-21. */} - {parsed && } + browser's `quality` (CHORD_TYPES key). L-21. Piano-scoped via `show` (L-25). */} + {parsed && } {/* Technique cards kept below — the name/desc/tip text and LH/RH note breakdown are not covered by the browser. */}