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

Security Insights Content Page is not rendering table as expected #1492

Open
david-heidema opened this issue Jul 23, 2024 · 0 comments
Open
Labels
kind/bug Something isn't working

Comments

@david-heidema
Copy link
Contributor

Security Insights Content Page is not rendering table as expected.

Current Behavior

When opening the Security Insights tab (EntitySecurityInsightsContent) the table renders stating "No records to display" with the "OPEN" button appearing to be preselected. After selecting the "OPEN" button again, the records display as expected. Clicking "OPEN" a second time also makes the records disappear. The same goes fo the "DISMISSED" button, however, "FIXED" does not have this issue.
Screenshot 2024-07-23 at 2 32 18 PM

Expected Behavior

The Security Insights table should initially render with the records displayed that relate to open issues. Likewise the OPEN and DISMISSED buttons should have the capability to be clicked several times in a row without deselecting them(same behavior as FIXED button).

Steps to Reproduce

Install 2.3.19 of @roadiehq/backstage-plugin-security-insights. View "Security Insights" tab on a valid component.

Possible Solution

I believe the state of these buttons is being set incorrectly.

Your Environment

  • @backstage/plugin-catalog-react version: ^1.21.1
  • @backstage/integration version: ^1.1.29
@david-heidema david-heidema added the kind/bug Something isn't working label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant