-
Notifications
You must be signed in to change notification settings - Fork 1
Use ionicons web components #894
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #894 +/- ##
==========================================
+ Coverage 47.76% 47.79% +0.02%
==========================================
Files 351 351
Lines 11292 11292
Branches 1889 1889
==========================================
+ Hits 5394 5397 +3
+ Misses 5709 5702 -7
- Partials 189 193 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| @@ -1,24 +1 @@ | |||
| .ion-custom-folder-move { | |||
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.
It looks like these styles weren't actually being used anywhere.
ebdb2fe to
8c541e3
Compare
8c541e3 to
f28de58
Compare
f28de58 to
be10eb6
Compare
We were using embedded SCSS from ionicons instead of their recommended approach which is to use web components + their npm package (though we WERE using their npm package). Issue #893 Move to ionicons web components
be10eb6 to
e30817f
Compare
aasandei-vsp
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.
LGTM
- took it locally and checked, including that there are no more ion css classes
- checked the schema imports
- noticed the other icon libraries Dan was talking about, which is not great. I think trying to replace icons organically to just use ionicons, at least in the old code, that would be great.(note to Andreea)
|
Closing this in favor of #904 |
This PR changes the way we use
ioniconsto use their web component library. This allows us to remove packaged vendor scss and also means that our application will benefit from tree-shaking / won't include icons that aren't being used in the code base.This PR does update to the most recent ionicons (we were using v4, and it is now v8). For the most part the icons are very visually similar, but there are some cases (e.g. folder) where you will notice a difference if you look side-by-side.
Resolves #893