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
Feature request: Support font-awesome v.5 #7516
Comments
+1
Currently we have 63 places where we use icons in our templates. |
+1 too |
Will you consider doing a PR
…On Sat, 21 Apr 2018, 12:51 pm Pascal Grimaud, ***@***.***> wrote:
+1 too
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7516 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDlFxM5vrdCvu4AT7V4VwuKYiJWZNVpks5tqw8SgaJpZM4TeZYI>
.
|
@deepu105 if you give me 1 week I can do a PR. I imagine that the agreement is to simply replace the package with v.5 and test the generator again, right? I will keep the icon set with the solid family (fas or fa) to avoid a lot of regression testing. I may have change the css class for any icons that are now under the "font-awesome brands" (e.g. github, etc). |
Yes it should not be very hard but that's quite time consuming to test... oh and please have a look at Angular and React - for this part it should be very similar. |
I just opened the pull request #7519. I decided to open it sooner so that you guys could give feedback faster. I'm not sure if my approach for including the SVG/JS icon set is according to guidelines. If not I can change it and resubmit the PR. @jdubois I only worked in the angular codebase. But that was mostly because I could not find any instance of the FA icons in the react codebase! That may have to do with me not knowing the first thing about react. ;) I can look into the react codebase again tomorrow to figure out where FA is being used and open another PR just for react. |
Oh I know the Angular codebase much better - maybe it's not included in React. |
The React client is using a lib for that. It's probably already updated or with a bit of luck, it's just going to be a matter of package version change. |
@agaspardcilia @gomesp FA now has an official binding for React so maybe we could switch to that as well |
@deepu105 I will have a look at the react codebase later this week to see what's involved. |
@gomesp I won't mind doing the React part if you don't have the time. |
@agaspardcilia By all means go ahead. I am new to React, so I'd have to spend some time exploring until I'd do something useful. Tag me on the PR so I can read what you've done and learn something too. 👍 |
@gomesp Alright then. |
here is a PR to fix sort icon names for fontawesome v5 jhipster/ng-jhipster#70 fa-sort-up and fa-sort-down instead of fa-sort-asc and fa-sort-desc |
Closing as this is done for Angular and React! |
this PR is to fix sort icon for fontawesome v5 related issue jhipster#7516
this PR is to fix sort icon for fontawesome v5 related issue jhipster#7516
this PR is to fix sort icon for fontawesome v5 related issue jhipster#7516
Overview of the issue
JHipster is currently supporting font-awesome 4.7.0. The project has now released version 5.0.10. Could we please add support to it?
Unfortunately it is not a simple change of the package version, as the icon names have changed slightly.
This could even trigger another option for the generator, e.g. "What font-awesome icon set would you like to include in your project? 1. Solid, 2. Regular, 3. Light".
I am keen to have a go and open a pull-request at some point if the project is in agreement for the change.
Motivation for or Use Case
To keep up with the font-awesome project development.
The text was updated successfully, but these errors were encountered: