Skip to content

feat(node-ui): rebuild context graph overview IA#615

Merged
Jurij89 merged 13 commits into
mainfrom
codex/cgux-s1-s2-n8-overview
May 24, 2026
Merged

feat(node-ui): rebuild context graph overview IA#615
Jurij89 merged 13 commits into
mainfrom
codex/cgux-s1-s2-n8-overview

Conversation

@Jurij89

@Jurij89 Jurij89 commented May 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Implements PR 2.3 / S1 + S2 + N8 from the Context Graph UX plan: the view switcher now follows the pipeline IA, with memory layers grouped before Subgraphs and Query Catalogue in More.
  • Rebuilds the Context Graph Overview as a summary-only surface with role/access badges, shared StatStrip stats, one Knowledge Pipeline, and links into WM/SWM/VM instead of embedding duplicate layer pages.
  • Adds the linked Context Graph primer, including a direct /ui/context-graph-primer restore path, and completes the user-facing Verifiable Memory terminology sweep across adjacent node UI memory surfaces.

Related

Files changed

File What
packages/node-ui/src/ui/views/project/components.tsx Reorders the Context Graph switcher, adds Overview role/access badges and Knowledge Pipeline, and keeps role labels conservative when identity is unavailable.
packages/node-ui/src/ui/views/ProjectView.tsx Removes the Overview MemoryStrip duplication, wires current-agent identity, layer navigation, and primer opening.
packages/node-ui/src/ui/views/ContextGraphPrimerView.tsx Adds the N8 primer surface for layers, subgraphs, entities vs Knowledge Assets, assertions, and roles.
packages/node-ui/src/ui/App.tsx / components/Shell/PanelCenter.tsx Registers and renders the primer as a direct-restorable center tab.
packages/node-ui/src/ui/styles.css Adds Overview, primer, switcher grouping, More menu, and responsive compact-label styles.
packages/node-ui/src/ui/views/DashboardView.tsx, MemoryLayerView.tsx, MemoryStackView.tsx, genui/*, mocks/data.ts, CreateProjectModal.tsx, views/project/helpers.ts Aligns visible VM copy to the canonical Verifiable Memory term.
packages/node-ui/test/context-graph-ia-overview.test.ts, project-view-navigation.test.ts, vm-hero-banner.test.ts Adds IA/Overview/primer coverage and updates existing mocks/expectations.

Test plan

  • pnpm --filter @origintrail-official/dkg-node-ui exec vitest run test/context-graph-ia-overview.test.ts test/project-view-navigation.test.ts test/vm-hero-banner.test.ts
  • pnpm --filter @origintrail-official/dkg-node-ui exec vitest run test/context-graph-ia-overview.test.ts test/project-view-navigation.test.ts test/context-graph-empty-stat-components.test.ts test/use-memory-entities-counts.test.ts test/use-memory-entities-labels.test.ts test/context-graph-contrast.test.ts test/subgraph-detail-view.test.ts test/use-my-context-graphs.test.ts test/contextGraphSidebar.test.ts test/vm-hero-banner.test.ts
  • pnpm --filter @origintrail-official/dkg-core --filter @origintrail-official/dkg-graph-viz --filter @origintrail-official/dkg-node-ui run build
  • pnpm --filter @origintrail-official/dkg-node-ui run build
  • pnpm --filter @origintrail-official/dkg-node-ui run build:ui (existing large chunk warnings only)
  • git diff --check (CRLF warnings only)
  • Dev-server visual QA through a local mock-data proxy at http://127.0.0.1:5181/ui/: screenshots at 1440x900, 1280x800, and 900x700 confirmed one-row navigation, no horizontal overflow, no visible Graph Overview, no Overview MemoryStrip duplication, visible Knowledge Pipeline, and the primer entry point.
  • Browser route smoke confirmed direct /ui/context-graph-primer restore and Overview primer-link URL encoding.
  • Local PR reviewer ran three rounds; valid findings were fixed and the final round returned {comments:[]}.

Comment thread packages/node-ui/src/ui/views/ProjectView.tsx Outdated
Comment thread packages/node-ui/src/ui/App.tsx Outdated
Comment thread packages/node-ui/src/ui/views/ContextGraphPrimerView.tsx Outdated
Comment thread packages/node-ui/src/ui/App.tsx Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx Outdated
Comment thread packages/node-ui/src/ui/App.tsx Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx
Comment thread packages/node-ui/src/ui/views/ProjectView.tsx Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx Outdated
Comment thread packages/node-ui/src/ui/hooks/useCurrentAgent.ts
Comment thread packages/node-ui/src/ui/views/project/components.tsx
Comment thread packages/node-ui/src/ui/styles.css Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx
Comment thread packages/node-ui/src/ui/hooks/useCurrentAgent.ts
Comment thread packages/node-ui/src/ui/hooks/useCurrentAgent.ts Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx
Comment thread packages/node-ui/src/ui/views/ProjectView.tsx Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx
Comment thread packages/node-ui/src/ui/views/project/components.tsx Outdated
Comment thread packages/node-ui/src/ui/hooks/useCurrentAgent.ts Outdated
Comment thread packages/node-ui/src/ui/views/project/components.tsx
Comment thread packages/node-ui/src/ui/hooks/useCurrentAgent.ts Outdated
Comment thread packages/node-ui/src/ui/hooks/useCurrentAgent.ts
Comment thread packages/node-ui/src/ui/App.tsx Outdated

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex review completed — no issues found.

@Jurij89 Jurij89 merged commit fd3ebd4 into main May 24, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant