Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ui-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
node --test tests/gui_workflow_contract_test.mjs tests/plugin_ui_contract_test.mjs tests/ci_workflow_efficiency_test.mjs tests/fx_drag_reorder_contract_test.mjs tests/mixer_io_operator_contract_test.mjs tests/mixer_shell_contract_test.mjs
- name: Validate approved GUI checkpoint and single publisher
run: python tests/gui_baseline_lock_test.py
- name: CSS V28 zero-regression source-order recovery (every GUI CI run)
run: python tests/css_v28_restore.py
- name: Verify ONLY approved public GUI /preview/ with PNG hardware keys
run: |
python scripts/build_pages.py --out dist-pages --sha "${{ github.sha }}" --branch main
Expand Down Expand Up @@ -295,6 +297,9 @@ jobs:
cp "$backup/$path" "$path"
done
git diff --exit-code -- site/preview-v2/index.html site/preview-v2/assets/mixer-chrome-material.css site/preview-v2/assets/mixer-plugin-browser.css site/preview-v2/assets/mixer-pan-controls.css site/preview-v2/assets/mixer-fader-assembly.css site/preview-v2/assets/mixer-meter-display.css site/preview-v2/assets/mixer-utility-controls.css
- name: Verify V28 exact approved /preview/ source and interactive browser parity
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (startsWith(github.head_ref, 'css/v28-') || startsWith(github.head_ref, 'integration/product-'))) }}
run: python tests/pages_css_architecture_v28_smoke.py
- name: Verify embedded Inter font and contextual V7 micro-controls
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && startsWith(github.head_ref, 'integration/product-')) }}
run: python tests/pages_inter_utility_v7_smoke.py
Expand Down Expand Up @@ -369,5 +374,6 @@ jobs:
mixer-shell-*.png
pages-v54-*.png
pages-v55-*.png
pages-v28-physical-console-owner-v59-*.png
if-no-files-found: ignore
retention-days: 3
27 changes: 27 additions & 0 deletions docs/gui-css-ownership-mixer-v28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# CSS V28 — Remove 13,043 inline CSS characters without modifying the approved /preview/ GUI

**Real authoritative baseline:** `main@46f600b143c8ef000a717ccb79a9c841a2589766`, exact previously accepted [single /preview/](https://masarray.github.io/arsonmix/preview/) GUI. **/preview-v2/ is an internal source, not an independent public preview.** `scripts/build_pages.py` deterministically assembles /preview/ from this internal HTML plus accepted PNG button materials. This refactor preserves that pipeline and its authority.

## Root cause and exact owner migration

The internal HTML still held three inline `<style>` nodes: two empty and one **13,043-character late physical console cascade**. The last nonempty inline style was immediately after the existing Chrome material CSS link. Migrate the complete CSS string unchanged to the **END** of the immediately preceding existing `assets/mixer-chrome-material.css` and remove only the three HTML style elements. Therefore **old Chrome CSS + old inline CSS = new Chrome CSS** byte-for-byte, including every declaration and its original order. No new stylesheet or selector. No new priority or removal of any premium highlight/gradient.

Chrome owns rail, route-choice, WIRE physical surfaces, toolbar and the late material/glow corrections. Later component CSS owners retain their exact relative cascade order. The only changed link is Chrome's cache version, ensuring both published WebView build and native-asset resolver receive the new owner source.

The move itself **is not a stylesheet byte saving** (CSS bytes are moved from HTML to an existing owner); it removes 13,043 CSS characters and two empty style tags from the HTML, giving one less in-document styling surface and clear inspectable ownership.

## Explicit guardrails

- Preserve exact actual approved /preview/ assembly, PNG MUTE/SOLO/PFL keys, V59 V8 WIRE behavior and GUI/Engine integration contracts; do not publish /preview-v2/ as a separate UI.
- `tests/fixtures/css-v28-inline-chrome-owner.json` records exact source CSS/HTML with fingerprints and unchanged 118 `!important` migrated declarations.
- `tests/css_v28_restore.py` reconstructs **byte-exact 46f600b143c8ef000a717ccb79a9c841a2589766** internal source HTML and Chrome CSS; its cheap source lock runs on **every** GUI CI.
- `tests/pages_css_architecture_v28_smoke.py` compares reconstructed pre-V28 vs new actual DOM on five responsive viewports × eight rail-folds; three responsive viewport pseudo-state, interactive, material and token checks; all real `.app` elements with 48 computed style properties over nine viewport/density modes.
- Run expensive V28 Chromium comparison on `css/v28-*` PR, manually, or release-integration PR. Other iterative PRs keep fast default CI.
- The existing `tests/gui_baseline_lock_test.py` contract and all current `AGENTS.md`, `scripts/build_pages.py`, Pages redirect and single-preview checks are **untouched**. In particular, no incorrect assertion that /preview-v2/ is the approved public GUI.
- Older historical V8–V27 migration fixtures remain immutable, with their same pinned source checks/restore.

## NEXT CSS V29

Remove only verifiably overwritten physical material declarations and CSS cascade conflicts from the existing Chrome owner, with full same-selector/priority/media context analysis and all responsive computed-state parity. Avoid moving live rules between nonadjacent owner sheets. Strengthen generated `/preview/` visual parity as native stitch progresses.

**Approved /preview/ premium layout is binding; no visual redesign, no extra alternate GUI, no JS/ENGINE modification.**
248 changes: 248 additions & 0 deletions site/preview-v2/assets/mixer-chrome-material.css
Original file line number Diff line number Diff line change
Expand Up @@ -1241,3 +1241,251 @@ html :where(.app, .app *),html :where(.app, .app *)::before,html :where(.app, .a
.command-bar>.wire-command{display:none!important}
.more-tools-panel .wire-overflow{display:block!important}
}
/* V15 original physical patch connectors: filled bronze/silver OUT jack, recessed
hollow IN socket. Calm console design; route highlight only on actual intent.
Compact always keeps the wires visible; expanded has more cable canvas. */@media(max-height:680px){
}
.route-choice[hidden]{display:none!important}
.route-choice{
position:absolute;z-index:30;box-sizing:border-box;width:280px;
border:1px solid #5c8090;border-radius:6px;background:#1b2d38;
color:#cde0e8;padding:10px;box-shadow:0 8px 28px #0009,inset 0 1px #bfdbe41c;
font:11px/1.4 'Segoe UI',Arial,sans-serif;
}
.route-choice-head{display:flex;justify-content:space-between;align-items:center;
font-weight:650;color:#e5f6f8;font-size:12px;padding-bottom:7px;
border-bottom:1px solid #56707a5c;}
.route-choice-head button{background:#283f4c;border:1px solid #486778;
color:#d9ebed;border-radius:3px;width:25px;height:23px;cursor:pointer}
.route-choice-description{color:#aac4cc;font-size:10px;padding:9px 0}
.route-choice-option{display:flex;align-items:center;text-align:left;gap:9px;
width:100%;padding:9px 8px;margin-top:5px;border:1px solid #42616c;
border-radius:4px;background:#263c48;color:#e1f2ef;cursor:pointer}
.route-choice-option:hover{background:#315261;border-color:#9bc8c8}
.route-choice-option.primary{border-color:#4b9d7a;background:#244638}
.route-choice-option.primary:hover{background:#31634c}
.route-choice-option strong{font:600 11px/15px 'Segoe UI',Arial,sans-serif}
.route-choice-option small{display:block;color:#a8c7c9;font-size:10px;line-height:14px}
.route-choice-option .choice-symbol{font-size:20px;color:#a7eec5}
.route-choice-foot{color:#91b1b9;font-size:9px;padding-top:9px}
.route-choice-option:focus-visible,.route-choice-head button:focus-visible{outline:2px solid #b0ebd8;outline-offset:2px}
@media(max-width:1100px){
.console-body.wire-routing-v15 .wire-tray{gap:2px!important;padding-inline:2px!important}
.console-body.wire-routing-v15 .wire-node-out,
.console-body.wire-routing-v15 .wire-node-in{width:25px!important;min-width:25px!important;flex-basis:25px!important}
}

/* V16: When BOTH expandable FX and SEND are closed, reclaim the blank
upper volume for the calibrated fader even if ROUTE is still expanded.
Any other upper combination retains the anchored lower deck. */
.console-body.collapsed-fx.collapsed-send .strip .pan-section,
.console-body.collapsed-fx.collapsed-send .section-rail>.rail-cell.pan{margin-top:0!important}
.console-body.collapsed-fx.collapsed-send .strip .fader-section,
.console-body.collapsed-fx.collapsed-send .section-rail>.rail-cell.fader{
flex:1 1 var(--v13-fader-h)!important;height:auto!important;
min-height:var(--v13-fader-h)!important;max-height:none!important;
}
/* Front edge: this slender, non-interactive seam sits OVER the metal
compartments instead of disappearing beneath panel backgrounds. */
.console-body .strip{position:relative!important;isolation:isolate}
.console-body .strip::after{
content:"";position:absolute;right:0;top:0;bottom:0;width:1px;
background:#061722;box-shadow:-1px 0 #8babb538;
z-index:15;pointer-events:none;
}
.console-body .strip.channel-dragging{opacity:.55!important}
.console-body .strip.channel-drop-before::before,
.console-body .strip.channel-drop-after::before{
content:"";position:absolute;top:0;bottom:0;width:3px;
background:#8ce3f1;z-index:18;pointer-events:none;
}
.console-body .strip.channel-drop-before::before{left:0}
.console-body .strip.channel-drop-after::before{right:0}
.console-body .strip-identity-top[draggable="true"]{cursor:grab}
.console-body .strip-identity-top[draggable="true"]:active{cursor:grabbing}

/* V16: the WIRE graph is an upper compartment. When SEND is folded
the sockets and cable illustration are invisible, leaving only a
clean 23px disclosure row; model fan-out remains untouched. */@media(max-height:680px){.console-body.wire-routing-v15.collapsed-send{--send-h:23px!important}}
.console-body.wire-routing-v15.collapsed-send .routing-wire-overlay{display:none!important}
/* V19 collapsed-section contract: DAW-like discreet labels and state indicators.
No rotated words, pseudo-caption OPEN/PATCH, blur, glow or extra layout rows. */
.console-body .section-rail>.rail-cell[data-section]{
font:500 9px/1.1 Arial,Helvetica,sans-serif!important;
font-style:normal!important;letter-spacing:0!important;
color:#a0b7c1!important;background:#1d303a!important;
border-left:2px solid #233640!important;
text-shadow:none!important;transition:none!important;
border-top:0!important;
}
.console-body.wire-routing-v13 .section-rail>.rail-cell.send{
background:#182b35!important;color:#9aafb9!important;
}
.console-body .section-rail>.rail-cell[data-section].collapsed{
background:#182934!important;color:#748e9b!important;
border-left-color:#314a57!important;
box-shadow:inset 1px 0 #536f7c30!important;
}
.console-body .section-rail>.rail-cell[data-section]:not(.collapsed){
border-left-color:#8bcdd5!important;
box-shadow:inset 1px 0 #a4dde054!important;
}
.console-body .section-rail>.rail-cell[data-section]:hover{
background:#2a424d!important;color:#e3eff2!important;
}
.console-body .section-rail>.rail-cell[data-section]::after,
.console-body.wire-routing-v13 .section-rail>.rail-cell.send::after,
.console-body.wire-routing-v13.collapsed-send .section-rail>.rail-cell.send::after{
content:""!important;display:block!important;
position:absolute!important;right:2px!important;top:4px!important;
width:3px!important;height:3px!important;
border:solid currentColor!important;border-width:0 1px 1px 0!important;
transform:rotate(45deg)!important;opacity:.75!important;
background:transparent!important;font-size:0!important;
}
.console-body .section-rail>.rail-cell[data-section].collapsed::after,
.console-body.wire-routing-v13.collapsed-send .section-rail>.rail-cell.send::after{
transform:rotate(-45deg)!important;
}
.console-body .section-rail .rail-cell.route,
.console-body .section-rail .rail-cell.fx,
.console-body .section-rail .rail-cell.send{
padding:0 2px 0 0!important;justify-content:center!important;
}
/* The collapsed WIRE rack stays exactly 23px. FX/fader geometry is unchanged. */


/* V22 CLEAN HARDWARE KEY + SELECTION + FADER CONTRACT
The material is intentionally smooth: one uninterrupted face gradient.
A separate STATIC socket wrapper owns the hole, recess and overlaid metal
bezel. Only the button child moves 1px. No blur or filter. This repairs
the V20 wavy/zebra shading and the buried channel selection highlight. */

/* Thin internal light (not glowing) — no repeated bright/dark bands. */
:is(.command-bar button.tool,.command-bar summary.tool,.more-tools-panel button.tool,
.console-body .strip .switch-section button.switch,
.identity-actions button.console-control,.plugin-footer button,
.route-choice-head button,.route-choice-option,button.hw-key) {
background:linear-gradient(180deg,
var(--am-hw-key-bright) 0%,
var(--am-hw-key-face) 42%,
var(--am-hw-key-deep) 100%)!important;
box-shadow:var(--am-hw-key-relief)!important;
filter:none!important;
backdrop-filter:none!important;
-webkit-backdrop-filter:none!important;
transition:none!important;
}
:is(.command-bar button.tool,.command-bar summary.tool,.more-tools-panel button.tool,
.console-body .strip .switch-section button.switch,
.identity-actions button.console-control,.plugin-footer button,
.route-choice-head button,.route-choice-option,button.hw-key):hover {
filter:none!important;
}
:is(.command-bar button.tool,.command-bar summary.tool,.more-tools-panel button.tool,
.console-body .strip .switch-section button.switch,
.identity-actions button.console-control,.plugin-footer button,
.route-choice-head button,.route-choice-option,button.hw-key):active:not(:disabled) {
transform:translateY(1px)!important;
box-shadow:var(--am-hw-key-flat)!important;
}
/* Static bezel structure deliberately resides OUTSIDE the button element.
::after has z-index 4 over button (z-index 2); pointer-events:none, and
never inherits keycap's transform, MUTE state, or active/hover behavior. */





/* No rectangular mask over switch text: upper bezel is ONLY 1px edge,
mounted in the parent frame, not a moving overlay on the cap. */
.console-body .strip .switch-section {
align-items:flex-start!important;
}
/* V22 fader: keep original metal PNG, size it ~11% smaller; increase the
full calibration travel consistently across master, channel and rail.
FX absorbs up to 6px extra fader height only when viewport allows; short screens keep original dock. */
/* Selected channel border is ON TOP of every sub-panel, never buried.
Reuse the existing root strip::after instead of adding DOM nodes or
using strip's background/inset-box-shadow behind opaque children. */
.console-body .strip.selected {
z-index:2!important;
}
.console-body .strip.selected::after {
content:""!important;position:absolute!important;
inset:0!important;width:auto!important;height:auto!important;
z-index:60!important;pointer-events:none!important;
border:2px solid var(--ch,#7ed5e4)!important;
border-radius:0!important;
background:transparent!important;

}
/* Preserve drag-drop insert indicators without suppressing selected rim. */
.console-body .strip.channel-drop-before::before,
.console-body .strip.channel-drop-after::before{z-index:61!important}
/* GPU budget: no blurred shading, translucent full-page overlays or
per-strip will-change compositor promotion. Keep interactions responsive. */
.console-body .strip,.console-body .strip::after,
.console-body .strip .hw-switch-socket {
will-change:auto!important;
filter:none!important;
backdrop-filter:none!important;
-webkit-backdrop-filter:none!important;
}


/* V22: iconography faithfully traced from approved wire + FX references.
Inline SVGs are single-pass vector paint; no icon fonts or image requests. */
.console-body .section-rail .rail-svg-icon{
width:16px!important;height:16px!important;
display:block;flex:none;overflow:visible;pointer-events:none;
color:inherit;fill:currentColor;opacity:.94;
}
.console-body .section-rail .rail-cell.fx .rail-svg-icon{width:16px!important;height:16px!important}
.console-body .section-rail .rail-cell.send .rail-svg-icon{width:16px!important;height:16px!important}
.console-body .section-rail .rail-cell.route .rail-svg-icon{width:16px!important;height:16px!important}
.console-body .section-rail .rail-cell[data-section]:hover .rail-svg-icon{opacity:1}
.console-body .section-rail .rail-cell[data-section].collapsed .rail-svg-icon{opacity:.76}


/* V25 UX: compact physical WIRE, taller fader, thin selected rim,
sharp offline Google Material SVG icons; all same strip+rail tokens. */
.console-body.wire-routing-v15:not(.collapsed-send){
--send-h:112px!important;
}
@media(max-height:680px){
.console-body.wire-routing-v15:not(.collapsed-send){--send-h:102px!important}
}/* Icons are inline Material vectors: independent of OS font fallback,
external CDN, SVG filters and extra fonts; keep buttons tactile. */
.mi-svg{display:inline-block;vertical-align:middle;flex:0 0 auto;pointer-events:none}
.mixer-title .panel-sub{display:inline-flex;align-items:center;justify-content:center}
.route-choice-option .choice-symbol{display:inline-flex;align-items:center;justify-content:center}
#preview .mi-svg{margin-right:3px}


/* V27 narrow console QA: toolbar operations must never run into each
other at laptop widths. Keep drop-down overflow visible. */
@media(max-width:1360px){
.command-bar{gap:4px!important;padding-inline:5px!important;min-width:0!important}
.command-bar>.toolbar-label{display:none!important}
.command-bar>.sep{display:none!important}
.command-bar>#bankSelect{width:clamp(104px,12vw,142px)!important;min-width:100px!important;max-width:142px!important;flex:0 1 auto!important}
.command-bar>#densitySelect{width:102px!important;min-width:83px!important;max-width:105px!important;flex:0 1 auto!important}
.command-bar>#sofTarget{width:74px!important;min-width:55px!important;max-width:85px!important;flex:0 1 auto!important}
.command-bar>#sceneSelect{width:71px!important;min-width:52px!important;max-width:77px!important;flex:0 1 auto!important}
.command-bar>#sofToggle{min-width:0!important;max-width:140px!important;overflow:hidden!important;text-overflow:ellipsis!important}
.command-bar>.tool,.command-bar>.more-tools{flex-shrink:0!important}
.command-bar>.tool:not(.bank-arrow){padding-inline:7px!important}
}
@media(max-width:1030px){
.command-bar>#sofToggle{max-width:100px!important}
.command-bar>#clearCue{max-width:77px!important;overflow:hidden!important;text-overflow:ellipsis!important}
}

/* V28 FADER HEIGHT — regain visual travel from unused FX whitespace.
All strips and rail share --v13-fader-h, no change to knob asset or lower anchors. */
.console-body{--v13-fader-h:clamp(160px,calc(100dvh - 584px),530px)}
/* WIRE stays sharply painted: no blur, shared ferrule or SVG filters. */
.routing-wire-overlay path{filter:none!important;pointer-events:none}


Loading
Loading