Skip to content

chore(docs): Updated remaining TimesIcon to RhMicronsCloseIcon#12334

Open
tlabaj wants to merge 2 commits intopatternfly:mainfrom
tlabaj:icon
Open

chore(docs): Updated remaining TimesIcon to RhMicronsCloseIcon#12334
tlabaj wants to merge 2 commits intopatternfly:mainfrom
tlabaj:icon

Conversation

@tlabaj
Copy link
Copy Markdown
Contributor

@tlabaj tlabaj commented Apr 8, 2026

What: Closes #12323

Update all instances of imported TimesIcon to import RhMicronsCloseIcon instead.

Summary by CodeRabbit

  • Refactor

    • Standardized the close/times icon reference across components and examples for consistent naming.
  • Documentation

    • Updated README and demo examples to use the revised close icon name in usage snippets and demos.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

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: a5c55c7f-a347-4f6f-b1c2-dc7f1378c031

📥 Commits

Reviewing files that changed from the base of the PR and between a67ad07 and d5990fc.

📒 Files selected for processing (1)
  • packages/react-icons/README.md
✅ Files skipped from review due to trivial changes (1)
  • packages/react-icons/README.md

Walkthrough

Replaced remaining imports/usages of TimesIcon with RhMicronsCloseIcon in component examples, demo markdown, and README files; underlying icon module paths were unchanged.

Changes

Cohort / File(s) Summary
Component implementations & examples
packages/code-connect/components/DualListSelector/DualListHeader.figma.tsx, packages/react-core/src/components/HelperText/examples/HelperTextWithCustomIcon.tsx
Replaced TimesIcon import and JSX usage with RhMicronsCloseIcon.
Documentation & demos
packages/react-core/src/components/HelperText/examples/HelperText.md, packages/react-core/src/demos/HelperText.md, packages/react-core/src/demos/CustomMenus/CustomMenus.md, packages/react-core/src/demos/Toolbar.md, packages/react-icons/README.md
Updated example/import snippets and README code samples to use RhMicronsCloseIcon instead of TimesIcon.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • thatblindgeye
  • nicolethoen
  • mcoker
🚥 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 accurately describes the main change: updating TimesIcon references to RhMicronsCloseIcon throughout the codebase and documentation.
Linked Issues check ✅ Passed All requirements from issue #12323 have been met: TimesIcon imports and usages replaced with RhMicronsCloseIcon in all 7 specified files.
Out of Scope Changes check ✅ Passed All changes are directly related to the linked issue objective; no out-of-scope modifications are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@tlabaj tlabaj changed the title chore(docs): Updateed remaining TimesIcon to RhMicronsCloseIcon chore(docs): Updated remaining TimesIcon to RhMicronsCloseIcon Apr 8, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/react-icons/README.md`:
- Around line 8-10: The README snippet imports RhMicronsCloseIcon but still
renders <TimesIcon />; update the example so the rendered component matches the
import by replacing the JSX usage of TimesIcon with RhMicronsCloseIcon (i.e.,
set closeIcon to <RhMicronsCloseIcon />) or alternatively rename the import back
to TimesIcon so both the import and the rendering (TimesIcon,
RhMicronsCloseIcon, closeIcon) are consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3d83d4d6-ddce-4c59-b706-a6a2c5d4017f

📥 Commits

Reviewing files that changed from the base of the PR and between 911223a and a67ad07.

📒 Files selected for processing (7)
  • packages/code-connect/components/DualListSelector/DualListHeader.figma.tsx
  • packages/react-core/src/components/HelperText/examples/HelperText.md
  • packages/react-core/src/components/HelperText/examples/HelperTextWithCustomIcon.tsx
  • packages/react-core/src/demos/CustomMenus/CustomMenus.md
  • packages/react-core/src/demos/HelperText.md
  • packages/react-core/src/demos/Toolbar.md
  • packages/react-icons/README.md

@patternfly-build
Copy link
Copy Markdown
Collaborator

patternfly-build commented Apr 8, 2026

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.

Update remaining TimesIcon to RhMicronsCloseIcon

2 participants