Skip to content

fix(theme): Aurora parity — edit-modal tabs, routes buttons, GC contract, rdp-session - #167

Merged
CallMeTechie merged 2 commits into
masterfrom
fix/aurora-parity-routes-editmodal-gc
Jun 23, 2026
Merged

CallMeTechie merged 2 commits into
masterfrom
fix/aurora-parity-routes-editmodal-gc

Conversation

@CallMeTechie

Copy link
Copy Markdown
Owner

Aurora hatte mehrere Dinge übersehen, die vom Default-Theme kopiert, aber nie auf den Pro-Superset gehoben wurden. Diese Runde behebt die von dir genannten Punkte + den gemeinsamen Root-Cause.

Behoben

  1. Route-Edit-Modal-Tabs funktionierten nicht (auch „general' war leer): aurora.css erzwang .edit-route-panel{display:none} und zeigte per .active-Klasse — der geteilte JS-Handler schaltet Panels aber per Inline-style.display (aktiv = display:'' → Stylesheet-Wert = none). Fix: kein display:none-Zwang mehr (Fade bleibt).
  2. routes/ Buttons fehlten: „Service anlegen' (#btn-add-service) + „Drucker einrichten' (#open-printer-preset) + das komplette Printer-Preset-Wizard-Modal ergänzt.
  3. ROOT-CAUSE (toter Printer-Wizard): aurora/layout.njk window.GC war von default kopiert — nur 1 von 6 Lizenz-Features (es fehlten gateway_tcp_routing/scan_egress/l4_routes/http_routes/browser_sessions) und 33 GC.t-Keys (alle printer_preset.*, common.close/loading, rdp.badge.browser). Durch Pros vollständigen Block ersetzt.
  4. aurora/pages/rdp-session.njk fehlte komplett → Öffnen einer Browser-RDP-Sitzung als Aurora-Nutzer warf 500 (TemplateNotFound). Ergänzt (Pro-Body + Aurora-Head).

Verifikation (headless-chromium)

Tabs schalten alle 6 · Service- + Printer-Modal öffnen (Printer-Body gefüllt) · rdp-session rendert 200 · aurora_theme.test.js 144/0 · keine JS-Fehler.

Noch offen (separater Folge-PR, im Audit gefunden)

rdp ssh-auth-mode + Confirm-Modal, logs-Pagination, gateway-pools pools-table. Dashboard/peers/dns-Stats sind als KPIs/Donuts bewusst redesignt.

…act, rdp-session

Aurora was missing several things ported from default/never lifted to the pro
superset. This restores them:

- Route-edit modal tabs never switched (and even 'general' was blank): aurora.css
  forced .edit-route-panel{display:none} and showed via a .active class, but the
  shared JS toggles panels by inline style.display (active = display:''→stylesheet).
  So every panel fell back to none. Fixed to not force display:none (keeps fade).
- routes/ page was missing the 'Create service' (#btn-add-service) and 'Set up
  printer' (#open-printer-preset) buttons + the entire printer-preset wizard modal
  markup. Added all three (printer button auto-shows when gateway TCP routing is
  licensed, same as pro).
- ROOT CAUSE for the dead printer wizard: aurora/layout.njk's window.GC block was
  copied from default and never updated to the pro superset — it injected only 1 of
  6 license features (missing gateway_tcp_routing/scan_egress/l4_routes/http_routes/
  browser_sessions) and was missing 33 GC.t keys (all printer_preset.*, common.close/
  loading, rdp.badge.browser). Replaced with pro's full window.GC block.
- aurora/pages/rdp-session.njk did not exist → opening a browser RDP session as an
  Aurora user 500'd (TemplateNotFound). Added it (pro body + aurora head: pro.css +
  aurora.css, data-theme + no-FOUC mode script, aurora fonts).

Aurora-only. Verified with headless-chromium: tabs switch, service+printer modals
open, rdp-session renders 200, aurora_theme.test 144/0.
…de selector

- logs/ page dropped the #activity-pagination and #access-pagination containers
  that logs.js fills → activity/access logs couldn't be paged. Restored both.
- rdp/ edit form was missing the #rdp-ssh-auth-mode segment (Password vs Private
  key) that rdp.js shows for SSH routes (#rdp-ssh-auth-seg + .rdp-auth-opt[data-
  auth-mode]). Restored, styled with aurora's toggle-group/toggle-btn.

(The pro #rdp-confirm-* modal was NOT ported — it is dead markup in pro too; rdp.js
confirms via native confirm() with GC.t keys, now present after the layout fix.)

Aurora-only. aurora_theme.test 144/0; rdp + logs render clean.
@CallMeTechie
CallMeTechie merged commit 401c5d9 into master Jun 23, 2026
8 checks passed
@CallMeTechie
CallMeTechie deleted the fix/aurora-parity-routes-editmodal-gc branch June 25, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant