Unleash / unleash

Open-source feature management solution built for developers.
https://getunleash.io
Apache License 2.0
11.45k stars 721 forks source link

feat: combine health and status widgets #8782

Closed thomasheartman closed 5 days ago

thomasheartman commented 5 days ago

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

vercel[bot] commented 5 days ago

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](https://vercel.com/unleash-team/unleash-docs/FRsWbuEF8r1U5FtprR77HAed7gLJ)) | [Visit Preview](https://unleash-docs-git-1-3127-combine-health-and-fb87cf-unleash-team.vercel.app) | | Nov 18, 2024 10:58am |
github-actions[bot] commented 5 days ago

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files