Skip to content

fix(kb-ui): the knowledge graph page draws the graph (#19727) - #20681

Merged
mrveiss merged 4 commits into
mainfrom
issue-19727-graph-page
Nov 2, 2026
Merged

mrveiss merged 4 commits into
mainfrom
issue-19727-graph-page

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Thinking Path

#19727: /knowledge/graph showed a welcome card and stat counters, while the renderer KnowledgeGraph.vue had no route or importer. It already loads its own data from multi-source/graph and already has empty and unreadable states (#17612), so it only needed mounting. Consolidating the graph components stays in #17569.

What Changed

  • KnowledgeGraphView.vue renders KnowledgeGraph on 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, with reka-ui aliased 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

@mrveiss mrveiss added the phase:M1.8 Knowledge base: upload, web sources and chat retrieval work end to end label Nov 2, 2026
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 58cbf98 and 4ffabfd.

Files selected for processing: 2
  • autobot-frontend/src/components/knowledge/KnowledgeGraphView.vue
  • autobot-frontend/src/components/knowledge/__tests__/KnowledgeGraphView.page.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@mrveiss

mrveiss commented Nov 2, 2026

Copy link
Copy Markdown
Owner Author

Code review on PR #20681 (head d874310): approve.

Read against the diff and main; nothing was run or opened in a browser. KnowledgeGraph.vue had no importer and takes no props, and its four API paths exist on the backend. The test mounts the real view and component, and the empty and unreadable assertions hit the real template. Refs #19727 is right, because the host criterion needs host evidence.

Low: the composables are mocked, so parsing a real multi-source/graph payload is untested. The body says so.

Not checked: layout, auth inheritance from /knowledge, the memory router's auth, and whether knowledge.graph.sourcesUnreadable exists in the locale file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

phase:M1.8 Knowledge base: upload, web sources and chat retrieval work end to end

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant