Skip to content

✨ Add Score to Severity shield component#416

Merged
gildub merged 4 commits intoguacsec:mainfrom
carlosthe19916:severity-score
Mar 27, 2025
Merged

✨ Add Score to Severity shield component#416
gildub merged 4 commits intoguacsec:mainfrom
carlosthe19916:severity-score

Conversation

@carlosthe19916
Copy link
Copy Markdown
Collaborator

@carlosthe19916 carlosthe19916 commented Mar 25, 2025

Resolves #415

The User Stories Review done days ago revealed that due to v1 UI Parity we need to render, for each severity, the numeric score next to it.

https://issues.redhat.com/browse/TC-2200 is one of the tickets that highlighted it.

For consistency this PR changes in a single PR all pages that renders Severities. Each severity will look like Shield with color + Severity Name + (Severity numeric Score).

This PR is in progress and we will need to wait for guacsec/trustify#1473 to be fixed as 2 endpoints do not contain the numeric score value for a Severity

Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
# Conflicts:
#	client/src/app/pages/advisory-list/advisory-table.tsx
#	client/src/app/pages/package-details/vulnerabilities-by-package.tsx
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
@carlosthe19916 carlosthe19916 marked this pull request as ready for review March 26, 2025 12:43
@carlosthe19916 carlosthe19916 changed the title WIP Add Score to Severity shield component ✨ Add Score to Severity shield component Mar 26, 2025
@carlosthe19916 carlosthe19916 requested a review from gildub March 26, 2025 12:43
@carlosthe19916
Copy link
Copy Markdown
Collaborator Author

The backend solved guacsec/trustify#1473 already so this PR is ready to be reviewed

@gildub gildub merged commit b60ddf1 into guacsec:main Mar 27, 2025
7 checks passed
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.

Severity should render numeric scores

2 participants