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:
@@ -605,6 +605,7 @@ interface UIStore {
|
||||
inputSpellcheckEnabled: boolean;
|
||||
wideChatLayoutEnabled: boolean;
|
||||
showToolFileIcons: boolean;
|
||||
showTurnChangedFiles: boolean;
|
||||
showExpandedBashTools: boolean;
|
||||
showExpandedEditTools: boolean;
|
||||
timeFormatPreference: TimeFormatPreference;
|
||||
@@ -743,6 +744,7 @@ interface UIStore {
|
||||
setInputSpellcheckEnabled: (value: boolean) => void;
|
||||
setWideChatLayoutEnabled: (value: boolean) => void;
|
||||
setShowToolFileIcons: (value: boolean) => void;
|
||||
setShowTurnChangedFiles: (value: boolean) => void;
|
||||
setShowExpandedBashTools: (value: boolean) => void;
|
||||
setShowExpandedEditTools: (value: boolean) => void;
|
||||
setTimeFormatPreference: (value: TimeFormatPreference) => void;
|
||||
@@ -876,6 +878,7 @@ export const useUIStore = create<UIStore>()(
|
||||
inputSpellcheckEnabled: false,
|
||||
wideChatLayoutEnabled: false,
|
||||
showToolFileIcons: true,
|
||||
showTurnChangedFiles: false,
|
||||
showExpandedBashTools: false,
|
||||
showExpandedEditTools: false,
|
||||
timeFormatPreference: 'auto',
|
||||
@@ -1942,6 +1945,9 @@ export const useUIStore = create<UIStore>()(
|
||||
setShowToolFileIcons: (value) => {
|
||||
set({ showToolFileIcons: value });
|
||||
},
|
||||
setShowTurnChangedFiles: (value) => {
|
||||
set({ showTurnChangedFiles: value });
|
||||
},
|
||||
setShowExpandedBashTools: (value) => {
|
||||
set({ showExpandedBashTools: value });
|
||||
},
|
||||
@@ -2183,6 +2189,7 @@ export const useUIStore = create<UIStore>()(
|
||||
inputSpellcheckEnabled: state.inputSpellcheckEnabled,
|
||||
wideChatLayoutEnabled: state.wideChatLayoutEnabled,
|
||||
showToolFileIcons: state.showToolFileIcons,
|
||||
showTurnChangedFiles: state.showTurnChangedFiles,
|
||||
showExpandedBashTools: state.showExpandedBashTools,
|
||||
showExpandedEditTools: state.showExpandedEditTools,
|
||||
timeFormatPreference: state.timeFormatPreference,
|
||||
|
||||
Reference in New Issue
Block a user