Skip to content

fix(analytics): align Countme family sparkline domains with rendered images - #1192

Closed
Danathar wants to merge 2 commits into
projectbluefin:mainfrom
Danathar:fix/countme-sparkline-domains-1085
Closed

fix(analytics): align Countme family sparkline domains with rendered images#1192
Danathar wants to merge 2 commits into
projectbluefin:mainfrom
Danathar:fix/countme-sparkline-domains-1085

Conversation

@Danathar

Copy link
Copy Markdown
Contributor

Problem

CountmeAnalyticsCharts.tsx previously calculated the workstation shared sparkline domain from hardcoded keys ["bluefin", "aurora", "bluefin-lts"], including external Aurora while omitting next-generation variants Dakota and Utah rendered in the family cards.

Solution

  • Derived the workstation small multiples shared domain keys directly from BLUEFIN_FAMILY_IMAGES (BLUEFIN_FAMILY_IMAGES.map((img) => img.id)), ensuring the domain always stays aligned with the rendered family cards.
  • Added boundary protection to prevent non-finite bounds if no data is present.
  • Exported ProjectBluefinImageSpec and BLUEFIN_FAMILY_IMAGES.
  • Added unit tests in scripts/countme-analytics-charts.test.js validating that external variants (Aurora) are excluded from the family sparkline domain, next-gen variants (Dakota & Utah) are included, and all family cards share the same domain.

Closes #1085

— hive: backend=agy

🐝 Hive Agent: contributor | SHA: 7f955f06

…images

Derive workstation small multiples shared domain keys from BLUEFIN_FAMILY_IMAGES so the domain matches the family cards (Bluefin, Bluefin LTS, Dakota, Utah) instead of including external Aurora and omitting Dakota/Utah.

Closes projectbluefin#1085

Signed-off-by: Danathar <Danathar@users.noreply.github.com>
@Danathar
Danathar requested a review from castrojo as a code owner September 10, 2026 12:48
@castrojo
castrojo added this pull request to the merge queue Sep 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 10, 2026
@castrojo

Copy link
Copy Markdown
Contributor

Superseded by #1201 rebased cleanly on latest main.

@castrojo castrojo closed this Sep 10, 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.

fix(analytics): align Countme family sparkline domains with rendered images

2 participants