Skip to content

fix(InfrastructureIcons): replaced with RH brand icons part 3#12503

Open
thatblindgeye wants to merge 5 commits into
patternfly:mainfrom
thatblindgeye:iss12399_part3
Open

fix(InfrastructureIcons): replaced with RH brand icons part 3#12503
thatblindgeye wants to merge 5 commits into
patternfly:mainfrom
thatblindgeye:iss12399_part3

Conversation

@thatblindgeye

@thatblindgeye thatblindgeye commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What: Towards #12399

Covers FileIcon, FileImageIcon, FolderIcon, and FolderOpenIcon

Additional issues:

Summary by CodeRabbit

Release Notes

  • Style

    • Updated default and example UI icons to the newer Rhythm UI icon variants (including document, folder, and related tree/table folder indicators) across core components, demos, and table/tree views.
  • Documentation & Examples

    • Refreshed Nav, TreeView, Table, and Compass demo documentation and example components to match the new icon set.
  • Tests

    • Updated file upload and tree/table icon expectations/snapshots by switching tests to the corresponding new icons.

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 27537473-a288-4a19-8f6e-2270c5e07d88

📥 Commits

Reviewing files that changed from the base of the PR and between 789b057 and 16ccbe6.

⛔ Files ignored due to path filters (1)
  • packages/react-core/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap is excluded by !**/*.snap
📒 Files selected for processing (16)
  • packages/react-core/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx
  • packages/react-core/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatusItem.test.tsx
  • packages/react-core/src/components/Nav/examples/Nav.md
  • packages/react-core/src/components/Nav/examples/NavIcons.tsx
  • packages/react-core/src/components/TreeView/examples/TreeView.md
  • packages/react-core/src/components/TreeView/examples/TreeViewWithIcons.tsx
  • packages/react-core/src/demos/Compass/Compass.md
  • packages/react-core/src/demos/Compass/examples/CompassDockDemo.tsx
  • packages/react-core/src/demos/Nav.md
  • packages/react-core/src/demos/Page.md
  • packages/react-core/src/demos/examples/Nav/NavDockedNav.tsx
  • packages/react-integration/demo-app-ts/src/components/demos/TreeViewDemo/TreeViewDemo.tsx
  • packages/react-table/src/components/Table/examples/Table.md
  • packages/react-table/src/components/Table/examples/TableTree.tsx
  • packages/react-table/src/deprecated/components/Table/examples/LegacyTableTree.tsx
  • packages/react-table/src/deprecated/components/Table/examples/Table.md
💤 Files with no reviewable changes (1)
  • packages/react-core/src/demos/Page.md
✅ Files skipped from review due to trivial changes (9)
  • packages/react-core/src/demos/Compass/Compass.md
  • packages/react-core/src/demos/Nav.md
  • packages/react-core/src/components/TreeView/examples/TreeViewWithIcons.tsx
  • packages/react-table/src/components/Table/examples/Table.md
  • packages/react-core/src/components/TreeView/examples/TreeView.md
  • packages/react-core/src/demos/examples/Nav/NavDockedNav.tsx
  • packages/react-core/src/components/Nav/examples/NavIcons.tsx
  • packages/react-integration/demo-app-ts/src/components/demos/TreeViewDemo/TreeViewDemo.tsx
  • packages/react-core/src/demos/Compass/examples/CompassDockDemo.tsx
🚧 Files skipped from review as they are similar to previous changes (6)
  • packages/react-table/src/components/Table/examples/TableTree.tsx
  • packages/react-table/src/deprecated/components/Table/examples/Table.md
  • packages/react-core/src/components/MultipleFileUpload/tests/MultipleFileUploadStatusItem.test.tsx
  • packages/react-core/src/components/Nav/examples/Nav.md
  • packages/react-table/src/deprecated/components/Table/examples/LegacyTableTree.tsx
  • packages/react-core/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx

Walkthrough

Legacy PatternFly folder, file, and image icons are replaced with RhUI fill icon equivalents across MultipleFileUpload, Nav, TreeView, and Table examples, demos, docs, and tests.

Changes

RhUI Icon Migration

Layer / File(s) Summary
MultipleFileUpload default icon and tests
packages/react-core/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx, packages/react-core/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatusItem.test.tsx
MultipleFileUploadStatusItem now falls back to RhUiDocumentFillIcon, and the test cases use RhUiImageFillIcon instead of FileImageIcon.
Nav examples and demos
packages/react-core/src/components/Nav/examples/Nav.md, packages/react-core/src/components/Nav/examples/NavIcons.tsx, packages/react-core/src/demos/Compass/Compass.md, packages/react-core/src/demos/Compass/examples/CompassDockDemo.tsx, packages/react-core/src/demos/Nav.md, packages/react-core/src/demos/Page.md, packages/react-core/src/demos/examples/Nav/NavDockedNav.tsx
Nav example and demo files replace folder icon imports and NavItem/NavExpandable icon props with RhUiFolderFillIcon and RhUiFolderOpenFillIcon.
TreeView example icons
packages/react-core/src/components/TreeView/examples/TreeView.md, packages/react-core/src/components/TreeView/examples/TreeViewWithIcons.tsx, packages/react-integration/demo-app-ts/src/components/demos/TreeViewDemo/TreeViewDemo.tsx
TreeView example and integration demo imports and icon props switch to RhUiFolderFillIcon and RhUiFolderOpenFillIcon, including the action button icon in the demo.
Table tree row icons
packages/react-table/src/components/Table/examples/Table.md, packages/react-table/src/components/Table/examples/TableTree.tsx, packages/react-table/src/deprecated/components/Table/examples/LegacyTableTree.tsx, packages/react-table/src/deprecated/components/Table/examples/Table.md
Table tree examples update folder icon imports and expanded/collapsed row icon selection to RhUiFolderFillIcon and RhUiFolderOpenFillIcon.

Sequence Diagram(s)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related issues

Possibly related PRs

Suggested reviewers

  • nicolethoen
  • bekah-stephens
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: a third-part replacement of infrastructure icons with RH brand icons.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@patternfly-build

patternfly-build commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

@rebeccaalpert rebeccaalpert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good - just one question about a maybe-orphan import.

Comment thread packages/react-core/src/demos/Page.md Outdated
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
import RhUiFolderFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-folder-fill-icon';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we need this one?

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.

Nothing to see here 🙈

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants