Skip to content

fix(summary): restore shared style compatibility - #467

Merged
interstellarmt merged 1 commit into
aifrom
fix/summary-style-compatibility
Nov 27, 2026
Merged

interstellarmt merged 1 commit into
aifrom
fix/summary-style-compatibility

Conversation

@interstellarmt

Copy link
Copy Markdown
Member
  • 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.
Copilot AI balanced review requested due to automatic review settings November 27, 2026 08:24
@changeset-bot

changeset-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bec8b6b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@interstellarmt
interstellarmt merged commit f745d6c into ai Nov 27, 2026
10 checks passed
@interstellarmt
interstellarmt deleted the fix/summary-style-compatibility branch November 27, 2026 08:25

Copilot AI 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.

🟢 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 theme and style overrides, 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

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview is ready!

PR preview ✅ Ready ✅ Ready
🔗 Preview https://antvis-GPT-Vis-preview-pr-467.surge.sh
📝 Commitbec8b6b
⏱️ Build time0.009s
📦 Size41.5 MB · 868 files
🪵 LogsView logs
📱 MobileScan to open preview on mobile

↩️ Previous: ⚡️ bec8b6b · antvis-GPT-Vis-preview-pr-467.surge.sh (open ↗) · 2026-11-27 08:27:13 UTC

🤖 Powered by surge-preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants