diff --git a/lightrag/api/__init__.py b/lightrag/api/__init__.py index 8679dd51..81e7bd97 100644 --- a/lightrag/api/__init__.py +++ b/lightrag/api/__init__.py @@ -1 +1 @@ -__api_version__ = "0132" +__api_version__ = "0133" diff --git a/lightrag_webui/src/App.tsx b/lightrag_webui/src/App.tsx index a978c3da..6b11980a 100644 --- a/lightrag_webui/src/App.tsx +++ b/lightrag_webui/src/App.tsx @@ -3,12 +3,13 @@ import ThemeProvider from '@/components/ThemeProvider' import TabVisibilityProvider from '@/contexts/TabVisibilityProvider' import ApiKeyAlert from '@/components/ApiKeyAlert' import StatusIndicator from '@/components/status/StatusIndicator' -import { healthCheckInterval } from '@/lib/constants' +import { healthCheckInterval, SiteInfo, webuiPrefix } from '@/lib/constants' import { useBackendState, useAuthStore } from '@/stores/state' import { useSettingsStore } from '@/stores/settings' import { getAuthStatus } from '@/api/lightrag' import SiteHeader from '@/features/SiteHeader' import { InvalidApiKeyError, RequireApiKeError } from '@/api/lightrag' +import { ZapIcon } from 'lucide-react' import GraphViewer from '@/features/GraphViewer' import DocumentManager from '@/features/DocumentManager' @@ -122,11 +123,32 @@ function App() { {initializing ? ( - // Loading state while initializing -
-
-
-

Initializing...

+ // Loading state while initializing with simplified header +
+ {/* Simplified header during initialization - matches SiteHeader structure */} +
+ + + {/* Empty middle section to maintain layout */} +
+
+ + {/* Empty right section to maintain layout */} + +
+ + {/* Loading indicator in content area */} +
+
+
+

Initializing...

+
) : (