Add Orbit Knowledge Graph dashboard page
Summary
Build the Orbit dashboard page at /dashboard/orbit. This is where group owners manage Knowledge Graph enablement for their namespaces, run graph queries, browse the schema, and check service status.
Pulled out of the feature branch !221417 so the work can be reviewed and merged incrementally.
Why this exists
Right now only instance admins can enable KG through /admin/knowledge_graph/namespaces. Group owners have no way to opt their namespaces in or out. The dashboard fixes that — owners of Premium/Ultimate root groups can toggle KG themselves, and once enabled, they can query and explore their data through the same page.
MR breakdown
The dashboard ships as six separate MRs that can be reviewed in parallel where possible:
- Namespace settings — backend endpoints for listing, enabling, and disabling KG on owned root namespaces. Checks ownership, feature flag, and plan tier.
- Webpack and frontend deps — adds the @antv/g6 graph library and webpack config changes.
- Dashboard shell — routes, controller, sidebar entry, view template, and the Vue app skeleton with a tabbed layout.
- Graph explorer — Monaco-based query editor paired with a G6 graph visualization. Handles search, traversal, aggregation, and neighbor expansion.
- Schema viewer — browse the ontology as a graph or a filterable list. Shows entity types, properties, and edge definitions.
- Status and tools — cluster health display, connection badge, and a catalog of available MCP tools.
Design
The Figma places Orbit under group-level navigation. We are putting it at the instance dashboard level (/dashboard/orbit) instead.
Access control
-
Feature flag:
:knowledge_graph(instance-level, WIP) -
Plan tier: Premium or Ultimate (checked via
licensed_feature_available?) - Namespace enablement: per root namespace, toggled by group owners
References
- Feature branch: !221417
- Parent epic: &20566 (Rails Integration)
- GA epic: &19744
- Admin API: !216010 (merged)
- MCP API: separate issue (
/api/v4/mcp-orbit, JSON-RPC)