Skip to content

RHDHBUGS-3056: Fix chart color calculation for the "Average" aggregation type#3048

Draft
imykhno wants to merge 2 commits intoredhat-developer:mainfrom
imykhno:fix/average-card-chart-color-calculation
Draft

RHDHBUGS-3056: Fix chart color calculation for the "Average" aggregation type#3048
imykhno wants to merge 2 commits intoredhat-developer:mainfrom
imykhno:fix/average-card-chart-color-calculation

Conversation

@imykhno
Copy link
Copy Markdown
Contributor

@imykhno imykhno commented May 5, 2026

Hey, I just made a Pull Request!

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app Bot commented May 5, 2026

Unexpected Changesets

The following changeset(s) reference packages that have not been changed in this PR:

  • /home/runner/work/rhdh-plugins/rhdh-plugins/workspaces/scorecard/.changeset/old-kings-care.md: @red-hat-developer-hub/backstage-plugin-scorecard-backend-module-sonarqube, @red-hat-developer-hub/backstage-plugin-scorecard-backend-module-jira

Note that only changes that affect the published package require changesets, for example changes to tests and storybook stories do not require changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
app-legacy workspaces/scorecard/packages/app-legacy none v0.0.0
@red-hat-developer-hub/backstage-plugin-scorecard-backend workspaces/scorecard/plugins/scorecard-backend patch v2.7.3
@red-hat-developer-hub/backstage-plugin-scorecard-node workspaces/scorecard/plugins/scorecard-node patch v2.7.3
@red-hat-developer-hub/backstage-plugin-scorecard workspaces/scorecard/plugins/scorecard patch v2.7.3

…age numbers

Signed-off-by: Ihor Mykhno <imykhno@redhat.com>
@imykhno imykhno force-pushed the fix/average-card-chart-color-calculation branch from dc2477f to bda28c8 Compare May 7, 2026 12:00
…etrics

Signed-off-by: Ihor Mykhno <imykhno@redhat.com>
@imykhno imykhno force-pushed the fix/average-card-chart-color-calculation branch from bda28c8 to 1cde868 Compare May 7, 2026 16:15
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 7, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

❌ Patch coverage is 86.57718% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.01%. Comparing base (f47b22f) to head (1cde868).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3048      +/-   ##
==========================================
+ Coverage   60.95%   61.01%   +0.05%     
==========================================
  Files        2067     2075       +8     
  Lines       63913    64058     +145     
  Branches    16666    16721      +55     
==========================================
+ Hits        38957    39082     +125     
- Misses      24767    24787      +20     
  Partials      189      189              
Flag Coverage Δ *Carryforward flag
adoption-insights 83.58% <ø> (ø) Carriedforward from f47b22f
ai-integrations 70.03% <ø> (ø) Carriedforward from f47b22f
app-defaults 69.60% <ø> (ø) Carriedforward from f47b22f
augment 69.36% <ø> (ø) Carriedforward from f47b22f
bulk-import 72.44% <ø> (ø) Carriedforward from f47b22f
cost-management 16.49% <ø> (ø) Carriedforward from f47b22f
dcm 32.85% <ø> (ø) Carriedforward from f47b22f
extensions 61.71% <ø> (ø) Carriedforward from f47b22f
global-floating-action-button 73.75% <ø> (ø) Carriedforward from f47b22f
global-header 61.68% <ø> (ø) Carriedforward from f47b22f
homepage 50.84% <ø> (ø) Carriedforward from f47b22f
konflux 91.01% <ø> (ø) Carriedforward from f47b22f
lightspeed 69.92% <ø> (ø) Carriedforward from f47b22f
mcp-integrations 81.59% <ø> (ø) Carriedforward from f47b22f
orchestrator 34.80% <ø> (ø) Carriedforward from f47b22f
quickstart 62.64% <ø> (ø) Carriedforward from f47b22f
sandbox 79.56% <ø> (ø) Carriedforward from f47b22f
scorecard 83.72% <86.57%> (+0.11%) ⬆️
theme 64.54% <ø> (ø) Carriedforward from f47b22f
translations 8.49% <ø> (ø) Carriedforward from f47b22f
x2a 82.09% <ø> (ø) Carriedforward from f47b22f

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f47b22f...1cde868. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant