Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions webview-ui/src/components/settings/SettingsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
Automatically create and edit files without requiring approval
</p>
{alwaysAllowWrite && (
<div style={{ marginTop: 10 }}>
<div
style={{
marginTop: 10,
paddingLeft: 10,
borderLeft: "2px solid var(--vscode-button-background)",
}}>
<div style={{ display: "flex", alignItems: "center", gap: "10px" }}>
<input
type="range"
Expand Down Expand Up @@ -277,7 +282,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
Automatically retry failed API requests when server returns an error response
</p>
{alwaysApproveResubmit && (
<div style={{ marginTop: 10 }}>
<div
style={{
marginTop: 10,
paddingLeft: 10,
borderLeft: "2px solid var(--vscode-button-background)",
}}>
<div style={{ display: "flex", alignItems: "center", gap: "10px" }}>
<input
type="range"
Expand Down Expand Up @@ -329,7 +339,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
</p>

{alwaysAllowExecute && (
<div style={{ marginTop: 10 }}>
<div
style={{
marginTop: 10,
paddingLeft: 10,
borderLeft: "2px solid var(--vscode-button-background)",
}}>
<span style={{ fontWeight: "500" }}>Allowed Auto-Execute Commands</span>
<p
style={{
Expand Down Expand Up @@ -489,7 +504,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
</p>
</div>
{soundEnabled && (
<div style={{ marginLeft: 0 }}>
<div
style={{
marginLeft: 0,
paddingLeft: 10,
borderLeft: "2px solid var(--vscode-button-background)",
}}>
<div style={{ display: "flex", alignItems: "center", gap: "5px" }}>
<span style={{ fontWeight: "500", minWidth: "100px" }}>Volume</span>
<input
Expand Down Expand Up @@ -565,7 +585,12 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
</p>

{diffEnabled && (
<div style={{ marginTop: 10 }}>
<div
style={{
marginTop: 10,
paddingLeft: 10,
borderLeft: "2px solid var(--vscode-button-background)",
}}>
<div style={{ display: "flex", alignItems: "center", gap: "5px" }}>
<span style={{ color: "var(--vscode-errorForeground)" }}>⚠️</span>
<VSCodeCheckbox
Expand Down
Loading