Skip to content

Conversation

@pedrottimark
Copy link
Contributor

@pedrottimark pedrottimark commented Jan 16, 2026

Description

Objective: Use search filter config plus separate attributes as single source of truth.

Bomus: Render Label and LabelGroup instead of deprecated Chip and ChipGroup elements.

Analysis

  • Has separate specific ComponentScannableStatusDropdown search filter element.
  • There is some inconsistency between filterChipGroupDescriptors and filterChipLabel of corresponding attributes.

Solution

  1. Edit VirtualMachinePageComponents.tsx file.

    • Replace SearchFilterChips with CompoundSearchFilterLabels element.
    • Replace ComponentScannableStatusDropdown element with attributeForScannable declaration.
  2. Delete ComponentScannableStatusDropdown.tsx file.

Residue

  1. Investigate cost and benefit to align query string in page address with request.
    Does it follow pattern of 'FIXABLE' in WorkloadCVEs folder?

    • Why 'SCANNABLE' in ALL CAPS
    • Why 'Scanned' and 'Not scanned' instead of 'true' and 'false'

User-facing documentation

  • CHANGELOG.md update is not needed
  • documentation PR is not needed

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

  1. npm run tsc in ui/apps/platform folder.
  2. npm run lint:fast-dev in ui/apps/platform folder.
  3. npm run start in ui/apps/platform folder with test instance as central.

Manual testing

TODO collaborate with Brad

@pedrottimark pedrottimark requested a review from a team as a code owner January 16, 2026 19:26
@pedrottimark pedrottimark requested a review from bradr5 January 16, 2026 19:26
@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 29bb564.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.10.x-811-g29bb56400d.

@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.01%. Comparing base (4a5d7d1) to head (29bb564).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #18529   +/-   ##
=======================================
  Coverage   49.01%   49.01%           
=======================================
  Files        2641     2641           
  Lines      198684   198684           
=======================================
  Hits        97379    97379           
+ Misses      93882    93881    -1     
- Partials     7423     7424    +1     
Flag Coverage Δ
go-unit-tests 49.01% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

2 participants