diff --git a/.changeset/red-badgers-matter.md b/.changeset/red-badgers-matter.md new file mode 100644 index 0000000000..baab6ba27d --- /dev/null +++ b/.changeset/red-badgers-matter.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Style and copy updates to advanced settings diff --git a/webview-ui/src/components/settings/ExperimentalFeature.tsx b/webview-ui/src/components/settings/ExperimentalFeature.tsx index b896e8e989..ee813dd17b 100644 --- a/webview-ui/src/components/settings/ExperimentalFeature.tsx +++ b/webview-ui/src/components/settings/ExperimentalFeature.tsx @@ -9,12 +9,7 @@ interface ExperimentalFeatureProps { const ExperimentalFeature = ({ name, description, enabled, onChange }: ExperimentalFeatureProps) => { return ( -
+
⚠️ onChange(e.target.checked)}> diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx index 462454aaee..bd2a244afb 100644 --- a/webview-ui/src/components/settings/SettingsView.tsx +++ b/webview-ui/src/components/settings/SettingsView.tsx @@ -644,14 +644,16 @@ const SettingsView = ({ onDone }: SettingsViewProps) => { {diffEnabled && (
- setExperimentEnabled(EXPERIMENT_IDS.DIFF_STRATEGY, enabled)} - />
+ style={{ + display: "flex", + flexDirection: "column", + gap: "5px", + marginTop: "10px", + marginBottom: "10px", + paddingLeft: "10px", + borderLeft: "2px solid var(--vscode-button-background)", + }}> Match precision
{ {Math.round((fuzzyMatchThreshold || 1) * 100)}%
+

+ This slider controls how precisely code sections must match when applying diffs. + Lower values allow more flexible matching but increase the risk of incorrect + replacements. Use values below 100% with extreme caution. +

+ + setExperimentEnabled(EXPERIMENT_IDS.DIFF_STRATEGY, enabled) + } + />
-

- This slider controls how precisely code sections must match when applying diffs. - Lower values allow more flexible matching but increase the risk of incorrect - replacements. Use values below 100% with extreme caution. -

)} + +
+
+ ⚠️ + { + setCheckpointsEnabled(e.target.checked) + }}> + Enable experimental checkpoints + +
+

+ When enabled, Roo will save a checkpoint whenever a file in the workspace is modified, + added or deleted, letting you easily revert to a previous state. +

+
+ {Object.entries(experimentConfigsMap) .filter((config) => config[0] !== "DIFF_STRATEGY") .map((config) => ( @@ -702,25 +735,6 @@ const SettingsView = ({ onDone }: SettingsViewProps) => { /> ))}
- -
- { - setCheckpointsEnabled(e.target.checked) - }}> - Enable checkpoints - -

- When enabled, Roo will be save a workspace checkpoint after each tool execution if a file in - the workspace is modified, added or deleted. -

-