Skip to content

Commit 8715471

Browse files
playcationshannesrudolph
authored andcommitted
Removed UI from settings, Files Changed now stacked properly under Todo
1 parent de2a236 commit 8715471

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ import AutoApproveMenu from "./AutoApproveMenu"
5555
import SystemPromptWarning from "./SystemPromptWarning"
5656
import ProfileViolationWarning from "./ProfileViolationWarning"
5757
import { CheckpointWarning } from "./CheckpointWarning"
58-
import { QueuedMessages } from "./QueuedMessages"
59-
import FilesChangedOverview from "../file-changes/FilesChangedOverview"
58+
import QueuedMessages from "./QueuedMessages"
6059

6160
export interface ChatViewProps {
6261
isHidden: boolean
@@ -1807,10 +1806,6 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
18071806
<CheckpointWarning />
18081807
</div>
18091808
)}
1810-
1811-
<div className="px-3">
1812-
<FilesChangedOverview />
1813-
</div>
18141809
</>
18151810
) : (
18161811
<div className="flex-1 min-h-0 overflow-y-auto flex flex-col gap-4 relative">

webview-ui/src/components/chat/TaskHeader.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { TaskActions } from "./TaskActions"
1919
import { ContextWindowProgress } from "./ContextWindowProgress"
2020
import { Mention } from "./Mention"
2121
import { TodoListDisplay } from "./TodoListDisplay"
22+
import FilesChangedOverview from "../file-changes/FilesChangedOverview"
2223

2324
export interface TaskHeaderProps {
2425
task: ClineMessage
@@ -285,6 +286,7 @@ const TaskHeader = ({
285286
)}
286287
</div>
287288
<TodoListDisplay todos={todos ?? (task as any)?.tool?.todos ?? []} />
289+
<FilesChangedOverview />
288290
</div>
289291
)
290292
}

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
GitBranch,
1717
Bell,
1818
Database,
19-
Monitor,
2019
SquareTerminal,
2120
FlaskConical,
2221
AlertTriangle,
@@ -60,7 +59,6 @@ import { BrowserSettings } from "./BrowserSettings"
6059
import { CheckpointSettings } from "./CheckpointSettings"
6160
import { NotificationSettings } from "./NotificationSettings"
6261
import { ContextManagementSettings } from "./ContextManagementSettings"
63-
import { UISettings } from "./UISettings"
6462
import { TerminalSettings } from "./TerminalSettings"
6563
import { ExperimentalSettings } from "./ExperimentalSettings"
6664
import { LanguageSettings } from "./LanguageSettings"
@@ -86,7 +84,6 @@ const sectionNames = [
8684
"checkpoints",
8785
"notifications",
8886
"contextManagement",
89-
"ui",
9087
"terminal",
9188
"prompts",
9289
"experimental",
@@ -458,7 +455,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
458455
{ id: "checkpoints", icon: GitBranch },
459456
{ id: "notifications", icon: Bell },
460457
{ id: "contextManagement", icon: Database },
461-
{ id: "ui", icon: Monitor },
462458
{ id: "terminal", icon: SquareTerminal },
463459
{ id: "prompts", icon: MessageSquare },
464460
{ id: "experimental", icon: FlaskConical },
@@ -727,14 +723,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
727723
/>
728724
)}
729725

730-
{/* UI Section */}
731-
{activeTab === "ui" && (
732-
<UISettings
733-
filesChangedEnabled={filesChangedEnabled}
734-
setCachedStateField={setCachedStateField as SetCachedStateField<"filesChangedEnabled">}
735-
/>
736-
)}
737-
738726
{/* Terminal Section */}
739727
{activeTab === "terminal" && (
740728
<TerminalSettings

0 commit comments

Comments
 (0)