Repository navigation
Fixes 6035: Add theme-aware Data Insights colors - #32518
Conversation
✅ Playwright Results — workflow succeededValidated commit ✅ 601 passed · ❌ 0 failed · 🟡 2 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) 51m 41s ⏱️ Max setup 3m 58s · max shard execution 16m 8s · max shard-job elapsed before upload 19m 54s · reporting 6s 🌐 249.62 requests/attempt · 2.89 app boots/UI scenario · 35.02% common-shard skew Optimization targets still in progress:
🟡 2 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
4152ab7 to
90e39da
Compare
e2d2228 to
e822b06
Compare
Ant Design colors Typography.Title via `h5.ant-typography` (specificity 0,0,1,1), which beat the bare `.custom-data-insight-tooltip-title` rule (0,0,1,0), leaving the Data Insights tooltip title black in dark mode. Prefix the selector with `.ant-typography` to win specificity. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Code Review ✅ ApprovedAdds theme-aware colors to Data Insights and KPI charts, resolving registered 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 —
|
🚦 Removed from the merge queue —
|



Describe your changes:
Fixes #6035
This stacked PR makes Data Insights and KPI chart presentation respond to the active theme. It resolves semantic and categorical color tokens to concrete SVG/canvas-safe values, refreshes those values when the theme changes, and replaces the remaining dark-only chart, progress, legend, and panel colors in this slice.
Depends on #32482 and targets its feature branch so the theme work can be reviewed and backported as a stack.
Screen.Recording.2026-09-03.at.8.50.14.PM.mov
Type of change:
High-level design:
useDataInsightChartColorshook that resolves registered--om-color-*tokens with deterministic fallbacks and recomputes them when the active theme changes.Tests:
Use cases covered
Unit tests
useDataInsightChartColors.test.tsxDataInsightChartUtils.test.tsxDataInsightProgressBar.test.tsxKPILatestResultsV1.test.tsxKPIChart.test.tsxKPIWidget.test.tsxBackend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
To be added during review after validating against a local Data Insights dataset.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Improvement