feat: show changed files after completed turns
Add changed-file pills with per-file diff stats Add a chat setting to disable the feature fully Avoid changed-file projection work when disabled
This commit is contained in:
@@ -455,6 +455,9 @@ const applyDesktopUiPreferences = (settings: DesktopSettings) => {
|
||||
if (typeof settings.showToolFileIcons === 'boolean' && settings.showToolFileIcons !== store.showToolFileIcons) {
|
||||
store.setShowToolFileIcons(settings.showToolFileIcons);
|
||||
}
|
||||
if (typeof settings.showTurnChangedFiles === 'boolean' && settings.showTurnChangedFiles !== store.showTurnChangedFiles) {
|
||||
store.setShowTurnChangedFiles(settings.showTurnChangedFiles);
|
||||
}
|
||||
if (typeof settings.showExpandedBashTools === 'boolean' && settings.showExpandedBashTools !== store.showExpandedBashTools) {
|
||||
store.setShowExpandedBashTools(settings.showExpandedBashTools);
|
||||
}
|
||||
@@ -957,6 +960,9 @@ const sanitizeWebSettings = (payload: unknown): DesktopSettings | null => {
|
||||
if (typeof candidate.showToolFileIcons === 'boolean') {
|
||||
result.showToolFileIcons = candidate.showToolFileIcons;
|
||||
}
|
||||
if (typeof candidate.showTurnChangedFiles === 'boolean') {
|
||||
result.showTurnChangedFiles = candidate.showTurnChangedFiles;
|
||||
}
|
||||
if (typeof candidate.showExpandedBashTools === 'boolean') {
|
||||
result.showExpandedBashTools = candidate.showExpandedBashTools;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user