From 7f1923f9a8c39f90d3fa2c01f05c3676e7ca39d1 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Mon, 9 Nov 2026 20:49:57 +0700 Subject: [PATCH 01/21] feat(desktop): custom JUCE SVG caption, ArSonMiX brand and event-driven wire geometry --- .../assets/mixer-chrome-material.css | 18 +++ site/preview-v2/index.html | 41 +++++- src/ArSonWindowChrome.h | 126 ++++++++++++++++++ src/Main.cpp | 13 +- ...ve_caption_wire_geometry_contract.test.cjs | 30 +++++ web/approved-native-bridge.js | 3 + 6 files changed, 225 insertions(+), 6 deletions(-) create mode 100644 src/ArSonWindowChrome.h create mode 100644 tests/native_caption_wire_geometry_contract.test.cjs diff --git a/site/preview-v2/assets/mixer-chrome-material.css b/site/preview-v2/assets/mixer-chrome-material.css index 4e6cddea4..9b054a2aa 100644 --- a/site/preview-v2/assets/mixer-chrome-material.css +++ b/site/preview-v2/assets/mixer-chrome-material.css @@ -1489,3 +1489,21 @@ html :where(.app, .app *),html :where(.app, .app *)::before,html :where(.app, .a .routing-wire-overlay path{filter:none!important;pointer-events:none} + +/* Desktop JUCE titlebar: one real OS window caption, no doubled WebView header. + The public interactive browser reference keeps its own top identity bar. */ +html.armix-native-desktop .app > .window-title{display:none!important} +.window-title .logo{display:inline-flex!important;align-items:center;gap:0;letter-spacing:.015em} +.window-title .logo .armix-brand-ar{color:#48d5f3} +.window-title .logo .armix-brand-son{color:#eff8fa} +.window-title .logo .armix-brand-mix{color:#ffad59} +/* Compact consistent operator toolbar spacing, preserving existing BTN-180 skin. */ +.app .command-bar{ + min-height:34px!important;align-items:center!important;column-gap:5px!important; + padding-left:9px!important;padding-right:9px!important; +} +.app .command-bar>.sep{margin-left:2px!important;margin-right:2px!important} +.app .command-bar .toolbar-label{font-size:9px!important;letter-spacing:.06em} +@media(max-width:1220px){ + .app .command-bar{column-gap:3px!important;padding-left:5px!important;padding-right:5px!important} +} diff --git a/site/preview-v2/index.html b/site/preview-v2/index.html index c2fa7648b..724f78ea2 100644 --- a/site/preview-v2/index.html +++ b/site/preview-v2/index.html @@ -30,7 +30,7 @@
-
Mixer · Reference SessionOPERATOR-FIRST · SINGLE LIVE CONSOLE REFERENCE
+
Mixer · Reference SessionOPERATOR-FIRST · SINGLE LIVE CONSOLE REFERENCE