Skip to content

Commit 6308db4

Browse files
authored
fix(web): semantic branch naming hint lines up with its setting (#16972)
1 parent 5b78b34 commit 6308db4

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ export function BranchNamingSettings() {
3737
settingKeys={["branchNamingMode"]}
3838
{...searchableSetting("worktree-branch-naming")}
3939
description="Choose how new worktree branches are named from your first message."
40+
status={
41+
!modeMixed && settings.branchNamingMode === "semantic"
42+
? "The model chooses a prefix that describes the work, such as feat/add-search, fix/login-timeout, or refactor/auth."
43+
: undefined
44+
}
4045
resetAction={
4146
settings.branchNamingMode !== DEFAULT_SERVER_SETTINGS.branchNamingMode || modeMixed ? (
4247
<SettingResetButton
@@ -109,12 +114,6 @@ export function BranchNamingSettings() {
109114
}
110115
/>
111116
) : null}
112-
{!modeMixed && settings.branchNamingMode === "semantic" ? (
113-
<p className="pb-3 text-sm text-muted-foreground">
114-
The model chooses a prefix that describes the work, such as feat/add-search,
115-
fix/login-timeout, or refactor/auth.
116-
</p>
117-
) : null}
118117
{!modeMixed && settings.branchNamingMode === "custom" ? (
119118
<SettingsRow
120119
serverScoped

0 commit comments

Comments
 (0)