fix(app): open Changes on the populated comparison (#3636)

* fix(app): restore smart Changes comparison selection

The tab migration persisted the selected comparison, pinning Changes to an empty view after checkout state changed. Keep comparison overrides ephemeral per surface and expire them when dirtiness changes, while preserving only presentation state in tabs.

* chore(app): date Changes compatibility cleanup
This commit is contained in:
Mohamed Boudra
2026-08-21 11:23:43 +02:00
committed by GitHub
parent 04624cb419
commit a7f3bf7abb
17 changed files with 228 additions and 45 deletions
+2
View File
@@ -866,6 +866,8 @@ export const zhCN: TranslationResources = {
failedRefresh: "刷新 git 状态失败。",
emptyHiddenWhitespace: "隐藏空白差异后没有可见变更",
emptyUncommitted: "没有未 commit 的变更",
seeUncommittedChanges: "查看未 commit 的变更",
seeCommittedChanges: "查看已 commit 的变更",
emptyAgainstBase: "相对于 {{baseRef}} 没有变更",
checkingRepository: "正在检查 repository...",
notRepository: "不是 git repository",