From 378af32c1d7eb54160f9aea1d420f556ee1e3111 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Sun, 12 Jul 2026 22:15:48 -0400 Subject: [PATCH] Rebuild GE-Enforce editor: themed (Fable redesign) + semantics-aware targeting Replace the generic field-dump editor with the Fable-coordinated redesign (stock .section-card / .settings-grid / .setting-row / .table-container / badge / btn primitives, opaque global .modal on --bg-card-solid, proper modal-header/body/footer), then layer the manifest semantics on top: - CONTEXTUAL targeting: an entry only shows the gates its scope actually uses, instead of every gate on every entry. Data-driven + scope-aware - common/preinstall (fleet-wide) show PC types; CMM shows the version gate; a scope whose entries use machine numbers (collections) shows those; hostnames show when used. A short explainer states why (a per-type manifest already runs only on its own type), and "Show all targeting options" reveals everything. Hidden gates keep their value on save (no data loss). - Preserves all functionality: type-switched payload blocks, detection reveal, structured InUseCheck rows (name/ExePath/timeout), LogFile, preinstall checkboxes, simulate, publish/versions/rollback, export. Entry modal widened to min(1100px,96vw). EnforcementReports adopts the themed redesign (filters, card > table-container, badge-mapped statuses, global modal) with the error handling kept. Co-Authored-By: Claude Opus 4.8 --- .../views/geenforce/EnforcementReports.vue | 174 ++-- .../src/views/geenforce/ManifestEditor.vue | 913 ++++++++++++------ 2 files changed, 692 insertions(+), 395 deletions(-) diff --git a/frontend/src/views/geenforce/EnforcementReports.vue b/frontend/src/views/geenforce/EnforcementReports.vue index ef6e095..a0aa093 100644 --- a/frontend/src/views/geenforce/EnforcementReports.vue +++ b/frontend/src/views/geenforce/EnforcementReports.vue @@ -1,72 +1,102 @@