Skip to content

fix(OutlinedCopy): Replace OutlinedCopy with RhUiCopyIcon#12453

Open
rebeccaalpert wants to merge 2 commits into
patternfly:mainfrom
rebeccaalpert:cursor/replace-outlined-copy-with-rh-ui-copy
Open

fix(OutlinedCopy): Replace OutlinedCopy with RhUiCopyIcon#12453
rebeccaalpert wants to merge 2 commits into
patternfly:mainfrom
rebeccaalpert:cursor/replace-outlined-copy-with-rh-ui-copy

Conversation

@rebeccaalpert

@rebeccaalpert rebeccaalpert commented Jun 12, 2026

Copy link
Copy Markdown
Member

What:
This is one piece of #12400. Breaking it up by icon so it is easier to review.

Additional issues:

Summary by CodeRabbit

  • Documentation
    • Updated Compass example and demo documentation to use the new copy icon assets.
  • UI Improvements
    • Replaced the “Copy” and “Second copy” sidebar action icons in the Compass demo with the updated icon.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jun 12, 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: 3d163537-52be-46b4-947a-eec86ab84846

📥 Commits

Reviewing files that changed from the base of the PR and between 85a4c65 and 7e39297.

📒 Files selected for processing (1)
  • packages/react-core/src/components/Compass/examples/Compass.md
💤 Files with no reviewable changes (1)
  • packages/react-core/src/components/Compass/examples/Compass.md

Walkthrough

This PR replaces the PatternFly OutlinedCopy icon with RhUiCopyIcon across Compass example documentation and the Compass demo component. The changes update icon imports and usages consistently in three files without altering example structure or component behavior.

Changes

Compass icon replacement

Layer / File(s) Summary
Replace OutlinedCopy with RhUiCopyIcon
packages/react-core/src/components/Compass/examples/Compass.md, packages/react-core/src/demos/Compass/Compass.md, packages/react-core/src/demos/Compass/examples/CompassDemo.tsx
Icon import and usage updated from OutlinedCopy to RhUiCopyIcon in example documentation, demo documentation, and CompassDemo component import and two copy button renders.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

  • patternfly/patternfly-react#12378: Both PRs update example/demo documentation and JSX icon imports by replacing PatternFly OutlinedCopy-style icons with RhUi* Red Hat UI equivalents.

Suggested labels

Needs design review

Suggested reviewers

  • nicolethoen
  • phcox
  • thatblindgeye
  • kmcfaul
  • lboehling
🚥 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 clearly and specifically describes the main change: replacing OutlinedCopy icon with RhUiCopyIcon across multiple files in the Compass component documentation and examples.
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 and usage tips.

@patternfly-build

patternfly-build commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
import OutlinedPlusSquare from '@patternfly/react-icons/dist/esm/icons/outlined-plus-square-icon';
import OutlinedCopy from '@patternfly/react-icons/dist/esm/icons/outlined-copy-icon';
import RhUiCopyIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-icon';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Think this could just be removed since it's not being used on the examples tab

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good callout; none were being used, so I pulled them all.

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