fix(plan): update persistent approval mode setting (#18638)

Co-authored-by: Sandy Tao <sandytao520@icloud.com>
This commit is contained in:
Adib234
2026-02-10 08:07:04 -05:00
committed by GitHub
parent e6b43cb846
commit e151b4890b
10 changed files with 150 additions and 85 deletions

View File

@@ -13,6 +13,9 @@ exports[`SettingsDialog > Initial Rendering > should render settings list with v
│ ● Vim Mode false │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true │
│ Enable automatic updates. │
│ │
@@ -31,9 +34,6 @@ exports[`SettingsDialog > Initial Rendering > should render settings list with v
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -59,6 +59,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings
│ ● Vim Mode true* │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true │
│ Enable automatic updates. │
│ │
@@ -77,9 +80,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -105,6 +105,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings d
│ ● Vim Mode false* │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true* │
│ Enable automatic updates. │
│ │
@@ -123,9 +126,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings d
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -151,6 +151,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'default state' correct
│ ● Vim Mode false │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true │
│ Enable automatic updates. │
│ │
@@ -169,9 +172,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'default state' correct
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -197,6 +197,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'file filtering setting
│ ● Vim Mode false │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true │
│ Enable automatic updates. │
│ │
@@ -215,9 +218,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'file filtering setting
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -243,6 +243,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selec
│ Vim Mode false │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true │
│ Enable automatic updates. │
│ │
@@ -261,9 +264,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selec
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ > Apply To │
@@ -289,6 +289,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and numb
│ ● Vim Mode false* │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update false* │
│ Enable automatic updates. │
│ │
@@ -307,9 +310,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and numb
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -335,6 +335,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'tools and security set
│ ● Vim Mode false │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update true │
│ Enable automatic updates. │
│ │
@@ -353,9 +356,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'tools and security set
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │
@@ -381,6 +381,9 @@ exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settin
│ ● Vim Mode true* │
│ Enable Vim keybindings │
│ │
│ Default Approval Mode Default │
│ The default approval mode for tool execution. 'default' prompts for approval, 'au… │
│ │
│ Enable Auto Update false* │
│ Enable automatic updates. │
│ │
@@ -399,9 +402,6 @@ exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settin
│ Auto Theme Switching true │
│ Automatically switch between default light and dark themes based on terminal backgro… │
│ │
│ Terminal Background Polling Interval 60 │
│ Interval in seconds to poll the terminal background color. │
│ │
│ ▼ │
│ │
│ Apply To │