feat(FN-4627): complete Step 1 — initialize and normalize worktrunk form fields
Fusion-Task-Id: FN-4627 Fusion-Task-Lineage: 39fbecd6-69b3-4ba5-8357-ca3af9060f6a
This commit is contained in:
committed by
gsxdsm
parent
7cb81b0478
commit
296b20d08e
@@ -420,6 +420,11 @@ export function SettingsModal({
|
||||
executorAllowSiblingBranchRename: false,
|
||||
worktreeNaming: "random",
|
||||
worktreesDir: "",
|
||||
worktrunk: {
|
||||
enabled: false,
|
||||
binaryPath: "",
|
||||
onFailure: "fail",
|
||||
},
|
||||
includeTaskIdInCommit: true,
|
||||
worktreeInitCommand: "",
|
||||
ntfyEnabled: false,
|
||||
@@ -1742,6 +1747,11 @@ export function SettingsModal({
|
||||
...form,
|
||||
worktreeInitCommand: form.worktreeInitCommand?.trim() || undefined,
|
||||
worktreesDir: form.worktreesDir?.trim() || undefined,
|
||||
worktrunk: {
|
||||
enabled: form.worktrunk?.enabled === true,
|
||||
binaryPath: form.worktrunk?.binaryPath?.trim() || undefined,
|
||||
onFailure: form.worktrunk?.onFailure ?? "fail",
|
||||
},
|
||||
taskPrefix: form.taskPrefix?.trim() || undefined,
|
||||
githubTrackingDefaultRepo: form.githubTrackingDefaultRepo?.trim() || undefined,
|
||||
githubAuthToken: form.githubAuthToken?.trim() || undefined,
|
||||
|
||||
Reference in New Issue
Block a user