refactor(branch-dropdown): drop worktree parent-branch merge shortcut

Remove the parent-branch button shown beside the branch selector along
with its supporting API, command, service, model, and i18n strings.
Add migration m20260423 to drop the now-unused folder.parent_branch
column.
This commit is contained in:
xintaofei
2026-04-23 14:02:46 +08:00
parent 377ae6d8e6
commit 50c5b12d53
23 changed files with 38 additions and 128 deletions

View File

@@ -524,16 +524,6 @@ export async function getFolderConversation(
return invoke("get_folder_conversation", { conversationId })
}
export async function setFolderParentBranch(
path: string,
parentBranch: string | null
): Promise<void> {
return invoke("set_folder_parent_branch", {
path,
parentBranch,
})
}
export async function removeFolderFromHistory(path: string): Promise<void> {
return invoke("remove_folder_from_history", { path })
}