Skip to content

ROX-31764: Clean up remaining pf-v5 overrides#19266

Merged
dvail merged 15 commits intodv/ROX-28622-pf-6from
dv/ROX-31764-clean-up-obsolete-pf-v5-overrides
Mar 3, 2026
Merged

ROX-31764: Clean up remaining pf-v5 overrides#19266
dvail merged 15 commits intodv/ROX-28622-pf-6from
dv/ROX-31764-clean-up-obsolete-pf-v5-overrides

Conversation

@dvail
Copy link
Contributor

@dvail dvail commented Mar 3, 2026

Description

Clean up remaining instances of pf-v5 in the codebase, excluding test selectors. One commit per change. Will list individual changes in testing section below.

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

Fix dashboard maxWidth for items
image

Revert Prettier style changes...
[ no picture ] - honestly not sure where this came from...

Fix dashboard namespace dropdown sticky headers (note - broken on staging)
image

Use default spacing for Syslog CEF toggle buttons (removes opinionated non-PatternFly default)
image

Use default Orchestrator components toggle colors
image

Remove unneccessary horizontal dropdown nav styles
image

Remove unneeded padding style - no expanded content. Boilerplate from #3323? It is possible that we never had expanded content in this section, or that the expanded content was removed long ago.
image

Remove nested expanded sections in NG to prevent improper child expand display. In PatternFly 6, expandable sections cannot be nested, otherwise the child section will display at the full expanded size with no visible content.
image

"Fix" NG simulator border color. (The NG simulator has bigger problems, but no reason to not do this I suppose)
image

Fix various table border overrides
[no picture]

Fix MITRE TreeView and unmigrated pf5 class. (This section uses internal PF class names to implement a pseudo-tree view component. It required a change in the DOM nesting to return to working order.)
image

Remove unneeded policy card header wrapping
image

Remove overrides for pf-m-smaller class. Uses <Button size="sm"> to get almost identical results, and removes internal PF cusomtization.
image

Remove remaining pf-v5 vars (commented out)
[no picture] These were only in comments!

@dvail
Copy link
Contributor Author

dvail commented Mar 3, 2026

This change is part of the following stack:

Change managed by git-spice.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 300 files, and this pull request has 826

@openshift-ci
Copy link

openshift-ci bot commented Mar 3, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@dvail dvail force-pushed the dv/ROX-31764-clean-up-obsolete-pf-v5-overrides branch from 3f0b52d to 9d6cda1 Compare March 3, 2026 13:33
@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 9d6cda1.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-249-g9d6cda1934.

@dvail dvail marked this pull request as ready for review March 3, 2026 17:47
@dvail dvail requested a review from a team as a code owner March 3, 2026 17:47
@dvail dvail merged commit c27128f into dv/ROX-28622-pf-6 Mar 3, 2026
145 of 173 checks passed
@dvail dvail deleted the dv/ROX-31764-clean-up-obsolete-pf-v5-overrides branch March 3, 2026 21:16
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.

3 participants