Skip to content

ROX-36101: Node reports list view - #22320

Open
bradr5 wants to merge 1 commit into
bradr/ROX-36100_node_reports_page_scaffoldingfrom
bradr/ROX-36101_node_reports_list
Open

ROX-36101: Node reports list view#22320
bradr5 wants to merge 1 commit into
bradr/ROX-36100_node_reports_page_scaffoldingfrom
bradr/ROX-36101_node_reports_list

Conversation

@bradr5

@bradr5 bradr5 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Description

Node vulnerability reports list view

Notes:

  • Fixed two existing types in ReportsService.types.ts that were incomplete (ResourceScope missing entityScope, Schedule missing DAILY), confirmed unused in image reports, but matches proto 1:1.
  • Row actions are present but disabled (real actions are a follow up task). Report name links to a details route that doesn't exist yet (intentional).
  • Uses useCallback + useRestQuery and getTableUIState/TbodyUnified rather than
    copying the sibling image reports.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Backend doesn't exist yet, so no e2e validation against real data. Confirmed to work against mock data:
Screenshot 2026-08-14 at 3 13 27 PM

@bradr5
bradr5 requested a review from a team as a code owner August 14, 2026 20:51
): CancellableRequest<{ count: number }> {
const params = queryString.stringify(
{ query: getRequestQueryStringForSearchFilter(searchFilter) },
{ arrayFormat: 'repeat' }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think a getCountQueryParams as a util function next to getListQueryParams in searchUtils is worth a follow up. There are 4 other services doing the exact same thing as this one, and a few others doing something similar that I think could also benefit.

<PageSection>
<Toolbar>
<ToolbarContent>
<ToolbarItem className="pf-v6-u-flex-grow-1">

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No way around this unfortunately without dropping the Toolbar component itself

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Build Images Ready

Images are ready for commit 954dbea. To use with deploy scripts:

export MAIN_IMAGE_TAG=4.12.x-778-g954dbeaca9

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.20%. Comparing base (b3c9ca5) to head (954dbea).

Additional details and impacted files
@@                              Coverage Diff                               @@
##           bradr/ROX-36100_node_reports_page_scaffolding   #22320   +/-   ##
==============================================================================
  Coverage                                          51.19%   51.20%           
==============================================================================
  Files                                               2855     2855           
  Lines                                             178712   178712           
==============================================================================
+ Hits                                               91499    91501    +2     
+ Misses                                             79130    79129    -1     
+ Partials                                            8083     8082    -1     
Flag Coverage Δ
go-unit-tests 51.20% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant