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(ESSNTL-3717): Add Inventory groups filter and column #1920

Merged
merged 4 commits into from
Jul 26, 2023

Conversation

Fewwy
Copy link
Contributor

@Fewwy Fewwy commented Jul 24, 2023

https://issues.redhat.com/browse/ESSNTL-3717
How to test - check that the groups filter is present as well as groups filter, check that the groups column is present in the column manager.
Try to turn on/off the feature flag and check that the table hides all info about groups.
The sorting by group is not implemented
Data about groups is not available until it implemented so group links are not present in the column

Groups feature flag ON
image
image
image

Groups feature flag OFF
image
image

@Fewwy Fewwy requested a review from a team as a code owner July 24, 2023 16:53
@jira-linking
Copy link

jira-linking bot commented Jul 24, 2023

Commits missing Jira IDs:
5bb2204
1100187
685e8af
cbd3121

@Fewwy Fewwy added the enhancement New feature or request label Jul 24, 2023
@Fewwy Fewwy self-assigned this Jul 24, 2023
Copy link
Contributor

@gkarat gkarat left a comment

Choose a reason for hiding this comment

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

The column manager does nothing if I deselect the Group column and submit. The columns stay the same, however, the Group column must disappear I believe...

Screencast.from.2023-07-25.11-19-45.webm

Besides that, just a couple of nit-picks. Once we have some changes on the back-end side, we would need another PR to: 1) make sure the active groups filter adds the appropriate parameter to requests to /api/v1/vulnerability/systems, 2) we read the data about each host's group from the correct key path (to be confirmed with the Vulnerability team how they are gonna propagate this value).

src/Components/SmartComponents/SystemsPage/SystemsPage.js Outdated Show resolved Hide resolved
src/Components/SmartComponents/SystemsPage/SystemsPage.js Outdated Show resolved Hide resolved
@gkarat gkarat changed the title feat(essntl-3717): inv groups integration feat(ESSNTL-3717): Add Inventory groups filter and column Jul 25, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.09% ⚠️

Comparison is base (805f2be) 71.67% compared to head (cbd3121) 71.58%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1920      +/-   ##
==========================================
- Coverage   71.67%   71.58%   -0.09%     
==========================================
  Files         116      117       +1     
  Lines        2930     2939       +9     
  Branches      878      882       +4     
==========================================
+ Hits         2100     2104       +4     
- Misses        830      835       +5     
Files Changed Coverage Δ
...ponents/SmartComponents/SystemsPage/SystemsPage.js 1.17% <0.00%> (-0.03%) ⬇️
src/Helpers/constants.js 69.62% <0.00%> (-2.75%) ⬇️
src/Utilities/useFeatureFlag.js 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

@Fewwy Fewwy closed this Jul 26, 2023
@Fewwy Fewwy reopened this Jul 26, 2023
@leSamo leSamo merged commit f40f385 into RedHatInsights:master Jul 26, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants