-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fa5 compatibility #23
Conversation
Include virtual activities in chart
Arrows symbol did not work anymore in new MM version. Changing class prefix to "fas" ("fa" is deprecated in FA5) and name to arrows-alt-h (free for non-pro FA5 users) got them back again. Can not yet see any other symbol disappearing from this.
Hi @lavolp3 Thanks for the contribution. Much appreciated. It looks like v2.6.0 has introduced a bug with introducing support of FA5. If you remove any module which references FA5 (e.g. the calendar module), then the arrows symbol appears. Including these updated modules causes the arrow symbol doesn't appear. Your pull request goes someway to fixing the issue, providing that
You can replicate this by applying the changes to the module installed in an older version of MagicMirror or modifying the To fix this,
If you can make and test these changes, I can merge the pull. In the meantime, I'll raise a bug to see if it can be fixed Thanks again |
Understood. So it's a bit more complicated. Do I understand right, that some module or process determines that MM uses FA5 and not FA4? |
can't we just include "font-awesome5.v4shims.css" into the getStyles part as well and keep everything else as before? |
The core MagicMirror code only includes third party (vendor) stylesheets (css) files specified by the modules contained in A module specifies which third party (vendor) stylesheets it requires within the The issues you have identified appears to be caused by the fact one module (the default calendar) specifies As a result, the generated HTML includes links to both the FA5 and FA4 stylesheets and conflicting behaviour is experienced. Furthermore, changing the order of the modules in
That certainly is implied in the release notes. From what you've uncovered, it would suggest this is in fact breaking behaviour.
Since your pull request changes the styles from |
@lavolp3 - I've submitted a pull request to the core MM code which should fix the issue with multiple versions of FA requested by modules. Once this is released (in version 2.7 hopefully ), the distance icon will reappear and this pull request will not be required Thanks |
I'm closing this pull request now that version 2.7 has been released which contains the fix for the font awesome issue (see MagicMirrorOrg/MagicMirror#1525) |
Arrows symbol did not work anymore in new MM version.
Changing class prefix to "fas" ("fa" is deprecated in FA5) and name to arrows-alt-h (free for non-pro FA5 users) got them back again.
Can not yet see any other symbol disappearing from this action