-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
fix(ui): Replace current spinning webfont icon with svg icons #21012
base: master
Are you sure you want to change the base?
Conversation
🔴 Preview Environment stopped on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this 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.
Thanks for pointing it out @linghaoSu pod-color-fix.mp4 |
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.
LGTM!
@surajyadav1108 could you please resolve conflicts ? |
Resolved. |
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.
This change is awesome! My only concern is the affect on bundle size.
Before:
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (16.5 MiB)
main.b9d7eb03e2adee59afc8.js
After:
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (19.2 MiB)
main.ee9e8916fc9c34c77899.js
Is there some tree-shaking improvement we can make? Alternatively, can we just hard-code the part we need?
will try and hardcode all spinning SVGs |
a6fcf83
to
382120a
Compare
Signed-off-by: Surajyadav <[email protected]>
382120a
to
51cf8f0
Compare
Signed-off-by: Surajyadav <[email protected]>
1f87c13
to
402fe38
Compare
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
you can merge this now @crenshaw-dev used SVG directly Screenshots Spinning-icon-svg.mp4spinning-icon-svg-3.mp4 |
Webfonts have a problem in spinning icons (wobbling issue) which is well discussed and documented
reference: FortAwesome/Font-Awesome#16495
Closes: #10065
This might look like an overkill to fix this minor issue but Switching to svg was the only way. I did try tweaking css but didn't work.
before:
180071953-9753a616-8b90-4153-9986-8d22439ee13e.mov
broken-icon-spinner-2.mp4
After:
fixed-spinner-light-2.mp4
Checklist: