Repository navigation
fix(summary): restore shared style compatibility - #467
Conversation
interstellarmt
commented
Nov 27, 2026
- restore shared style compatibility
Support per-render theme and style overrides while preserving string inputs. Cover shared config.style access, theme precedence, and rerender cleanup. Update Summary documentation.
|
There was a problem hiding this comment.
🟢 Approval recommended
The review identifies no active issues requiring changes to the summary-chart theme and style updates.
No open issues 🎉
What changed in this PR
Restores shared style compatibility for summary charts, aligning object inputs with GPT-Vis theme and style options while preserving T8 string rendering.
Changes:
- Adds per-render
themeandstyleoverrides, including annotation styling. - Preserves constructor defaults between renders and inline light/dark theme overrides.
- Updates documentation and adds runtime and type-compatibility coverage.
| File | Description |
|---|---|
src/vis/summary/README.md |
Documents object inputs, theme precedence, and local styles. |
src/vis/summary/index.ts |
Adds object-level theme and style options and resolves appearance per render. |
skills/chart-visualization/references/summary.md |
Updates summary guidance with theme and style overrides. |
__tests__/vis/summary.test.ts |
Covers local styles, theme overrides, annotations, and render isolation. |
__tests__/annotation/types.test.ts |
Checks shared configuration compatibility and consumer type narrowing. |
Review effort: Balanced
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
