RoadieHQ / roadie-backstage-plugins

All Backstage plugins created by Roadie.
https://roadie.io
Apache License 2.0
277 stars 402 forks source link

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

Closed david-heidema closed 1 month ago

david-heidema commented 3 months ago

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

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

david-heidema commented 1 month ago

Not stale.