Roo-Code/webview-ui
MFPires f50214b017 feat(settings): Add auto-approve mode switching option to Settings UI
Add the ability to configure automatic mode switching approval in the Settings UI.

Implementation:
- Added alwaysAllowModeSwitch checkbox in the Auto-Approve Settings section
- Added state management integration with useExtensionState
- Added vscode.postMessage handler for state updates
- Placed the setting logically between MCP tools and execute operations settings

The new setting allows users to:
- Enable/disable automatic approval of mode switching operations
- Configure mode switching approval independently of other auto-approve settings
- Maintain consistent UX with other auto-approve settings

This completes the mode switching auto-approval feature, working in conjunction with:
- Previously added state management in ExtensionStateContext
- Core logic changes in ClineProvider
- WebviewMessage type updates
- Existing test coverage in ChatView.auto-approve.test.tsx
2025-01-28 01:48:47 -03:00
..
public Chore: Prettier for consistant formatting (#794) 2024-11-21 13:13:54 -08:00
scripts Fix webpack config for windows 2024-08-31 03:08:25 -04:00
src feat(settings): Add auto-approve mode switching option to Settings UI 2025-01-28 01:48:47 -03:00
.gitignore Add CRA webview-ui 2024-07-06 01:35:59 -04:00
.npmrc Improved logic for auto-approving chained commands 2024-12-26 22:45:09 -08:00
config-overrides.js Prettier backfill 2025-01-17 14:11:28 -05:00
package-lock.json fix api config profile 2025-01-15 21:24:18 +07:00
package.json fix api config profile 2025-01-15 21:24:18 +07:00
tsconfig.json Add option to choose different models 2024-08-11 00:28:22 -04:00