Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: combine health and status widgets #8782

Merged
merged 8 commits into from
Nov 18, 2024

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Nov 18, 2024

This PR combines the health and status widgets into a single widget. It adds a new row with information on your unhealthy flags.

The stat prettifies large numbers to avoid overflows for very large numbers. To keep it in line with the SVG, I've extracted some of the constants so we can share them for size calculation.

image

When it folds, it uses the "space-around" algorithm to make the two stats occupy their own positions:
image

The number uses a custom background color in dark mode because elevation 1 and 2 are the same there:
image

Copy link

vercel bot commented Nov 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 10:58am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 18, 2024 10:58am

Copy link
Contributor

github-actions bot commented Nov 18, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@thomasheartman thomasheartman merged commit fb9c754 into main Nov 18, 2024
9 of 11 checks passed
@thomasheartman thomasheartman deleted the 1-3127/combine-health-and-stale-status-widget branch November 18, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants