-
Notifications
You must be signed in to change notification settings - Fork 530
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
Upgrade react-icons from 2.2.7 to 4.10.1 #1721
Conversation
Signed-off-by: Ansh Goyal <[email protected]>
Signed-off-by: Ansh Goyal <[email protected]>
@yurishkuro I have included the icon changes. The previous icons were not available to look up somewhere (yes, 2nd option was to navigate pages manually in jaeger-ui), so I dug up their raw SVG path from node_modules and then took a snip of their rendered version using SVG Viewer Feel free to suggest any alternate icon, in case you feel some icon is not looking good. You may use this to surf all of react icons. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1721 +/- ##
=======================================
Coverage 96.01% 96.01%
=======================================
Files 241 241
Lines 7562 7562
Branches 1987 1987
=======================================
Hits 7261 7261
Misses 301 301
☔ View full report in Codecov by Sentry. |
not exactly the scope of this PR, but I dislike that we use both antd/icons and react-icons, is there a strong reason to do that and not converge onto one? |
As per my analysis so far, we can use react-icons in place of antd icons, but not vice versa. |
it's possible, although I am skeptical if we can't find close equivalents. What I don't like about react-icons is that it's all over the place with all kinds of namespaces, like md, io, fa. As I understand, those are competing icon sets, presumably created with some design consistency principles, but we keep mixing them randomly. |
I agree. |
I suggest we book a ticket and include a simple grep/awk output that lists all distinct icons we're using. I doubt it's more than a couple dozen. |
Thanks for creating the ticket. |
Which problem is this PR solving?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test