Repository navigation
Fixes 6035: Make knowledge graph 3D theme-aware - #32482
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
✅ Playwright Results — workflow succeededValidated commit ✅ 557 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 46m 51s ⏱️ Max setup 4m 33s · max shard execution 16m 47s · max shard-job elapsed before upload 19m 53s · reporting 5s 🌐 235.83 requests/attempt · 2.82 app boots/UI scenario · 21.75% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|
Code Review ✅ Approved 1 resolved / 1 findingsMakes the Knowledge Graph 3D experience theme-aware by resolving canvas and WebGL colors from semantic tokens and rebuilding presentation when the active theme changes. Stage, legend, panels, labels, badges, and controls now update for light and dark themes without resetting graph data or camera state. The ✅ 1 resolved✅ Edge Case: colorChannels silently yields black for non-rgb/6-hex colors
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|



Describe your changes:
Fixes #6035
This stacked PR makes the Knowledge Graph 3D experience theme-aware. It resolves canvas and WebGL colors from semantic tokens, rebuilds theme-sensitive presentation in place when the active theme changes, and updates the surrounding stage, legend, panels, labels, badges, and controls for light and dark themes.
Depends on #32439. The base branch will be changed to
mainafter the parent PRs merge.Screen.Recording.2026-09-02.at.7.44.54.PM.mov
Type of change:
High-level design:
There are no data-model, API, migration, or backward-compatibility changes.
Tests:
Use cases covered
Unit tests
nodeCanvas.test.ts,KnowledgeGraph3DScene.test.tsx,KnowledgeGraph3D.test.tsxyarn test src/components/KnowledgeGraph3D --runInBand --watchAll=false(6 suites, 107 tests passed)Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
To be attached during review.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.