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

fix(Remediating): SPM-2000 - Selecting all systems selected filtered … #1066

Closed
wants to merge 1 commit into from

Conversation

AsToNlele
Copy link
Contributor

@AsToNlele AsToNlele commented May 30, 2023

Description

Associated Jira ticket: SPM-2000

Selecting all systems while having filters remediates now correct amount of systems

How to test the PR

  1. Go to Patch Systems
  2. Apply some filters
  3. Select all
  4. You can remediate only systems that have installable advisories, so ideally count how many systems have Installable advisories
  5. Remediate
  6. Make sure the number of systems matches

Before the change

When selecting all systems while having filters, wrong system count is remediated

After the change

Correct amount is remediated

Dependent work link

Checklist:

  • The commit message has the Jira ticket linked
  • PR has a short description
  • Screenshots before and after the change are added
  • Tests for the changes have been added
  • README.md is updated if necessary
  • Needs additional dependent work

@AsToNlele AsToNlele requested a review from a team as a code owner May 30, 2023 12:37
@codecov-commenter
Copy link

codecov-commenter commented May 30, 2023

Codecov Report

Patch coverage: 25.00% and project coverage change: +0.07% 🎉

Comparison is base (4fb84ef) 63.15% compared to head (c5ed917) 63.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1066      +/-   ##
==========================================
+ Coverage   63.15%   63.23%   +0.07%     
==========================================
  Files         120      120              
  Lines        2994     2984      -10     
  Branches      765      761       -4     
==========================================
- Hits         1891     1887       -4     
+ Misses       1103     1097       -6     
Files Changed Coverage Δ
src/SmartComponents/Advisories/Advisories.js 100.00% <ø> (ø)
src/Utilities/RemediationPairs.js 0.00% <0.00%> (ø)
src/store/Reducers/AdvisoryListStore.js 80.00% <ø> (+10.43%) ⬆️
src/store/Reducers/SystemsStore.js 100.00% <ø> (+17.64%) ⬆️
src/SmartComponents/Systems/Systems.js 78.78% <100.00%> (-0.63%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leSamo
Copy link
Member

leSamo commented Aug 4, 2023

For some reason every time I try to open Status filter and click on a checkbox the whole page freezes and the tab crashes later, and I quite can't put my finger on why it happens, can you add and remove Status filter without page hanging?

@AsToNlele AsToNlele marked this pull request as draft August 17, 2023 15:12
@AsToNlele AsToNlele marked this pull request as ready for review August 21, 2023 10:31
@AsToNlele
Copy link
Contributor Author

/retest

@leSamo
Copy link
Member

leSamo commented Aug 21, 2023

@AsToNlele were you able to reproduce/fix the issue I mentioned in my previous comment? I believe the last force push was just a rebase, or did it include any changes?

@AsToNlele
Copy link
Contributor Author

I wasn't able to reproduce, yeah I just rebased 😄

@AsToNlele
Copy link
Contributor Author

/retest

@mkholjuraev
Copy link
Collaborator

@AsToNlele seems the issue has been resolved.

@mkholjuraev
Copy link
Collaborator

Probably we can close this :)

@mkholjuraev mkholjuraev closed this Jun 4, 2024
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.

None yet

4 participants