TypeScript
fix(copy): clarify thread and source control settings (#24148)
Exotic35041c27d73b
diff --git a/apps/mobile/src/features/settings/ThreadSettingsSections.tsx b/apps/mobile/src/features/settings/ThreadSettingsSections.tsxindex 2e77d4d3937..244e2d18680 100644--- a/apps/mobile/src/features/settings/ThreadSettingsSections.tsx+++ b/apps/mobile/src/features/settings/ThreadSettingsSections.tsx@@ -107,6 +107,7 @@ export function AutoSettleSettingsRows(props: {<SettingsSwitchRowicon="clock"label="Resume after usage limits"+ subtitle="Automatically resume threads when their usage limits reset. You can cancel auto-resume in each thread."value={uniformMobileSetting(displayTargets, "autoResumeLimitedThreads")}disabled={disabled}onValueChange={(value) => writeToAll({ autoResumeLimitedThreads: value })}@@ -114,6 +115,7 @@ export function AutoSettleSettingsRows(props: {<SettingsSwitchRowicon="clock"label="Snooze until limits reset"+ subtitle="Snooze threads until their usage limits reset. Enable auto-resume to continue the agent after the reset."value={uniformMobileSetting(displayTargets, "snoozeLimitedThreads")}disabled={disabled}onValueChange={(value) => writeToAll({ snoozeLimitedThreads: value })}diff --git a/apps/web/src/components/settings/SettingsPanels.tsx b/apps/web/src/components/settings/SettingsPanels.tsxindex dca3eabc868..91cb8d6613c 100644--- a/apps/web/src/components/settings/SettingsPanels.tsx+++ b/apps/web/src/components/settings/SettingsPanels.tsx@@ -490,7 +490,7 @@ export function useSettingsRestore(onRestored?: () => void) {: []),...(settings.diffLayout !== DEFAULT_UNIFIED_SETTINGS.diffLayout ? ["Diff layout"] : []),...(settings.proactivePanelsEnabled !== DEFAULT_UNIFIED_SETTINGS.proactivePanelsEnabled- ? ["Proactive panels"]+ ? ["Open pull requests and changes panels proactively"]: []),...(settings.showSkillsInSlashMenu !== DEFAULT_UNIFIED_SETTINGS.showSkillsInSlashMenu? ["Show skills in slash menu"]@@ -1393,7 +1393,7 @@ export function DiffsSettingsPanel() {onCheckedChange={(checked) =>updateSettings({ proactivePanelsEnabled: Boolean(checked) })}- aria-label="Proactive panels"+ aria-label="Open pull requests and changes panels proactively"/>}/>@@ -1572,7 +1572,7 @@ export function ThreadsSettingsPanel() {<SettingsRowserverScoped{...searchableSetting("auto-resume-limited-threads")}- description="Resume usage-limit stops at the reported reset time. Each thread can cancel its scheduled continuation."+ description="Automatically resume threads when their usage limits reset. You can cancel auto-resume in each thread."settingKeys={["autoResumeLimitedThreads"]}control={<ScopedSwitch@@ -1588,7 +1588,7 @@ export function ThreadsSettingsPanel() {<SettingsRowserverScoped{...searchableSetting("snooze-limited-threads")}- description="Snooze usage-limit stops until reset. Pair with resume to continue on wake."+ description="Snooze threads until their usage limits reset. Enable auto-resume to continue the agent after the reset."settingKeys={["snoozeLimitedThreads"]}control={<ScopedSwitchdiff --git a/apps/web/src/components/settings/SourceControlWritingSettings.tsx b/apps/web/src/components/settings/SourceControlWritingSettings.tsxindex dd3618902f8..07d58220878 100644--- a/apps/web/src/components/settings/SourceControlWritingSettings.tsx+++ b/apps/web/src/components/settings/SourceControlWritingSettings.tsx@@ -295,7 +295,7 @@ export function SourceControlWritingSettingsSection() {settingKeys={["reviewGuidesEnabled"]}mixed={mixedReviewGuidesEnabled}{...searchableSetting("review-guides")}- description="Adds a Guide tab to pull requests: an agent writes a tour of the change, stop by stop, with the calls a maintainer should make."+ description="Add a Guide tab to pull requests. An agent explains the changes and points out decisions that need review."control={<Switchmixed={mixedReviewGuidesEnabled}@@ -498,7 +498,7 @@ export function SourceControlWritingSettingsSection() {serverScopedsettingKeys={["sourceControlWriterModelSelection"]}{...searchableSetting("source-control-writer-model")}- description="Model for source control text and branch or bookmark names. Off uses the environment's text generation model."+ description="Model for source control text and branch or bookmark names. When disabled, use the text generation model configured for this environment."control={!hasServerTargets ? (<span className="text-sm text-muted-foreground">diff --git a/apps/web/src/components/settings/settingsSearch.ts b/apps/web/src/components/settings/settingsSearch.tsindex aabfd0300ed..ec4fe066586 100644--- a/apps/web/src/components/settings/settingsSearch.ts+++ b/apps/web/src/components/settings/settingsSearch.ts@@ -562,9 +562,9 @@ export const SETTINGS_SEARCH_ITEMS = [},{id: "proactive-panels",- title: "Proactive panels",+ title: "Open pull requests and changes panels proactively",to: "/settings/diffs",- searchTerms: ["automatically open diff pull request pr right panel agent completion"],+ searchTerms: ["proactive automatically open diff pull request pr right panel agent completion"],},{id: "skills-in-slash-menu",