wip: agui integration

This commit is contained in:
hugo committed 2026-02-25 19:51:58 +01:00
1 parent 5efbcfe03a
commit fcdf869a7c
59 files changed
+3467 -267

No files matched your search

+11
View File
@@ -38,6 +38,7 @@ describe('AppStore', () => {
posts: [],
selectedPostId: null,
dirtyPosts: new Set(),
assistantSidebarVisible: false,
});
});
@@ -167,6 +168,16 @@ describe('AppStore', () => {
expect(getStore().preferredEditorMode).toBe('markdown');
});
it('should toggle assistant sidebar visibility', () => {
expect(getStore().assistantSidebarVisible).toBe(false);
getStore().toggleAssistantSidebar();
expect(getStore().assistantSidebarVisible).toBe(true);
getStore().toggleAssistantSidebar();
expect(getStore().assistantSidebarVisible).toBe(false);
});
it('should set active panel tab', () => {
getStore().setPanelActiveTab('output');