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: Show color badges for severity on reports lists #84

Merged
merged 5 commits into from
Apr 22, 2022

Conversation

nublarsec
Copy link
Contributor

This change adds color badges to the severity counts on the report list pages, making them easier to scan visually.

This resolves issue #83.

Vulnerability Reports page:
Screen Shot 2022-04-21 at 1 01 58 PM

Config Audit Reports page:
Screen Shot 2022-04-21 at 1 54 18 PM

CIS Kube Bench Reports page:
Screen Shot 2022-04-21 at 1 54 27 PM

@CLAassistant
Copy link

CLAassistant commented Apr 21, 2022

CLA assistant check
All committers have signed the CLA.

@danielpacak danielpacak self-requested a review April 22, 2022 09:12
Copy link
Contributor

@danielpacak danielpacak left a comment

Choose a reason for hiding this comment

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

Great idea @nublarsec and thanks for working on the implementation. I left minor comments to apply. I also noticed that the text is not exactly centered.

lens_badges

src/configauditreports/page.scss Outdated Show resolved Hide resolved
src/vulnerabilityreports/page.scss Outdated Show resolved Hide resolved
@nublarsec
Copy link
Contributor Author

nublarsec commented Apr 22, 2022

@danielpacak thanks for the quick reply. I've dropped the unused severity styles.

I also changed the badges for zero counts so they still appear with the same size and shape. This looks better and keeps all the counts aligned.
Screen Shot 2022-04-22 at 7 45 22 AM

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.

3 participants