diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index a17608405..746865315 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -1,8 +1,4 @@ -import { - ChevronLeftIcon, - EllipsisHorizontalIcon, - ExclamationTriangleIcon, -} from "@heroicons/react/24/outline"; +import { ExclamationTriangleIcon } from "@heroicons/react/24/outline"; import { ReactNode, useContext, useEffect, useState } from "react"; import { vscBadgeForeground } from "../../.."; import { IdeMessengerContext } from "../../../../context/IdeMessenger"; @@ -89,9 +85,7 @@ function BlockSettingsToolbarIcon( />
store.config.configError); const config = useAppSelector((state) => state.config.config); @@ -153,13 +142,6 @@ export function BlockSettingsTopToolbar() { }; }, [ideMessenger, isUsingFreeTrial]); - const handleEllipsisClick = () => { - if (isToolbarExpanded) { - setSelectedSection(null); - } - toggleToolbar(); - }; - const visibleSections = sections.filter( (section) => section.id !== "error" || @@ -169,36 +151,22 @@ export function BlockSettingsTopToolbar() { return (
-
- -
-
- {visibleSections.map((section) => ( - - setSelectedSection( - selectedSection === section.id ? null : section.id, - ) - } - /> - ))} -
-
+
+ {visibleSections.map((section) => ( + + setSelectedSection( + selectedSection === section.id ? null : section.id, + ) + } + /> + ))}
diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx index 499d72108..950b3e474 100644 --- a/gui/src/pages/config/index.tsx +++ b/gui/src/pages/config/index.tsx @@ -1,7 +1,5 @@ import { BoltIcon, - BookOpenIcon, - ChatBubbleLeftIcon, CircleStackIcon, Cog6ToothIcon, CubeIcon, @@ -12,10 +10,8 @@ import { } from "@heroicons/react/24/outline"; import { useState } from "react"; import { useNavigate } from "react-router-dom"; -import DocsSection from "../../components/mainInput/Lump/sections/docs/DocsSection"; import MCPSection from "../../components/mainInput/Lump/sections/mcp/MCPSection"; import { ModelsSection } from "../../components/mainInput/Lump/sections/ModelsSection"; -import { PromptsSection } from "../../components/mainInput/Lump/sections/PromptsSection"; import { RulesSection } from "../../components/mainInput/Lump/sections/RulesSection"; import { ToolPoliciesSection } from "../../components/mainInput/Lump/sections/tool-policies/ToolPoliciesSection"; import { PageHeader } from "../../components/PageHeader"; @@ -68,28 +64,28 @@ function ConfigPage() { ), icon: , }, - { - id: "docs", - label: "Docs", - component: ( -
-

Documentation

- -
- ), - icon: , - }, - { - id: "prompts", - label: "Prompts", - component: ( -
-

Prompts

- -
- ), - icon: , - }, + // { + // id: "docs", + // label: "Docs", + // component: ( + //
+ //

Documentation

+ // + //
+ // ), + // icon: , + // }, + // { + // id: "prompts", + // label: "Prompts", + // component: ( + //
+ //

Prompts

+ // + //
+ // ), + // icon: , + // }, { id: "tools", label: "Tools", @@ -142,7 +138,7 @@ function ConfigPage() { /> {/* Tab Headers */} -
+
{tabs.map((tab) => (