From 3abc45985a467e3fc056117bb7c9d07cd9ebb218 Mon Sep 17 00:00:00 2001 From: librelad Date: Sat, 30 May 2026 01:56:12 +0100 Subject: [PATCH] refactor(webui): relocate dashboard into features/dashboard/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move dashboard.js + dashboard.css into the feature folder (kept eager-linked from the new paths in index.html — dashboard.js stays eager because system-loader calls its bare globals at boot). No reference sites outside index.html (the feature's index.js uses globals, not the controller path). Co-Authored-By: Claude Opus 4.8 Signed-off-by: librelad --- .../frontend/{css => features/dashboard}/dashboard.css | 0 .../{js/components => features/dashboard}/dashboard.js | 0 containers/libreportal/frontend/index.html | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename containers/libreportal/frontend/{css => features/dashboard}/dashboard.css (100%) rename containers/libreportal/frontend/{js/components => features/dashboard}/dashboard.js (100%) diff --git a/containers/libreportal/frontend/css/dashboard.css b/containers/libreportal/frontend/features/dashboard/dashboard.css similarity index 100% rename from containers/libreportal/frontend/css/dashboard.css rename to containers/libreportal/frontend/features/dashboard/dashboard.css diff --git a/containers/libreportal/frontend/js/components/dashboard.js b/containers/libreportal/frontend/features/dashboard/dashboard.js similarity index 100% rename from containers/libreportal/frontend/js/components/dashboard.js rename to containers/libreportal/frontend/features/dashboard/dashboard.js diff --git a/containers/libreportal/frontend/index.html b/containers/libreportal/frontend/index.html index ef54dd6..2c72f8d 100755 --- a/containers/libreportal/frontend/index.html +++ b/containers/libreportal/frontend/index.html @@ -34,7 +34,7 @@ - + - +