diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx index e34e5f87..35a22dea 100644 --- a/webview-ui/src/components/settings/SettingsView.tsx +++ b/webview-ui/src/components/settings/SettingsView.tsx @@ -7,10 +7,10 @@ import { FlaskConical, Info, LucideIcon, - Settings, SlidersHorizontal, SquareMousePointer, SquareTerminal, + Wrench, } from "lucide-react" import { useCallback, useEffect, useMemo, useRef, useState } from "react" import { useEvent } from "react-use" @@ -49,13 +49,6 @@ interface SettingsTab { } export const SETTINGS_TABS: SettingsTab[] = [ - { - id: "general", - name: "General", - tooltipText: "General Settings", - headerText: "General Settings", - icon: Settings, - }, { id: "api-config", name: "API Configuration", @@ -93,6 +86,13 @@ export const SETTINGS_TABS: SettingsTab[] = [ icon: FlaskConical, hidden: !IS_DEV, }, + { + id: "general", + name: "General", + tooltipText: "General Settings", + headerText: "General Settings", + icon: Wrench, + }, { id: "about", name: "About", @@ -139,13 +139,10 @@ const SettingsView = ({ onDone, targetSection }: SettingsViewProps) => { [], ) // Empty deps - these imports never change - const { version, telemetrySetting } = useExtensionState() + const { version } = useExtensionState() // Initialize active tab with memoized calculation - const initialTab = useMemo( - () => targetSection || (telemetrySetting === "unset" ? "general" : SETTINGS_TABS[0].id), - [targetSection, telemetrySetting], - ) + const initialTab = useMemo(() => targetSection || SETTINGS_TABS[0].id, [targetSection]) const [activeTab, setActiveTab] = useState(initialTab) const [isCompactMode, setIsCompactMode] = useState(true) diff --git a/webview-ui/src/components/settings/sections/AboutSection.tsx b/webview-ui/src/components/settings/sections/AboutSection.tsx index 4d2e7a9c..cff92720 100644 --- a/webview-ui/src/components/settings/sections/AboutSection.tsx +++ b/webview-ui/src/components/settings/sections/AboutSection.tsx @@ -5,20 +5,46 @@ interface AboutSectionProps { version: string renderSectionHeader: (tabId: string) => JSX.Element | null } - const AboutSection = ({ version, renderSectionHeader }: AboutSectionProps) => { return (
{renderSectionHeader("about")}
-
-

- If you have any questions or feedback, feel free to open an issue at{" "} - - https://github.com/cline/cline +

+

Cline v{version}

+

+ An AI assistant that can use your CLI and Editor. Cline can handle complex software development tasks + step-by-step with tools that let him create & edit files, explore large projects, use the browser, and + execute terminal commands (after you grant permission). +

+ +

Community & Support

+

+ X + {" • "} + Discord + {" • "} + r/cline +

+ +

Development

+

+ GitHub + {" • "} + Issues + {" • "} + + {" "} + Feature Requests

-

v{version}

+ +

Resources

+

+ Documentation + {" • "} + https://cline.bot +

diff --git a/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx b/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx index f8f73b76..4b8e4e5e 100644 --- a/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx +++ b/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx @@ -30,11 +30,17 @@ const GeneralSettingsSection = ({ renderSectionHeader }: GeneralSettingsSectionP

Help improve Cline by sending usage data and error reports. No code, prompts, or personal information are ever sent. See our{" "} - + telemetry overview {" "} and{" "} - + privacy policy {" "} for more details.