From ffb998a9d62e9f3163f36c2cf2717e1bf6a6451f Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 18 Aug 2025 10:27:09 -0700 Subject: [PATCH 1/2] chore: move docs section from lump toolbar to settings --- .../LumpToolbar/BlockSettingsTopToolbar.tsx | 3 +- .../Lump/sections/SelectedSection.tsx | 5 ++- .../pages/config/IndexingSettingsSection.tsx | 33 ++++++++++++------- 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index 7458686aa..db10aa70f 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -1,5 +1,4 @@ import { - BookOpenIcon, ChatBubbleLeftIcon, ChevronLeftIcon, CubeIcon, @@ -47,7 +46,7 @@ interface Section { const sections: Section[] = [ { id: "models", title: "Models", tooltip: "Models", icon: CubeIcon }, { id: "rules", title: "Rules", tooltip: "Rules", icon: PencilIcon }, - { id: "docs", title: "Docs", tooltip: "Docs", icon: BookOpenIcon }, + // { id: "docs", title: "Docs", tooltip: "Docs", icon: BookOpenIcon }, { id: "prompts", title: "Prompts", diff --git a/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx b/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx index ad07a86d6..e71618854 100644 --- a/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx @@ -1,6 +1,5 @@ import { useLump } from "../LumpContext"; import { ContextSection } from "./ContextSection"; -import DocsSection from "./docs/DocsSection"; import { ErrorSection } from "./errors/ErrorSection"; import MCPSection from "./mcp/MCPSection"; import { ModelsSection } from "./ModelsSection"; @@ -19,8 +18,8 @@ export function SelectedSection() { return ; case "rules": return ; - case "docs": - return ; + // case "docs": + // return ; case "prompts": return ; case "context": diff --git a/gui/src/pages/config/IndexingSettingsSection.tsx b/gui/src/pages/config/IndexingSettingsSection.tsx index 6df4faed0..2efdfcae9 100644 --- a/gui/src/pages/config/IndexingSettingsSection.tsx +++ b/gui/src/pages/config/IndexingSettingsSection.tsx @@ -1,26 +1,37 @@ +import DocsIndexingStatuses from "../../components/mainInput/Lump/sections/docs/DocsSection"; import { useAppSelector } from "../../redux/hooks"; import IndexingProgress from "./IndexingProgress"; export function IndexingSettingsSection() { const config = useAppSelector((state) => state.config.config); return ( -
+

@codebase index

Local embeddings of your codebase + {config.disableIndexing ? ( +
+

+ Indexing is disabled +

+

+ Open settings and toggle Enable Indexing to re-enable +

+
+ ) : ( + + )}
- {config.disableIndexing ? ( -
-

Indexing is disabled

-

- Open settings and toggle Enable Indexing to re-enable -

-
- ) : ( - - )} + +
+

@docs index

+ + Local embeddings of your documentation sources + +
+
); } From d8a14715ad168e2857377a8b6f76008dda6f2b9f Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 18 Aug 2025 13:26:21 -0700 Subject: [PATCH 2/2] chore: remove commented docs items --- .../mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx | 1 - gui/src/components/mainInput/Lump/sections/SelectedSection.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index db10aa70f..ea04ab8c6 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -46,7 +46,6 @@ interface Section { const sections: Section[] = [ { id: "models", title: "Models", tooltip: "Models", icon: CubeIcon }, { id: "rules", title: "Rules", tooltip: "Rules", icon: PencilIcon }, - // { id: "docs", title: "Docs", tooltip: "Docs", icon: BookOpenIcon }, { id: "prompts", title: "Prompts", diff --git a/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx b/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx index e71618854..29feb6680 100644 --- a/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx @@ -18,8 +18,6 @@ export function SelectedSection() { return ; case "rules": return ; - // case "docs": - // return ; case "prompts": return ; case "context":