From e20a8398c61eea55a530cfa54363534d9f79cdde Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Mon, 25 May 2026 08:28:06 +0000 Subject: [PATCH] feat(visual-rewrite): drop the CSS framework, adopt the gui_preview design system across every page (v0.7.5) PR #6 of the v0.7.x GUI rework arc, and its close-out. Production code; central-gui restart only (templates + a static stylesheet; supervisor untouched). The v0.7.0-v0.7.4 arc shipped the FEATURES the gui_preview.html mock shows (chip-pickers, active pills, markercluster + shape/opacity markers, collapsed grouped legend, real paginator, telemetry tab) but on top of the old CSS framework. v0.7.5 closes the visual gap: the framework is removed entirely and replaced by a hand-authored design system that IS the preview (neutral greys, a single blue accent, 6px radii, 14px type, bordered cards/tables). - New static/css/central.css: design tokens + element base (forms, buttons, tables, cards, nav) + every events-feed component, authored so the existing template class names + element IDs the page JS/HTMX depends on (.chip-picker*, .events-table, .event-row, .legend-chip, .evt-marker, #fit-to-results, #map-filter-toggle, ...) render in the preview's language unchanged. Mounted at /static (already wired in __init__.py); linked from base.html + base_wizard.html. - base.html / base_wizard.html: framework removed; nav restructured to the preview shell (.nav / .brand / .nav-links / .logout-btn); flash messages moved off framework color vars to .flash-* classes. - events_list.html: 190-line inline {% endblock %} {% block content %} @@ -206,9 +18,7 @@

{{ "Telemetry" if base_path == "/telemetry" else "Events" }}

{% if filter_error %} -
- Filter Error: {{ filter_error }} -
+ {% endif %} {% from "_chip_picker.html" import chip_picker %} @@ -232,7 +42,7 @@ {# Time preset dropdown (bespoke; not a chip-picker). #}
-