From cf35e2196026b6ebb803e4e015ec61172a7876ae Mon Sep 17 00:00:00 2001 From: numen-bot Date: Mon, 16 Mar 2026 04:59:07 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20hotfix=20round=202=20=E2=80=94=205=20adm?= =?UTF-8?q?in=20UI=20bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 1: Fix media upload URL — change /v1/media to /api/media in MediaUploadZone.vue and Media/Index.vue (all fetch/XHR calls). Bug 2: Fix Knowledge Graph 401 — add credentials: same-origin and X-XSRF-TOKEN header to fetch in KnowledgeGraphViewer.vue so Sanctum session auth works. Bug 3: Fix Locales page — route now passes locales and supported props via LocaleService instead of rendering with empty props. Bug 4: Fix Plugins page — route now queries Plugin model and passes PluginResource collection as props instead of empty array. Bug 5: Fix Chat FAB overlap — use v-show="!isOpen" on the FAB button to hide it completely when sidebar is open, preventing overlap with input area. --- resources/js/Components/Chat/ChatSidebar.vue | 7 ++---- .../Components/Graph/KnowledgeGraphViewer.vue | 8 ++++++- .../js/Components/Media/MediaUploadZone.vue | 2 +- resources/js/Pages/Media/Index.vue | 4 ++-- routes/web.php | 22 +++++++++++++++---- 5 files changed, 30 insertions(+), 13 deletions(-) diff --git a/resources/js/Components/Chat/ChatSidebar.vue b/resources/js/Components/Chat/ChatSidebar.vue index aea190d..d867a50 100644 --- a/resources/js/Components/Chat/ChatSidebar.vue +++ b/resources/js/Components/Chat/ChatSidebar.vue @@ -205,15 +205,12 @@ onMounted(async () => {