Enable explorer sidebar on draft screen after cwd selection (#54)

* fix: simplify tmux session creation in paseo.json

* feat(app): enable draft explorer sidebar from working directory

* chore: align paseo config with main
This commit is contained in:
Mohamed Boudra
2026-02-18 12:27:19 +07:00
committed by GitHub
parent 96a80036f6
commit 4305a37ec3
3 changed files with 437 additions and 194 deletions
+9
View File
@@ -69,6 +69,7 @@ interface PanelState {
// Actions
openAgentList: () => void;
openFileExplorer: () => void;
closeFileExplorer: () => void;
closeToAgent: () => void;
toggleAgentList: () => void;
toggleFileExplorer: () => void;
@@ -147,6 +148,14 @@ export const usePanelStore = create<PanelState>()(
...(resolvedTab ? { explorerTab: resolvedTab } : {}),
};
}),
closeFileExplorer: () =>
set((state) => ({
mobileView: state.mobileView === "file-explorer" ? "agent" : state.mobileView,
desktop: {
...state.desktop,
fileExplorerOpen: false,
},
})),
closeToAgent: () =>
set((state) => ({