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

[Backport 4.4-7.16] Remove duplicated buttons in SCA inventory #5016

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

Desvelao
Copy link
Member

@Desvelao Desvelao commented Dec 20, 2022

Description

This pull request removes unneeded buttons in the SCA inventory section.

The affected buttons are:

  • Export formatted
  • Refresh

that were displayed on the top of the panel.

With the work in a previous pull request (#4653), these actions are included in the reusable component, but the previous buttons were not removed so they were duplicated.

Issues Resolved

Closes #5011

Evidence

The buttons were placed in the highlighted section.
image

Test

Scenario 1: Export formatted button should not be duplicated
Given data related to Security configuration assessment scan
When When the user goes to Modules/Security configuration assessment
And Select a policy
Then the button should be duplicated. It should appear above the table.

Scenario 2: Refresh button should not be duplicated
Given data related to Security configuration assessment scan
When When the user goes to Modules/Security configuration assessment
And Select a policy
Then the button should be duplicated. It should appear above the table.

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

* fix: remove unused buttons in sca inventory

* changelog: add pull request entry to the changelog

(cherry picked from commit 442c45a)
@Desvelao Desvelao requested a review from a team as a code owner December 20, 2022 11:04
@Desvelao Desvelao self-assigned this Dec 20, 2022
@Desvelao Desvelao linked an issue Dec 20, 2022 that may be closed by this pull request
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 8.49% ( 3212 / 37824 )
Branches 4.35% ( 1271 / 29219 )
Functions 7.4% ( 696 / 9404 )
Lines 8.57% ( 3099 / 36171 )

@Desvelao Desvelao added the UI/UX Generic label for things related to the font-end side label Dec 20, 2022
Copy link
Member

@asteriscos asteriscos left a comment

Choose a reason for hiding this comment

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

CR: ✔️
Test: ✔️

Evidence

image

@Desvelao Desvelao merged commit b3d9033 into 4.4-7.16 Dec 20, 2022
@Desvelao Desvelao deleted the backport-5010-to-4.4-7.16 branch December 20, 2022 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI/UX Generic label for things related to the font-end side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicated Export formatted and Refresh buttons in SCA inventory
2 participants