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:
Bohdan Triapitsyn
2026-02-01 21:43:49 +02:00
parent 8e5f83c0a3
commit b441d27e99
3 changed files with 401 additions and 113 deletions
+3
View File
@@ -232,6 +232,9 @@ export const useUIStore = create<UIStore>()(
},
setMainTabGuard: (guard) => {
if (get().mainTabGuard === guard) {
return;
}
set({ mainTabGuard: guard });
},