refator(web):改变web布局和字体#588
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
| {tab.old_path && <div style={styles.previewSubPath}>原路径: {tab.old_path}</div>} | ||
| {meta && <div style={styles.previewMeta}>{meta}</div>} | ||
| <div style={styles.viewHeader} data-testid="git-diff-file-preview-header"> | ||
| <div style={styles.previewPath} data-testid="git-diff-file-preview-path" title={tab.path}>{tab.path}</div> |
There was a problem hiding this comment.
GitDiffFileView now renders only tab.path in the preview header, but the previous header was also the only place that surfaced tab.status and tab.old_path. For renamed entries, once this tab is opened or revisited from the secondary tab strip, the user can no longer tell where the file was renamed from, and added/deleted/renamed previews all lose their status context. Since readGitDiffFile still returns old_path/status, this is a real behavior regression rather than just a cosmetic simplification.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
修改web端文件显示的布局和字体