-
Notifications
You must be signed in to change notification settings - Fork 282
fix(OpenGraph): Custom Node Icons render on Explore Page Canvas BED-7181 #2277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughReworks icon handling for OpenGraph node conversion: adds font-awesome related constants and switches on icon type to build FontIcon.Text with a solid FontAwesome prefix or a default unknown icon. Updates a pathfinding test to assert the new rendered class for a Person node. Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
superlinkx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, pull!
Description
This change fixes a bug in the API response for
graph-searchthat was preventing OpenGraph custom icons from rendering properly on the explore page canvas.Motivation and Context
Resolves BED-7181
Solves a bug where OpenGraph custom icons were not rendering on the explore page canvas. This piece of the UI expects nodes in the response to already be styled/formatted, which includes appending the
fas fa-prefixes to font-awesome icons.How Has This Been Tested?
Test updated to include an assertion that the
fas fa-prefix is included for a custom icon.Screenshots (optional):
Before:

After:

Types of changes
Checklist:
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.