مُختار لأيقونات Font Awesome

We introduced font awesome 5 more than a year ago and have developed quite a few features that allow users to select font awesome icons.

The group flair

The badge admin screen

Theme components

Such as: Tag icons component

Site settings

As it stands picking a an icon is really tricky.

You need to head to https://fontawesome.com/icons?d=gallery&m=free (free is critical cause we only ship with those) and then search for the right icon. Then you need to know when to add fab or far or nothing.

It can be quite confusing for a Discourse admin.

We are also looking at adding font awesome icon pickers at other places such as: Add a "curated personal learning" page for users which @markvanlan and @eviltrout are working on.

It would be nice to have a picker like the emoji picker here that is reusable in the all the spots we use now use for font awesome icons and extends to other spots where font awesome can be used in future.

24 إعجابًا

Wouldn’t this add a huge dependency of shipping ALL font awesome icons?

إعجابَين (2)

We already ship all the icons, we would just use the giant bundle when you open the picker, everything else would use the exact same optimization we use today. We already allow for dynamic minimal bundle regeneration at runtime

8 إعجابات

@j.jaffeux قام ببعض العمل على منتقي الأيقونات بعد تغييراته على select-kit 2.

إذا كان فهمي صحيحًا بأنك لا تزال في مرحلة التطوير يا جوفري، فإن هذه الأماكن ستكون ممتازة لاختباره!

3 إعجابات

نعم. لقد شرحت في منشور طلب السحب (PR) الخاص بي أنني كنت أستهدف شاشة واحدة فقط في الوقت الحالي حتى نضمن صحة جميع التفاصيل. ستتبعها مكونات أخرى، وكان هذا المكون هو الأسهل على الأرجح.

5 إعجابات

لدينا هذا الآن :slight_smile:

5 إعجابات