Changesets · Branches · Tags · Compare
| Changeset | ad58281a51c9312251f42ab56f167ffa2fdb9105c33ff04070fe3a39928f2420 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-08-18 16:27 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-08-18 16:27 -07:00 |
| Parents | 8252ee135ab4, c34792a46c3d |
3 files changed
modified gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +0 −2
| @@ -1,5 +1,4 @@ | ||
| 1 | 1 | import { |
| 2 | - BookOpenIcon, | |
| 3 | 2 | ChatBubbleLeftIcon, |
| 4 | 3 | ChevronLeftIcon, |
| 5 | 4 | CubeIcon, |
| @@ -47,7 +46,6 @@ | ||
| 47 | 46 | const sections: Section[] = [ |
| 48 | 47 | { id: "models", title: "Models", tooltip: "Models", icon: CubeIcon }, |
| 49 | 48 | { id: "rules", title: "Rules", tooltip: "Rules", icon: PencilIcon }, |
| 50 | - { id: "docs", title: "Docs", tooltip: "Docs", icon: BookOpenIcon }, | |
| 51 | 49 | { |
| 52 | 50 | id: "prompts", |
| 53 | 51 | title: "Prompts", |
modified gui/src/components/mainInput/Lump/sections/SelectedSection.tsx +0 −3
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | import { useLump } from "../LumpContext"; |
| 2 | 2 | import { ContextSection } from "./ContextSection"; |
| 3 | -import DocsSection from "./docs/DocsSection"; | |
| 4 | 3 | import { ErrorSection } from "./errors/ErrorSection"; |
| 5 | 4 | import MCPSection from "./mcp/MCPSection"; |
| 6 | 5 | import { ModelsSection } from "./ModelsSection"; |
| @@ -19,8 +18,6 @@ | ||
| 19 | 18 | return <ModelsSection />; |
| 20 | 19 | case "rules": |
| 21 | 20 | return <RulesSection />; |
| 22 | - case "docs": | |
| 23 | - return <DocsSection />; | |
| 24 | 21 | case "prompts": |
| 25 | 22 | return <PromptsSection />; |
| 26 | 23 | case "context": |
modified gui/src/pages/config/IndexingSettingsSection.tsx +22 −11
| @@ -1,26 +1,37 @@ | ||
| 1 | +import DocsIndexingStatuses from "../../components/mainInput/Lump/sections/docs/DocsSection"; | |
| 1 | 2 | import { useAppSelector } from "../../redux/hooks"; |
| 2 | 3 | import IndexingProgress from "./IndexingProgress"; |
| 3 | 4 | |
| 4 | 5 | export function IndexingSettingsSection() { |
| 5 | 6 | const config = useAppSelector((state) => state.config.config); |
| 6 | 7 | return ( |
| 7 | - <div className="py-5"> | |
| 8 | + <div className="flex flex-col gap-3 py-5"> | |
| 8 | 9 | <div> |
| 9 | 10 | <h3 className="mx-auto mb-1 mt-0 text-xl">@codebase index</h3> |
| 10 | 11 | <span className="text-lightgray w-3/4 text-xs"> |
| 11 | 12 | Local embeddings of your codebase |
| 12 | 13 | </span> |
| 14 | + {config.disableIndexing ? ( | |
| 15 | + <div className="pb-2 pt-5"> | |
| 16 | + <p className="py-1 text-center font-semibold"> | |
| 17 | + Indexing is disabled | |
| 18 | + </p> | |
| 19 | + <p className="text-lightgray cursor-pointer text-center text-xs"> | |
| 20 | + Open settings and toggle <code>Enable Indexing</code> to re-enable | |
| 21 | + </p> | |
| 22 | + </div> | |
| 23 | + ) : ( | |
| 24 | + <IndexingProgress /> | |
| 25 | + )} | |
| 13 | 26 | </div> |
| 14 | - {config.disableIndexing ? ( | |
| 15 | - <div className="pb-2 pt-5"> | |
| 16 | - <p className="py-1 text-center font-semibold">Indexing is disabled</p> | |
| 17 | - <p className="text-lightgray cursor-pointer text-center text-xs"> | |
| 18 | - Open settings and toggle <code>Enable Indexing</code> to re-enable | |
| 19 | - </p> | |
| 20 | - </div> | |
| 21 | - ) : ( | |
| 22 | - <IndexingProgress /> | |
| 23 | - )} | |
| 27 | + | |
| 28 | + <div className="mt-5"> | |
| 29 | + <h3 className="mx-auto mb-1 mt-0 text-xl">@docs index</h3> | |
| 30 | + <span className="text-lightgray w-3/4 text-xs"> | |
| 31 | + Local embeddings of your documentation sources | |
| 32 | + </span> | |
| 33 | + </div> | |
| 34 | + <DocsIndexingStatuses /> | |
| 24 | 35 | </div> |
| 25 | 36 | ); |
| 26 | 37 | } |