From 6c2a149f9664d9bed3cffec7a86dffe20a0a089b Mon Sep 17 00:00:00 2001 From: Jonas <77726472+kobolol@users.noreply.github.com> Date: Sat, 18 Apr 2026 23:02:01 +0200 Subject: [PATCH] Add global app banners and integrate into layout Introduce a global app banners store (GUI/src/stores/appBanners.ts) and switch authentication error/notification flows to use it. GUI/src/Layout.vue now consumes the banner store, replaces the single snackbar with a stacked, dismissible banner UI (styles, transitions and z-index included), and adds navigateToBrandTarget() to route the brand button based on auth state. GUI/src/routes/authentication/Login.vue was updated to push errors to the new banner store and remove the local alert. Minor route adjustments in GUI/src/plugins/routesLayout.ts: rename 'Dash' to 'Dashboard' and change Login visibility to Unauthenticated. codexInfo.md updated to document these UI/behavior changes. --- GUI/src/Layout.vue | 145 ++++++++++++++++++++---- GUI/src/plugins/routesLayout.ts | 4 +- GUI/src/routes/authentication/Login.vue | 23 ++-- GUI/src/stores/appBanners.ts | 82 ++++++++++++++ codexInfo.md | 9 ++ 5 files changed, 226 insertions(+), 37 deletions(-) create mode 100644 GUI/src/stores/appBanners.ts diff --git a/GUI/src/Layout.vue b/GUI/src/Layout.vue index 15c4851..6d9b0af 100644 --- a/GUI/src/Layout.vue +++ b/GUI/src/Layout.vue @@ -1,5 +1,6 @@