feat(files-view): add per-root open file tabs store
- Add per-root tab state to track open files and current selection - Derive open file nodes for the active root and trim root paths
This commit is contained in:
@@ -232,6 +232,9 @@ export const useUIStore = create<UIStore>()(
|
||||
},
|
||||
|
||||
setMainTabGuard: (guard) => {
|
||||
if (get().mainTabGuard === guard) {
|
||||
return;
|
||||
}
|
||||
set({ mainTabGuard: guard });
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user