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

Display CVEs and fixes in the advisory details page #2735

Merged
merged 8 commits into from
Jul 4, 2024

Conversation

janvhs
Copy link
Member

@janvhs janvhs commented Jul 2, 2024

Description

This MR displays the fixes and CVEs in the advisory details view

How was this tested?

The new Jest tests ensure that there is always a link to the corresponding Bugzilla issue. Furthermore it updates the other tests to follow the new component API

Did you update the documentation?

This MR does not require any changes to the existing documentation

@janvhs janvhs added the javascript Pull requests that update Javascript code label Jul 2, 2024
@janvhs janvhs marked this pull request as ready for review July 3, 2024 11:15
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

Besides the very valuable points raised by @jamie-suse, a couple things more 👍

Good job!

assets/js/pages/AdvisoryDetails/AdvisoryDetails.test.jsx Outdated Show resolved Hide resolved
assets/js/lib/test-utils/factories/advisoryErrata.js Outdated Show resolved Hide resolved
The factory was using faker.company.buzzNoun() which I suspect has a
small pool of words to pick from. Using words.noun() makes is less flaky
in my experience.
Thanks for taking the time to review my PR
@janvhs janvhs force-pushed the advisroy-details-cve-and-fixes branch from be87485 to da74eed Compare July 4, 2024 11:41
@janvhs
Copy link
Member Author

janvhs commented Jul 4, 2024

Just rebased it against main and verified it working with @jamie-suse their patches :D

@janvhs janvhs enabled auto-merge (squash) July 4, 2024 14:07
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

LGTM

@janvhs janvhs merged commit a7980e0 into main Jul 4, 2024
26 checks passed
@janvhs janvhs deleted the advisroy-details-cve-and-fixes branch July 4, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

3 participants