wip: agui integration

This commit is contained in:
2026-02-25 19:51:58 +01:00
parent 5efbcfe03a
commit fcdf869a7c
59 changed files with 3467 additions and 267 deletions

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');