feat(dashboard): expose integrationBranch setting in the settings modal

Adds a text input for the canonical integration branch directly under
the Auto-completion mode select. Visible regardless of direct vs PR
mode since the setting applies to both.

Blank preserves the existing auto-resolution cascade
(integrationBranch → baseBranch → origin/HEAD → main). Setting it to
master/trunk/develop/etc. pins the resolution explicitly.

Field trims whitespace and stores undefined when cleared so the
auto-resolution stays active.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-23 16:31:48 -07:00
parent 99359b6536
commit 084bdc67f4
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
"@fusion/dashboard": patch
---
feat(dashboard): expose `integrationBranch` setting in the project settings modal
Adds a text input for the canonical integration branch (the branch Fusion merges tasks into, and the reference for all ahead/behind / overlap / pre-rebase computations). Lives directly under the Auto-completion mode select inside the merge-strategy panel — visible regardless of direct vs PR mode, since the setting applies to both.
Blank value (the default) preserves the existing auto-resolution cascade: `integrationBranch` → legacy `baseBranch``origin/HEAD` symbolic ref → fallback `main`. Setting it to `master` / `trunk` / `develop` / etc. pins the resolution explicitly without changing other settings.
Field trims whitespace and stores `undefined` (not empty string) when cleared so the auto-resolution remains active.