From 6833e9f3a8d7835cfae2a22649da1bd0e42e62a7 Mon Sep 17 00:00:00 2001 From: znetsixe Date: Mon, 18 May 2026 11:10:54 +0200 Subject: [PATCH] feat(mgc): consume shared icon-picker visuals + modernize editor menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * compact-fields.js (new): trimmed to MGC-only output-format pickers (processOutputFormat / dbaseOutputFormat). The logger toggle/level and physical-position visuals now come from generalFunctions' shared iconHelpers, auto-injected via /machineGroupControl/menu.js. * mode-cards.js: strategy cards re-styled — Most-efficient (BEP bell with dot on the curve peak), Priority (clean staircase), Maintenance (Font Awesome fa-wrench). Rendezvous toggle flips Active / Inactive label dynamically. * mgc.html: dropped the duplicated .mgc-icon-* CSS rules (now live in the shared iconHelpers stylesheet). Strategy + rendezvous CSS stays local (MGC-specific). Output picker holders switched to the shared .evolv-icon-picker class. Co-Authored-By: Claude Opus 4.7 (1M context) --- mgc.html | 84 ++++++++++--------- src/editor/compact-fields.js | 92 +++++++++++++++++++++ src/editor/mode-cards.js | 151 +++++++++++++++++------------------ src/editor/oneditprepare.js | 6 ++ 4 files changed, 218 insertions(+), 115 deletions(-) create mode 100644 src/editor/compact-fields.js diff --git a/mgc.html b/mgc.html index acfb330..87e189f 100644 --- a/mgc.html +++ b/mgc.html @@ -15,24 +15,41 @@ dependency order: index.js (namespace + helpers) → modules → oneditprepare. --> +