Skip to content

Commit c67ca66

Browse files
committed
fix(web): keep existing storage setting descriptions unchanged
1 parent 7533cc6 commit c67ca66

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎apps/web/src/components/settings/StorageSettings.tsx‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ function WorktreesDirectoryRow() {
6666
return (
6767
<SettingsRow
6868
{...searchableSetting("storage-worktrees-location")}
69-
description={"New worktrees only. Leave empty to use the T3 home folder."}
69+
description={
70+
"Folder where new worktrees are created, on any drive, such as D:\\worktrees or ~/worktrees. Existing worktrees stay where they are. Leave empty to use the T3 home folder."
71+
}
7072
serverScoped
7173
settingKeys={["worktreesDirectory"]}
7274
resetAction={
@@ -513,6 +515,7 @@ export function StorageSettingsPanel() {
513515
<SettingsRow
514516
title="Delete worktrees with deleted threads"
515517
status={ruleStatus("worktreeOnDelete")}
518+
description="Remove unused worktrees when active or archived threads are deleted. Worktrees with local changes are kept."
516519
serverScoped={!isProjectScope}
517520
control={
518521
<Switch
@@ -538,7 +541,7 @@ export function StorageSettingsPanel() {
538541
<SettingsRow
539542
title="Delete merged worktrees"
540543
status={ruleStatus("worktreeOnMerge")}
541-
description="Only after the PR's commits reach the default branch."
544+
description="Remove worktrees whose pull request is merged and whose commits are included in the default branch."
542545
serverScoped={!isProjectScope}
543546
control={
544547
<Switch
@@ -551,7 +554,7 @@ export function StorageSettingsPanel() {
551554
<SettingsRow
552555
title="Delete unchanged worktrees"
553556
status={ruleStatus("worktreeUnchanged")}
554-
description="No commits beyond the default branch."
557+
description="Remove worktrees with no commits beyond the default branch."
555558
serverScoped={!isProjectScope}
556559
control={
557560
<Switch

0 commit comments

Comments
 (0)