Compare commits

...

11 Commits

Author SHA1 Message Date
celestial-vault 496722f370 merge conflicts 2025-06-27 16:06:02 -07:00
celestial-vault 2b20d5137b pull out about section 2025-06-27 15:55:02 -07:00
celestial-vault 2e028a49bc merge conflicts 2025-06-27 15:48:20 -07:00
celestial-vault 97a36d5306 refactor out debug section 2025-06-27 15:44:10 -07:00
celestial-vault e67bb6c636 merge conflicts 2025-06-27 15:36:36 -07:00
celestial-vault fa7794e9a6 move files to sections folder 2025-06-27 15:00:06 -07:00
celestial-vault 88029834be move terminal, browser, and feature settings 2025-06-27 14:55:06 -07:00
celestial-vault 1f267d058a duplicate import 2025-06-27 14:26:35 -07:00
celestial-vault 853b8a6470 merge conflicts 2025-06-27 14:23:04 -07:00
celestial-vault a5258e46e1 add general settings section 2025-06-27 10:24:15 -07:00
celestial-vault 36dfc7de11 refactor out apiconfig section 2025-06-27 10:04:57 -07:00
2 changed files with 30 additions and 14 deletions
@@ -20,6 +20,7 @@ import ApiConfigurationSection from "./sections/ApiConfigurationSection"
import GeneralSettingsSection from "./sections/GeneralSettingsSection"
import BrowserSettingsSection from "./sections/BrowserSettingsSection"
import DebugSection from "./sections/DebugSection"
import AboutSection from "./sections/AboutSection"
import { convertApiConfigurationToProtoApiConfiguration } from "@shared/proto-conversions/state/settings-conversion"
import { convertChatSettingsToProtoChatSettings } from "@shared/proto-conversions/state/chat-settings-conversion"
@@ -806,20 +807,7 @@ const SettingsView = ({ onDone, targetSection }: SettingsViewProps) => {
{/* About Tab */}
{activeTab === "about" && (
<div>
{renderSectionHeader("about")}
<Section>
<div className="text-center text-[var(--vscode-descriptionForeground)] text-xs leading-[1.2] px-0 py-0 pr-2 pb-[15px] mt-auto">
<p className="break-words m-0 p-0">
If you have any questions or feedback, feel free to open an issue at{" "}
<VSCodeLink href="https://github.com/cline/cline" className="inline">
https://github.com/cline/cline
</VSCodeLink>
</p>
<p className="italic mt-[10px] mb-0 p-0">v{version}</p>
</div>
</Section>
</div>
<AboutSection version={version} renderSectionHeader={renderSectionHeader} />
)}
</TabContent>
)
@@ -0,0 +1,28 @@
import Section from "../Section"
import { VSCodeLink } from "@vscode/webview-ui-toolkit/react"
interface AboutSectionProps {
version: string
renderSectionHeader: (tabId: string) => JSX.Element | null
}
const AboutSection = ({ version, renderSectionHeader }: AboutSectionProps) => {
return (
<div>
{renderSectionHeader("about")}
<Section>
<div className="text-center text-[var(--vscode-descriptionForeground)] text-xs leading-[1.2] px-0 py-0 pr-2 pb-[15px] mt-auto">
<p className="break-words m-0 p-0">
If you have any questions or feedback, feel free to open an issue at{" "}
<VSCodeLink href="https://github.com/cline/cline" className="inline">
https://github.com/cline/cline
</VSCodeLink>
</p>
<p className="italic mt-[10px] mb-0 p-0">v{version}</p>
</div>
</Section>
</div>
)
}
export default AboutSection