You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# PR_26146_049 MIDI Studio V2 NAV and Tab Mode Polish Validation
2
+
3
+
Status: PASS
4
+
5
+
## Scope
6
+
7
+
- Removed the visible launch-mode badge text from MIDI Studio V2 while preserving internal launch-mode state on `body[data-midi-studio-launch-mode]`.
8
+
- Preserved launch-specific NAV behavior so workspace launch shows only Workspace NAV actions and tool launch shows only tool-owned Import/Save/Export actions.
9
+
- Normalized `Import JSON Manifest` to use the same NAV button styling as neighboring action buttons.
10
+
- Restyled MIDI Studio section controls as tabs with matching NAV font, clickable inactive tabs, and a distinct active tab.
- PASS: HTML external-only guard for `tools/midi-studio-v2/index.html`
26
+
- PASS: CSS brace check for `tools/midi-studio-v2/styles/midiStudioV2.css`
27
+
- PASS: `npx.cmd playwright test tests/playwright/tools/MidiStudioV2.spec.mjs -g "separates Workspace launch save ownership from Tool Mode standalone save|launches and renders a valid multi-song manifest payload|exports output through Type dropdown and Save Output without claiming project save|fast octave note editing supports drag painting keyboard shortcuts selection and timeline scroll sync" --config=codex_playwright_system_chrome.config.cjs --reporter=list --workers=1 --timeout=60000`
28
+
- PASS: `git diff --check`
29
+
30
+
## Playwright Coverage
31
+
32
+
The targeted MIDI Studio V2 Playwright run proved:
33
+
34
+
- Workspace launch shows Workspace NAV and hides the tool-only NAV.
35
+
- Workspace launch exposes `Return to Workspace` without standalone Save/Import/Export output controls.
36
+
- Tool launch shows tool-only Import JSON Manifest, Save Project, and output Export Type/Save controls.
37
+
- Workspace-only return controls are hidden in tool launch.
38
+
- Visible `Tool Mode` and `Workspace Mode` labels are absent.
39
+
-`Import JSON Manifest` computed font, weight, padding, and button shape match the other NAV buttons.
40
+
- Studio, Song Setup, Instruments, Auto-Create Parts, MIDI Import, and Diagnostics render as tabs.
41
+
- Tab font matches NAV button font.
42
+
- Active tab is visually distinct and inactive tabs remain clickable.
43
+
- Tab switching still shows the MIDI Import and Studio panels.
44
+
- Play and Stop still work through the existing fast octave editing coverage.
45
+
46
+
## Samples Decision
47
+
48
+
Full samples smoke test: SKIP. This PR only changes MIDI Studio V2 launch NAV presentation, tab styling, and targeted Playwright coverage. No sample JSON, shared runtime, or broad sample loading behavior changed.
49
+
50
+
## Notes
51
+
52
+
- Initial targeted Playwright run exposed a brittle exact subpixel border assertion for tabs. The implementation was kept scoped, and the test was corrected to prove visible tab shape and active/inactive distinction instead of an environment-specific fractional border value.
0 commit comments