LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
fix: align chat ingest panel layout
nash_su0efc82d9c159
diff --git a/src/components/layout/app-layout-visibility.test.ts b/src/components/layout/app-layout-visibility.test.tsindex 8e9a05ad..65654627 100644--- a/src/components/layout/app-layout-visibility.test.ts+++ b/src/components/layout/app-layout-visibility.test.ts@@ -2,9 +2,9 @@ import { describe, expect, it } from "vitest"import { getAppLayoutVisibility } from "./app-layout-visibility"describe("getAppLayoutVisibility", () => {- it("keeps chat as a standalone view even when research panel is open", () => {+ it("keeps chat research panel hidden while using the standard project side panel", () => {expect(getAppLayoutVisibility("chat", true)).toEqual({- showLeftPanel: false,+ showLeftPanel: true,hasRightPanel: false,})})diff --git a/src/components/layout/app-layout-visibility.ts b/src/components/layout/app-layout-visibility.tsindex d3f3e39e..97078b84 100644--- a/src/components/layout/app-layout-visibility.ts+++ b/src/components/layout/app-layout-visibility.ts@@ -7,7 +7,7 @@ export function getAppLayoutVisibility(): { showLeftPanel: boolean; hasRightPanel: boolean } {const isStandalone = isStandaloneView(activeView)return {- showLeftPanel: !isStandalone,+ showLeftPanel: activeView !== "settings",hasRightPanel: !isStandalone && researchPanelOpen,}}diff --git a/src/components/layout/app-layout.tsx b/src/components/layout/app-layout.tsxindex cd4cb876..65499e73 100644--- a/src/components/layout/app-layout.tsx+++ b/src/components/layout/app-layout.tsx@@ -114,13 +114,10 @@ export function AppLayout({ onSwitchProject }: AppLayoutProps) {)}{/* Center: Chat, wiki preview, or tool view */}- <div className="flex min-w-0 flex-1 flex-col overflow-hidden">- <div className="min-h-0 flex-1 overflow-hidden">- <ErrorBoundary>- <ContentArea />- </ErrorBoundary>- </div>- {!showLeftPanel && <ActivityPanel />}+ <div className="min-w-0 flex-1 overflow-hidden">+ <ErrorBoundary>+ <ContentArea />+ </ErrorBoundary></div>{/* Right panels */}