The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
test(code): der Kopf-Knopf bleibt bei eingeklappter Explorer-Spalte erreichbar (S7, zweite Haelfte)
purplef56124815a12
diff --git a/src/components/chat/__tests__/the-header-can-let-the-folder-go.test.ts b/src/components/chat/__tests__/the-header-can-let-the-folder-go.test.tsindex ce8bdbdd..4ba949f9 100644--- a/src/components/chat/__tests__/the-header-can-let-the-folder-go.test.ts+++ b/src/components/chat/__tests__/the-header-can-let-the-folder-go.test.ts@@ -47,6 +47,7 @@ const { useAgentLoopStore } = await import('../../../stores/agentLoopStore')const { useAgentModeStore } = await import('../../../stores/agentModeStore')const { useSettingsStore } = await import('../../../stores/settingsStore')const { useChatStore } = await import('../../../stores/chatStore')+const { useUIStore } = await import('../../../stores/uiStore')const { DEFAULT_SETTINGS } = await import('../../../lib/constants')const WINDOWS_PATH = 'C:\\Users\\dielitakira\\Documents\\huge-tree'@@ -68,6 +69,7 @@ beforeEach(() => {useAgentModeStore.setState({ workspaces: {} })useSettingsStore.setState({ settings: { ...DEFAULT_SETTINGS } })useChatStore.setState({ conversations: [], activeConversationId: null })+ useUIStore.setState({ explorerCollapsed: false })})afterEach(() => cleanup())@@ -78,6 +80,15 @@ describe('the header shows the folder, so it also gives it back', () => {expect(removeButton()).not.toBeNull()})+ it('stays reachable while the explorer column is collapsed (S7, the other half)', async () => {+ // The column hides its own Remove control when collapsed; the header is+ // the exit the report asked for, so it must not depend on that state.+ act(() => useCodexStore.getState().setWorkingDirectory(WINDOWS_PATH))+ act(() => useUIStore.getState().setExplorerCollapsed(true))+ await show()+ expect(removeButton()).not.toBeNull()+ })+it('carries none while the agent is in its sandbox', async () => {await show()// Negative control: bound to the folder, not always painted.