3 posts were split to a new topic: Trouble with new Fontawesome 6 icons in theme components
@awesomerobot I have followed the instructions in your post to the best of my (limited) abilities, and am running into several things, only one of which is to do with the change in Font Awesome icons, I think. But let’s deal with that here.
Here is a screenshot of what’s going on in the console:
Focusing on the Deprecation notice, it seems that the icon "search’ is an issue, with the new icon named “magnifying-glass”. A search for “search” in the developer tools search function returns (unsurprisingly) many results - (6,504 matching lines in 278 files) - and I really cannot see the wood for the trees. But I can say that there is NOTHING like the results displayed in your original post, paragraph 3!
Your suggestions of how to track down the component causing this issue would be gratefully received!
I will post about the emberjs issue in another post later.
Thank you - Discourse is normally a breeze, but this has me flummoxed.
Hey @PatrickF
Do you have Advanced Search Banner installed by any chance?
If so, can you check if the component is up to date?
I can see it has been updated one month ago:
Ah yes, that’s not ideal ![]()
If you turn off JS and CSS sourcemaps, then that can help to reduce the number of files in the results. Then you can look for any results specifically in themes.
Ah, we do indeed have search banner installed - and it was customised by someone a while back. I will take a look at this now.
Good spot, thank you!
Edit to add:
OK, I can see that we need a new line in <search-icon.gjs>:
@icon="magnifying-glass"
I have downloaded this file by exporting the component - but how do I upload the file with amendments?
(I don’t think I can since our Discourse community is hosted by Discourse, right?)
I don’t see an update button anywhere in Discourse either - should I just re-install the component?
You can install custom theme components on most hosting plans
Thanks, I’ve read all this documentation linked multiple times.
I can’t see an update button anywhere as per @Arkshine’s post:
My Components panel looks like this:
The only button on this page is Install, further down the page. Presumably if I re-install the theme all of our customisation will be overwritten.
I appreciate that I’m (probably) coming across as a bit dense here
but what I see in Discourse meta doesn’t seem to be reflected in what I see on our instance of Discourse.
Thanks for your patience.
It looks like you manually uploaded a modified version of the original theme component.
You would see a button if it was installed from a GitHub repository link. (Also author would be Discourse)
Yes, you have to reinstall the updated component. You can use the “Settings Editor” button to export/import your settings.
Do you remember what customization you did? If it’s only CSS, I recommend you use the official version and add CSS customizations to your theme or a separate theme component. This way, you will always get the latest update.
@Arkshine, @Moin - thank you for your help.
I deleted the existing theme and reinstalled from the GitHub repository and all is good. The site looks as it did, and the notice about FontAwesome has gone away. And the theme will update automatically from now on.
Thanks again!
Updated discourse.
Still this notice is appearing.
No theme/plugins showing update notice.
Is there anything else have to do?
Check out logs. I think it shows which one or several icons are using old name. If it one of those that can be changed by an admin, that doesn’t show name of that component.
Thanks a lot @Jagster
I found this console log
Deprecation notice: The icon name "undo" has been updated to "arrow-rotate-left". Please use the new name in your code. Old names will be removed in Q2 2025. [deprecation id: discourse.fontawesome-6-upgrade] [info: https://meta.discourse.org/t/325349]
But not sure where to update this icon.
Can you confirm first that all your plugins/components are up to date?
Yes, all are updated.
Just updated yesterday.
With safe mode, can you figure out if from a plugin or a theme component?
אני מבין שהשמות המשתנים מוטלים על ידי פרויקט עליון מחוץ לשליטתך, אבל למה אי אפשר להשאיר את המיפויים של תאימות שם לנצח? איזו נזק הם גורמים?
האם מישהו שעובד על Discourse או התלויות שלו מבין את המושג של API מפורסם המשמש אנשים אחרים?
אתה לא שובר API אלא אם יש סיבה ממש טובה לכך. שמות של דברים שרואים רק בפנים על ידי מפתחים שאינם מושלמים לחלוטין לפי רצונם של מישהו אינו סיבה מספיק טובה לשבור קוד של אחרים.
אני ממש מתעייף מכמות העבודה הנדרשת כדי לשמור על הדברים הקיימים מלהישבר עם Discourse. זה היה בסדר אם הייתה שיפור משנה את העולם שמצדיק את הזמן והמאמץ בכל פעם, אבל לעולם לא קיימת כזו. זה מרגיש שבגלל סיבות קטנוניות נעשות שינויים שבורים בלי להתחשב בזמן ובמאמץ שהם גורמים לאחרים.
סליחה על התסכול, אנו מנסים להפוך את העדכונים האלה לקלים ומספקים חודשים של זמן לבצע אותם — אבל תמיד יש פשרות. אם נשמור את המיפויים מחדש באופן בלתי מוגבל, כבר היינו מקבלים שכבות מרובות שלהם מ-V4 ל-V5 ל-V6 וזה יהיה חוב שיזדקק להבנה ותחזוקה משלו. אם נעשה זאת לכל חלק בקוד, Discourse יהיה הרבה יותר גדול ויותר קשה להבנה ולעבודה.
[ציטוט=“LeoDavidson, פוסט:42, נושא:325349”]
האם מישהו שעובד על Discourse או תלותיו מבין את הרעיון של API מפורסם שמשמש אחרים?
[/ציטוט]
כן, ולכן אנחנו מספקים אזהרות על דה־פריקציה והוראות לעדכון. אנחנו לא פשוט מעדכנים קובץ ומעבירים את כל העבודה — בכל פעם שאנחנו עושים עדכון כזה, עלינו לכתוב תיעוד, מערכות אזהרה, ולעדכן מאהבות, רכיבי נושא, ותוספים בעצמנו. בעדכוני Ember המהנדסים שלנו המציאו מערכות חדשות כדי לעשות מותאמים אישית מיושנים אפשריים בכלל.
אפילו חברות תוכנה גדולות הרבה יותר מעדכנות את ה-API שלהן באופן שובר. הזדקקתי לעדכן שניים לפחות את רכיב Google Fonts שלנו עקב שינויים ב-API, וגוגל שווה בערך שני טריליארד דולר. כל שירות אימות שנוסף לנו לכניסה דורש מאיתנו לעדכן עקב שינויים ב-API.
אם אין לך זמן לתחזוקה מזדמנת, אני ממליץ להפחית את ההתאמות האישיות ככל האפשר. אם אתה משתמש בתבניות/רכיבים/תוספים מוכנים ל-Discourse, רוב הזמן נעשה עדכונם בחינם.
אתה יכול גם להימנע מעדכון Discourse, אך כל דבר תמיד משתנה ואתה תתמודד בסופו של דבר עם בעיות אבטחה חדשות או בעיות תאימות לדפדפנים. לכל אפשרות יש עלויות ופשרות.
And yet a program written for Windows 95 can still be used, unmodified, 30 years later. So it is possible.
Just because other companies take the easy way out doesn’t mean you have to. It’s a choice.
It’s a choice constrained by operating in reality, which comes with a lot of trade-offs around time and budget. We don’t need to veer off into an “anything is technically possible” tangent.
That aside, the nice thing about Discourse is that it’s free and open source — so if you’d like to run a version from 1 or 10 years ago you can certainly do that, it’s just likely to create more problems than it would solve.
Thanks @Arkshine
The notification disappeared automatically.
Today found it again, then checked browser console I found the name of icons and after updating those the notification disappeared.



