Repository navigation
fix(kb-ui): the knowledge graph page draws the graph (#19727) - #20681
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
|
Code review on PR #20681 (head d874310): approve. Read against the diff and Low: the composables are mocked, so parsing a real Not checked: layout, auth inheritance from |
Thinking Path
#19727:
/knowledge/graphshowed a welcome card and stat counters, while the rendererKnowledgeGraph.vuehad no route or importer. It already loads its own data frommulti-source/graphand already has empty and unreadable states (#17612), so it only needed mounting. Consolidating the graph components stays in #17569.What Changed
KnowledgeGraphView.vuerendersKnowledgeGraphon the root route, at 70% of the viewport height. The welcome card and its links stay below it.Refs #19727. It stays open for the owner's page after an update, which is that issue's host criterion.
Verification
KnowledgeGraphView.page.test.ts: 3 pass locally, withreka-uialiased to a stub through a temporary config because it isn't installed on this machine. They mount the page with 3 entities and assert 3 nodes reach the graph, then an empty KB and an unreadable store each show their reason. The graph library, the data composable and the router are mocks, so the real API response and a real drawing aren't tested. Not opened in a browser.Model Used
Claude Opus 5.5