Skip to content

Improve download statistics dashboard breakdowns - #1514

Open
gdams wants to merge 1 commit into
adoptium:mainfrom
gdams:improve-download-stats-breakdowns
Open

gdams wants to merge 1 commit into
adoptium:mainfrom
gdams:improve-download-stats-breakdowns

Conversation

@gdams

@gdams gdams commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Description of change

  • Correct package-download labels and fall back to raw names for unknown sources.
  • Replace the redundant version chart with cross-filterable platform, architecture, image, and package breakdowns.
  • Aggregate release-asset downloads by version and fetch smaller pages to fit the Next.js data cache.

Validation:

  • npm test — passed (1,052 tests).
  • npm run build — passed in the main worktree. An isolated-worktree attempt could not resolve symlinked dependencies outside Turbopack's workspace root.
  • npx tsc --noEmit -p . — passed.
  • npx eslint src/components/Dashboard/PieChart/index.tsx src/components/Dashboard/PieChart/__tests__/filtering.test.tsx src/components/Dashboard/PlatformBreakdown src/utils/fetchPlatformBreakdown.ts src/utils/__tests__/fetchPlatformBreakdown.test.ts — passed.
  • Browser: verified excluding and restoring Solaris, combining filters, changing JDK version, and clearing filters without hover errors.

Checklist

  • npm test and npm run build passes
  • documentation is changed or added (if applicable; not applicable)
  • permission has been obtained to add new logo (if applicable; not applicable)
  • contribution guidelines followed here (ECA status not verified)

Signed-off-by: George Adams <georgeadams1995@gmail.com>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@netlify

netlify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for adoptium-next ready!

Name Link
🔨 Latest commit adbe436
🔍 Latest deploy log https://app.netlify.com/projects/adoptium-next/deploys/6afdac0736bd3935c0dbfabd
😎 Deploy Preview https://deploy-preview-1514--adoptium-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@gdams
gdams requested a review from xavierfacq November 18, 2026 13:45
@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.20388% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.01%. Comparing base (669eaee) to head (adbe436).

Files with missing lines Patch % Lines
src/app/[locale]/stats/download/page.tsx 70.00% 0 Missing and 3 partials ⚠️
src/utils/fetchPlatformBreakdown.ts 92.59% 0 Missing and 2 partials ⚠️
src/components/Dashboard/PieChart/index.tsx 87.50% 1 Missing ⚠️
...c/components/Dashboard/PlatformBreakdown/index.tsx 98.27% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1514      +/-   ##
==========================================
+ Coverage   82.78%   83.01%   +0.23%     
==========================================
  Files         199      202       +3     
  Lines        3862     3991     +129     
  Branches     1060     1087      +27     
==========================================
+ Hits         3197     3313     +116     
- Misses        314      317       +3     
- Partials      351      361      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants