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_052 MIDI Studio V2 Song Setup Tab Cleanup Validation
2
+
3
+
## Summary
4
+
5
+
Status: PASS
6
+
7
+
Playwright impacted: Yes
8
+
9
+
This PR reorders the MIDI Studio V2 tabs so Song Setup is first/default, renames the visible Studio tab to Octave Timeline, adds canonical Add Song support, removes the visible top selected-song details form from Song Setup, and uses the existing Key/Style dropdowns as canonical song arrangement editors.
- PASS: changed-file JavaScript syntax checks with `node --check`.
28
+
- PASS: HTML external-only check for `<script>` usage.
29
+
- PASS: HTML no-inline-style/no-inline-handler check for `<style| on[a-z]+=`.
30
+
- PASS: `npx playwright test tests/playwright/tools/MidiStudioV2.spec.mjs --grep "cleans up Song Setup tab|canvas octave timeline edits canonical data"`.
31
+
- PASS: `git diff --check` with line-ending warnings only.
32
+
33
+
## Playwright Coverage
34
+
35
+
The targeted MIDI Studio V2 tests prove:
36
+
37
+
- Song Setup appears before Octave Timeline.
38
+
- The visible Studio tab text is gone.
39
+
- Octave Timeline tab exists.
40
+
- Add Song creates `new-song-4` in the canonical payload model.
41
+
- The top Key/Style detail fields are removed from the visible Song Setup surface.
42
+
- Key and Style dropdowns update the selected song canonical arrangement.
43
+
- Fields below/around Song Sheet were removed from Song Setup, including Director and Rendered Export Targets panels.
44
+
- Song Sheet bottom spacing is reduced.
45
+
- Play and Stop still work from the canvas-backed Octave Timeline.
46
+
- The PR051 canvas timeline still edits canonical data and updates playback without DOM grid repaint classes.
47
+
48
+
## Coverage Artifacts
49
+
50
+
-`docs/dev/reports/playwright_v8_coverage_report.txt` was refreshed by the targeted Playwright run.
51
+
-`docs/dev/reports/coverage_changed_js_guardrail.txt` was refreshed by the targeted Playwright run.
52
+
- Coverage is advisory only; the guardrail reports low function coverage for `MidiStudioV2App.js` as WARN, not FAIL.
53
+
54
+
## Samples Decision
55
+
56
+
Full samples smoke test: SKIP.
57
+
58
+
Reason: explicitly out of scope for this PR and not requested; this change is limited to MIDI Studio V2 UI/runtime behavior.
59
+
60
+
## Notes
61
+
62
+
An initial focused Playwright run exposed that the hidden `#songDetails` element still computed visible because local CSS forced `display: grid`. The hidden-state CSS rule was corrected and the focused Playwright suite passed on rerun.
this.statusLog.ok(`Added MIDI song: ${song.name}. Canonical model now has ${this.payload.songs.length} song${this.payload.songs.length===1 ? "" : "s"}.`);
0 commit comments