authorgravatar for danielalvim@tuta.ioDaniel Alvim <danielalvim@tuta.io> 2026-10-08 18:50:57-05:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-08 23:50:57+00:00
log6308db4ff500b89821e22605f964b1701cead8ee
treea6c16ea77d5495f2c1ed4e09ef4ed835928f04fe
parent5b78b34bba8645a268900f946858ea1470621c41
signature Signed by PGP key B5690EEEBB952194

fix(web): semantic branch naming hint lines up with its setting (#16972)


1 files changed, 5 insertions(+), 6 deletions(-)

apps/web/src/components/settings/BranchNamingSettings.tsx+5-6
......@@ -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