-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Fix calendar.js missing default symbol prefix #3007
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
Symbols provided in customEvents don't get the "fas fa-fw fa-" prefix, which according to the docs they should. This fixes that.
|
Thanks! Related to this forum thread. Can you please add an entry into CHANGELOG.md under "Fixed" (we collect all PR's there for next release info), otherwise the tests will fail ... |
|
I think that's done it. Sorry, I'm a bit rushed today or I'd have read the docs before committing etc :) |
Codecov Report
@@ Coverage Diff @@
## develop #3007 +/- ##
===========================================
+ Coverage 21.76% 21.84% +0.07%
===========================================
Files 52 52
Lines 11439 11441 +2
===========================================
+ Hits 2490 2499 +9
+ Misses 8949 8942 -7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
Thx for the PR. Do you feel adventerous enough to write test for this too? |
|
Bah humbug. Ok, I'll give it a try :) |
|
Ok, I've had a crack at a test. Sorry, code's a bit of a mess, not used jest etc before, so took a while to get to grips with. I've added a new test to make sure the customEvent symbol is set, and it passes on my dev system. |
|
Thx for the PR and the tests! Good job! |
Symbols provided in customEvents don't get the "fas fa-fw fa-" prefix, which according to the docs they should. This fixes that.
Hello and thank you for wanting to contribute to the MagicMirror² project
Please make sure that you have followed these 4 rules before submitting your Pull Request:
Note: Sometimes the development moves very fast. It is highly
recommended that you update your branch of
developbefore creating apull request to send us your changes. This makes everyone's lives
easier (including yours) and helps us out on the development team.
Thanks again and have a nice day!