diff --git a/VERSION b/VERSION index 0fb030c..c52d370 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.37.5 \ No newline at end of file +0.37.6 \ No newline at end of file diff --git a/server/pages/templates/surfaces/admin.html b/server/pages/templates/surfaces/admin.html index 569ea55..fda44a4 100644 --- a/server/pages/templates/surfaces/admin.html +++ b/server/pages/templates/surfaces/admin.html @@ -1,78 +1,18 @@ {{/* - Admin surface — matches switchboard-prototype-admin.jsx. - Full-page layout: topbar (with category tabs) + left nav + content area. - JS (admin-handlers.js, ui-admin.js) populates dynamic sections. + Admin surface — v0.37.6: Full Preact component tree. + Replaces server-rendered DOM with a mount point. + All 24 sections are native Preact components. */}} {{define "surface-admin"}} -
- - {{/* Top Bar */}} -
- - - Back - -
- Administration - - {{/* Category tabs */}} -
- {{$section := .Section}} - {{$base := .BasePath}} - - - People - - - - AI - - - - Workflows - - - - Routing - - - - System - - - - Monitoring - -
-
- -
- {{/* Left Nav — populated by admin-scaffold.js from ADMIN_SECTIONS */}} -
- - {{/* Content Area */}} -
-
-

{{$section}}

-
- - -
-
- {{/* Populated by admin-handlers.js */}} -
Loading…
-
-
-
+
+ {{/* Preact renders into this div. Show a loading state until it mounts. */}} +
Loading admin…
+{{/* Modals — kept outside mount for legacy compat during transition. */}} +{{/* These will be removed once all modal usage is confirmed replaced by Dialog primitives. */}} + {{/* Create User modal */}}