-
Notifications
You must be signed in to change notification settings - Fork 20
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
Paragon StatusAlert deprecation #562
Paragon StatusAlert deprecation #562
Conversation
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 seems like a fine change - the owning team should also review so they're aware of the change, it should be tested by Fed-BOM and we can get it in. I did a cursory review.
@abdullahwaheed i was running locally with |
For what it's worth, I don't think this is a theme issue. At least for the screenshot example Chris shared, that was largely that custom styles (CSS utility classes) overriding core Paragon styles. A similar style issue would happen with either the core Open edX theme or edX.org theme. @abdullahwaheed It would be helpful to include screenshots of each |
…al-enterprise into abdullahwaheed/pagaron-status-alert-deprecation
I had to update Paragon package to use |
…used font awesome icons
@adamstankiewicz i have to revert back Paragon version as it was breaking other changes. That's why i have used |
hey @christopappas, i have updated it with theme changes, could you please review it so we can merge it |
@abdullahwaheed May I ask what the later version of Paragon was breaking? 👀 Thanks for attempting to try to move away from the FontAwesome icons, anyways! |
this was the error due to upgrade |
Are you specifically referring to I don't think that error is reason to not continue upgrading Paragon and move away from FontAwesome. Jest uses JSDom which doesn't support ResizeObserver; instead, we could mock ResizeObserver in the tests like we do in a few existing places:
The latter example uses a package called |
…al-enterprise into abdullahwaheed/pagaron-status-alert-deprecation
@adamstankiewicz i have upgraded paragon and removed the use of FontAwesome icons as you have suggested. But this app still uses FontAwesomeIcon at multiple places other than StatusAlert. We have to create a separate ticket for that purpose |
Codecov ReportBase: 79.09% // Head: 81.72% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #562 +/- ##
==========================================
+ Coverage 79.09% 81.72% +2.62%
==========================================
Files 266 272 +6
Lines 5229 5385 +156
Branches 1276 1295 +19
==========================================
+ Hits 4136 4401 +265
+ Misses 1067 959 -108
+ Partials 26 25 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…al-enterprise into abdullahwaheed/pagaron-status-alert-deprecation
…al-enterprise into abdullahwaheed/pagaron-status-alert-deprecation
…al-enterprise into abdullahwaheed/pagaron-status-alert-deprecation
Are we good to merge, here? If so, I'll press the button. |
Ticket
Migrate off deprecated Paragon components
What has changed
Removed deprecated
StatusAlert
component of paragon and updated it withAlert
Updated Paragon package to use ZoomOut icon in place of faSearchMinus of font-awesome
References
Paragon StatusAlert
Paragon Alert