תוסף FontAwesome Pro לא משנה את כל סמלי ברירת המחדל

סיכום מבוסס בינה מלאכותית

Users are reporting that the Font Awesome Pro plugin is not changing all default icons in Discourse. DavidTCole initially flagged the issue, noting that icons like fa-layer-group, fa-comment, and fa-inbox aren’t displaying the expected ‘fa-light’ variant DavidTCole. Arkshine identified that some icons, like layer-group and inbox, were missing from the plugin’s manual list, and the comment icon had a naming discrepancy (d-chat vs comment). Arkshine submitted a pull request (#80) to address the missing icons, but it doesn’t cover Discourse-specific SVG custom icons. sam prioritized triaging the PR, and Osama announced that the PR has been merged, resolving the issue after a plugin update.

(Apologies, I put this in the wrong place initially)

I’ve had the Font Awesome Pro plugin installed and it’s not changing all the fonts used by default by Discourse.

For example:

Snap 2025-05-10 at 10.40.13 PM

Snap 2025-05-10 at 10.40.13 PM500×482 16 KB

The older topics about the plugin don’t have any guidance on this specific issue that I could find. I thought maybe it was a FA5 vs FA6 naming issue but that’s not the case with fa-layer-group, fa-comment, fa-inbox and others that are not displaying the ‘fa-light’ variant of the icons.

Any tips or tricks or is this a bug? The official topic on the plugin seems like it might not have be updated to really work with FA6 but it’s hard to tell.

לייק 1

The icons used by Discourse are manually listed in the plugin.

It seems that layer-group is missing. Same for inbox.

The comment icon is a special case, it’s originally named d-chat and it’s mapped to comment icon. This needs to be handled in the plugin as well.

Do you see others missing icons? I will make a PR.

EDIT: Actually nevermind, I will compare with the core list.

4 לייקים

Happy to help if I can, just let me know! There’s many more I can see browsing, especially in the admin sidebar. Thanks.

So for the ones like fa-comment that are reserved by Discourse, is the best course of action to use a different unreserved icon like fa-message or what have you?

לייק 1

I made a PR to fill in the missing FA icons. However, it still misses the additional SVG custom icons specific to Discourse. This will be left for another PR.

https://github.com/discourse/discourse-fontawesome-pro/pull/80

3 לייקים

שמתי עדיפות גבוהה על תעדוף ה-PR, נסתכל על זה בימים הקרובים.

3 לייקים

היי @DavidTCole, ה-PR של @Arkshine מוזג, אז הבעיה אמורה להיפתר ברגע שתעדכן את הפלאגין באתר שלך.

2 לייקים

נושא זה נסגר אוטומטית לאחר 3 ימים. תגובות חדשות אינן מורשות עוד.