Removed UI from settings, Files Changed now stacked properly under Todo

This commit is contained in:
Shawn 2025-09-01 11:22:53 -04:00 committed by Hannes Rudolph
parent de2a236bac
commit 8715471bb5
3 changed files with 3 additions and 18 deletions

View file

@ -55,8 +55,7 @@ import AutoApproveMenu from "./AutoApproveMenu"
import SystemPromptWarning from "./SystemPromptWarning"
import ProfileViolationWarning from "./ProfileViolationWarning"
import { CheckpointWarning } from "./CheckpointWarning"
import { QueuedMessages } from "./QueuedMessages"
import FilesChangedOverview from "../file-changes/FilesChangedOverview"
import QueuedMessages from "./QueuedMessages"
export interface ChatViewProps {
isHidden: boolean
@ -1807,10 +1806,6 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
<CheckpointWarning />
</div>
)}
<div className="px-3">
<FilesChangedOverview />
</div>
</>
) : (
<div className="flex-1 min-h-0 overflow-y-auto flex flex-col gap-4 relative">

View file

@ -19,6 +19,7 @@ import { TaskActions } from "./TaskActions"
import { ContextWindowProgress } from "./ContextWindowProgress"
import { Mention } from "./Mention"
import { TodoListDisplay } from "./TodoListDisplay"
import FilesChangedOverview from "../file-changes/FilesChangedOverview"
export interface TaskHeaderProps {
task: ClineMessage
@ -285,6 +286,7 @@ const TaskHeader = ({
)}
</div>
<TodoListDisplay todos={todos ?? (task as any)?.tool?.todos ?? []} />
<FilesChangedOverview />
</div>
)
}

View file

@ -16,7 +16,6 @@ import {
GitBranch,
Bell,
Database,
Monitor,
SquareTerminal,
FlaskConical,
AlertTriangle,
@ -60,7 +59,6 @@ import { BrowserSettings } from "./BrowserSettings"
import { CheckpointSettings } from "./CheckpointSettings"
import { NotificationSettings } from "./NotificationSettings"
import { ContextManagementSettings } from "./ContextManagementSettings"
import { UISettings } from "./UISettings"
import { TerminalSettings } from "./TerminalSettings"
import { ExperimentalSettings } from "./ExperimentalSettings"
import { LanguageSettings } from "./LanguageSettings"
@ -86,7 +84,6 @@ const sectionNames = [
"checkpoints",
"notifications",
"contextManagement",
"ui",
"terminal",
"prompts",
"experimental",
@ -458,7 +455,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
{ id: "checkpoints", icon: GitBranch },
{ id: "notifications", icon: Bell },
{ id: "contextManagement", icon: Database },
{ id: "ui", icon: Monitor },
{ id: "terminal", icon: SquareTerminal },
{ id: "prompts", icon: MessageSquare },
{ id: "experimental", icon: FlaskConical },
@ -727,14 +723,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
/>
)}
{/* UI Section */}
{activeTab === "ui" && (
<UISettings
filesChangedEnabled={filesChangedEnabled}
setCachedStateField={setCachedStateField as SetCachedStateField<"filesChangedEnabled">}
/>
)}
{/* Terminal Section */}
{activeTab === "terminal" && (
<TerminalSettings