Skip to content

Fix update statistics card overflow#2111

Open
popka13221 wants to merge 1 commit into
Cap-go:mainfrom
popka13221:fix-stats-card-overflow
Open

Fix update statistics card overflow#2111
popka13221 wants to merge 1 commit into
Cap-go:mainfrom
popka13221:fix-stats-card-overflow

Conversation

@popka13221
Copy link
Copy Markdown

Summary

  • fixes the update statistics card header overflow by keeping the header focused on the title/total
  • moves the requested/installed/failed legend into the chart content area
  • renders compact legend numbers while preserving full values in title/aria labels
  • keeps the chart area constrained with min-h-0/flex sizing so the legend does not push content outside the card

Fixes #1790

Tests

  • git diff --check
  • targeted template sanity check with Node

Notes

  • Local full app build was not run because this worktree does not have the repository package manager/runtime installed (bun is unavailable locally).
  • No production endpoints were accessed.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@popka13221 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 41 minutes and 59 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1b59f001-a9b2-47b3-9aa6-8986f942c9ba

📥 Commits

Reviewing files that changed from the base of the PR and between 1ef9d26 and 4840f2f.

📒 Files selected for processing (1)
  • src/components/dashboard/UpdateStatsCard.vue
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codspeed-hq
Copy link
Copy Markdown
Contributor

codspeed-hq Bot commented May 10, 2026

Merging this PR will not alter performance

✅ 43 untouched benchmarks
⏩ 2 skipped benchmarks1


Comparing popka13221:fix-stats-card-overflow (4840f2f) with main (1ef9d26)

Open in CodSpeed

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@e4792200-stack e4792200-stack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the single-component diff for the stats-card overflow fix. The change keeps the ChartCard total/evolution rendering intact, moves only the per-action legend into the chart content area, and the min-h-0/flex-1 wrapper preserves the chart area sizing rather than letting the legend force the card taller. The compact legend keeps full values available through aria-label/title, so the abbreviated display does not drop precision for assistive/hover use.

I also checked git diff --check locally and the PR checks are green. No blockers from my side.

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.

Statistics can go off screen

2 participants