merge #929: fix(tree): 改名/删除的调解覆盖后台会话的页签 + 标题只在派生自文件名时跟随(#915 后续)

This commit is contained in:
Menghuan1918 committed 2026-10-26 15:00:55 +08:00
commit 22eb6ebddf
7 files changed
+223 -48

No files matched your search

+4
View File
@@ -361,6 +361,10 @@ export function createNativeTabRecords(): NativeTabRecords {
cwd: entry.scope.cwd,
id: entry.tab.id,
path,
// The chip's title travels with the row: the rename
// reconciliation retitles a page only when that title was
// derived from the file name (see tree-mutations).
title: entry.tab.title,
})
}
}