Skip to content

AG-18413 Treat an empty-string sizeKey, colorKey or labelKey as omitted - #8054

Open
ag-jira-agent-ci[bot] wants to merge 4 commits into
latestfrom
ghabot-ag-18413-charts-bubble-scatter-series-crash
Open

AG-18413 Treat an empty-string sizeKey, colorKey or labelKey as omitted#8054
ag-jira-agent-ci[bot] wants to merge 4 commits into
latestfrom
ghabot-ag-18413-charts-bubble-scatter-series-crash

Conversation

@ag-jira-agent-ci

Copy link
Copy Markdown
Contributor

jira-ai-bot added 3 commits September 4, 2026 14:17
Normalise '' to undefined on BubbleScatterSeriesProperties so the optional
key columns are registered and read under the same condition, and make the
quadrant preset's sizeKey branch test emptiness rather than nullishness.
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

✅ Codex review complete; no issues found

View full review

AG-18413 Treat an empty-string sizeKey, colorKey or labelKey as omitted

PR: #8054
Author: app/ag-jira-agent-ci | Base: latest ← Head: ghabot-ag-18413-charts-bubble-scatter-series-crash
Diff: 8 files changed, +231 -16

Summary

Reviewed all changed mechanism and regression-test files, prioritising key processing, render suppression, no-data state, and grid visibility. Hot-path detection triggered, but no actionable regression was found. Tests could not run because the checkout lacks the nx command.

Findings

P0: 0 | P1: 0 | P2: 0 | P3: 0

No issues found.

Verdict

Assessment: correct
Confidence: 0.88

Empty and unmatched optional keys now consistently participate in data processing, cause the series to report no renderable data, suppress stale marker output, and receive regression coverage across scatter, bubble, colour-scale, and quadrant paths. The additional axis state distinguishes absent rows from unrenderable rows. Static inspection found no correctness or material performance issue.

Required Actions: None - ready to merge

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor
Live-test this PR in Plunker

Paste these two <script> tags into a Plunker (or any vanilla-JS host) to load the UMD bundles built from this PR:

<script src="https://ag-grid.github.io/ag-charts/pr-8054/ag-charts-community.min.js"></script>
<script src="https://ag-grid.github.io/ag-charts/pr-8054/ag-charts-enterprise.min.js"></script>

Bundles are removed automatically when the PR is closed. Updated on every push.

@ag-jira-agent-ci ag-jira-agent-ci Bot added the aiw-applying-feedback The AI Workflow pipeline is applying feedback to this PR (pipeline-owned draft state) label Sep 4, 2026
@ag-jira-agent-ci
ag-jira-agent-ci Bot marked this pull request as draft September 4, 2026 15:14
…hen a key matches no column

An empty-string sizeKey/labelKey/colorKey was registered as a data-model column only when
truthy but read back whenever non-null, so '' threw on every update pass. Register on
nullishness instead, which makes '' behave exactly like any other key that names no column:
one warning, no exception.

A series whose key matched no datum already raised the chart's no-data overlay while still
drawing markers from its remaining columns, and the axes still drew their grid behind it.
Draw neither: markers are suppressed when the series has no data, and an axis hides its
gridlines when every series bound to it is empty.
@ag-jira-agent-ci
ag-jira-agent-ci Bot marked this pull request as ready for review September 4, 2026 15:57
@ag-jira-agent-ci ag-jira-agent-ci Bot removed the aiw-applying-feedback The AI Workflow pipeline is applying feedback to this PR (pipeline-owned draft state) label Sep 4, 2026
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.

0 participants