fix(BullhornIcon): Replace BullhornIcon with RhUiAttentionBellFillIcon#12466
Conversation
WalkthroughReplaces ChangesIcon substitution across Modal and Popover
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/react-core/src/components/Modal/examples/Modal.md (1)
98-101:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winBoth Modal docs still describe the old icon after the swap. The shared root cause is stale explanatory copy that still says “bullhorn icon” while examples now use
RhUiAttentionBellFillIcon.
packages/react-core/src/components/Modal/examples/Modal.md#L98-L101: update the “Custom title icon” description to name the new icon (or use generic wording like “attention bell icon”).packages/react-core/src/deprecated/components/Modal/examples/Modal.md#L112-L115: apply the same wording update in the deprecated docs section for consistency.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@packages/react-core/src/components/Modal/examples/Modal.md` around lines 98 - 101, Update the explanatory text for the "Custom title icon" section in both Modal documentation files to reflect the current icon being used. In packages/react-core/src/components/Modal/examples/Modal.md at lines 98-101, replace the reference to "bullhorn icon" with either the specific icon name "RhUiAttentionBellFillIcon" or generic wording like "attention bell icon" to match the actual example implementation. Apply the identical wording update to packages/react-core/src/deprecated/components/Modal/examples/Modal.md at lines 112-115 to keep the deprecated docs consistent with the primary documentation.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@packages/react-core/src/components/Modal/examples/Modal.md`:
- Around line 98-101: Update the explanatory text for the "Custom title icon"
section in both Modal documentation files to reflect the current icon being
used. In packages/react-core/src/components/Modal/examples/Modal.md at lines
98-101, replace the reference to "bullhorn icon" with either the specific icon
name "RhUiAttentionBellFillIcon" or generic wording like "attention bell icon"
to match the actual example implementation. Apply the identical wording update
to packages/react-core/src/deprecated/components/Modal/examples/Modal.md at
lines 112-115 to keep the deprecated docs consistent with the primary
documentation.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 22affc0a-c915-403f-be7e-67cb7bfc995c
⛔ Files ignored due to path filters (2)
packages/react-core/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snapis excluded by!**/*.snappackages/react-core/src/deprecated/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snapis excluded by!**/*.snap
📒 Files selected for processing (8)
packages/react-core/src/components/Modal/__tests__/ModalBoxTitle.test.tsxpackages/react-core/src/components/Modal/examples/Modal.mdpackages/react-core/src/components/Modal/examples/ModalCustomTitleIcon.tsxpackages/react-core/src/components/Popover/examples/Popover.mdpackages/react-core/src/components/Popover/examples/PopoverWithIconInTheTitle.tsxpackages/react-core/src/deprecated/components/Modal/__tests__/ModalBoxTitle.test.tsxpackages/react-core/src/deprecated/components/Modal/examples/Modal.mdpackages/react-core/src/deprecated/components/Modal/examples/ModalCustomTitleIcon.tsx
|
Preview: https://pf-react-pr-12466.surge.sh A11y report: https://pf-react-pr-12466-a11y.surge.sh |
Co-authored-by: Cursor <cursoragent@cursor.com>
abc29b1 to
ace9844
Compare
What:
This is one piece of #12400. Breaking it up by icon so it is easier to review.
I wasn't sure if this was a good replacement so let me know if you want something else. Bullhorn has no direct equivalent in the new icon set.
Additional issues:
Summary by CodeRabbit