From 9549eb85bc60da650d49501a84acce148f478621 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 1 Apr 2026 21:30:28 -0400 Subject: [PATCH] feat: live card refresh, list checkboxes, minichat width cap KnowledgeView: - Watch streamingToolCalls; call fetchItems+fetchTags on create/update note or task so the card grid reflects changes made via the minichat - Cap minichat to max-width: var(--page-max-width) so it matches chat column width WorkspaceView + WorkspaceNoteEditor: - Expose reload() from WorkspaceNoteEditor via defineExpose - Call noteEditorRef.reload() alongside taskPanelRef.reload() when create_note/update_note tools succeed in the SSE watcher KnowledgeView list cards: - Backend: parse markdown task list into list_items [{text, checked}] + body - Card renders up to 6 items with real checkboxes; toggleListItem() does an optimistic update then PATCHes /api/notes/:id - Progress bar kept below items; "+N more" shown when list is long Co-Authored-By: Claude Sonnet 4.6 --- .../src/components/WorkspaceNoteEditor.vue | 2 + frontend/src/views/KnowledgeView.vue | 118 +++++++++++++++++- frontend/src/views/WorkspaceView.vue | 3 + src/fabledassistant/services/knowledge.py | 16 ++- 4 files changed, 129 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/WorkspaceNoteEditor.vue b/frontend/src/components/WorkspaceNoteEditor.vue index 4c02c2f..a5bb3f6 100644 --- a/frontend/src/components/WorkspaceNoteEditor.vue +++ b/frontend/src/components/WorkspaceNoteEditor.vue @@ -293,6 +293,8 @@ onMounted(async () => { }); onUnmounted(() => { if (linkCheckTimer) clearTimeout(linkCheckTimer); }); + +defineExpose({ reload: loadProjectNotes });