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
13 changes: 13 additions & 0 deletions site/preview-v2/assets/mixer-chrome-material.css
Original file line number Diff line number Diff line change
Expand Up @@ -1556,3 +1556,16 @@ html.armix-native-desktop .app .command-bar>.toolbar-label{
column-gap:4px!important;padding-inline:5px!important;
}
}

/* V60 operator fader reach — authoritative MECHANICAL CHROME height owner.
The original V28 declaration above remains intact for migration fixtures.
Source, BUS/FX, pinned MASTER and section rail all share --v13-fader-h;
this grows physical travel while the FX rack gives up only elastic space.
No cap bitmap, dB scale, bridge or WIRE geometry is changed here. */
.console-body{--v13-fader-h:clamp(198px,calc(100dvh - 538px),550px)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the assembled console's actual fader-height authority

In the approved assembled /preview/, these declarations cannot increase physical fader travel. scripts/build_pages.py calls apply_operator_ux(), which appends an !important declaration for the same token and injects installConsoleSplit(). That bootstrap then sets --v13-fader-h as an inline !important value computed from the existing half-console layout, overriding all three new rules at startup and on resize. Consequently, the shipped GUI retains its previous fader height despite this corrective change. Update the composition/bootstrap height calculation rather than only the internal source stylesheet.

AGENTS.md reference: AGENTS.md:L139-L140

Useful? React with 👍 / 👎.

@media(max-height:850px){
.console-body{--v13-fader-h:clamp(194px,calc(100dvh - 538px),390px)}
}
@media(max-height:610px){
.console-body{--v13-fader-h:clamp(155px,32dvh,210px)}
}
11 changes: 0 additions & 11 deletions site/preview-v2/assets/mixer-fader-assembly.css
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,3 @@
filter:none!important;
}

/* V60 taller console fader: use ONE shared height for source channels,
pinned MASTER and the section rail. Reclaim space only from the elastic
FX workspace; never scale the approved SVG/PNG cap or move its dB ticks.
Short displays get a bounded travel instead of clipping the strip. */
.console-body{--fader-fixed-h:clamp(270px,35vh,390px)}
@media(max-height:850px){
.console-body{--fader-fixed-h:clamp(225px,37vh,310px)}
}
@media(max-height:610px){
.console-body{--fader-fixed-h:clamp(175px,32vh,210px)}
}
8 changes: 5 additions & 3 deletions tests/pages_v60_fader_wire_tactile_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
ROOT=Path(__file__).resolve().parents[1]
HTML=(ROOT/"site/preview-v2/index.html").read_text("utf-8")
FADER=(ROOT/"site/preview-v2/assets/mixer-fader-assembly.css").read_text("utf-8")
CHROME=(ROOT/"site/preview-v2/assets/mixer-chrome-material.css").read_text("utf-8")
WIRE=(ROOT/"site/preview-v2/assets/mixer-wire-dots.css").read_text("utf-8")


Expand All @@ -26,8 +27,9 @@ def source_contract():
"line.style.setProperty('--wire-selected-hue'"):
assert text in HTML,("missing tactile contract",text)
assert "elapsed<1600" not in HTML
assert "--fader-fixed-h:clamp(270px,35vh,390px)" in FADER
assert "--fader-fixed-h:clamp(175px,32vh,210px)" in FADER
assert "--v13-fader-h:clamp(198px,calc(100dvh - 538px),550px)" in CHROME
assert "--v13-fader-h:clamp(155px,32dvh,210px)" in CHROME
assert "--fader-fixed-h:clamp(" not in FADER
assert "stroke:transparent!important;" in WIRE
assert "stroke-width:5.6px!important;opacity:1!important;" in WIRE
assert "stroke-dasharray:none!important;" in WIRE
Expand Down Expand Up @@ -61,7 +63,7 @@ def exercise(page,width,height):
a,b,c=layout["fader"],layout["master"],layout["rail"]
assert all(x and x["h"]>0 for x in (a,b,c)),layout
assert abs(a["h"]-b["h"])<2 and abs(a["h"]-c["h"])<2,(width,layout)
min_height=300 if height>=1000 else (275 if height>=850 else 210)
min_height=350 if height>=1000 else (310 if height>=850 else 250)
assert a["h"]>=min_height,(width,"tall hardware fader lower bound",layout)
print("V60 geometry",width,height,"fader",a["h"],"CSS token",layout["token"],"flex",layout["flex"])
assert layout["travel"]["h"]>a["h"]-110,(width,layout)
Expand Down
Loading