Don
24 april 2022 om 03:06
1
Hello This theme component is a simple offline indicator which appears when user have internet connection problems.
On desktop the indicator shows on bottom right.
There are some settings which you can customize the indicator.
offline indicator icon
You can use FontAwesome icons. This icon appear before OopsâŠYouâre offline title.
offline indicator width
This width is only affect on desktop view. On mobile it use width: calc(100% - 20px);
offline indicator rounding
This is the indicator border radius. You can make the corners rounded if increase the value.
And translationsâŠ
27 likes
Hi, does this work upon forum rebuilds (meaning the 5-6 minutes it usually takes)?
1 like
This is a theme component, so you can add it from the /admin/customize/themes page with no need for a rebuild.
1 like
Canapin
(Coin-coin le Canapin)
25 april 2022 om 17:25
4
I think heâs asking if the message is shown during a rebuild.
3 likes
Doh. Yes. That does indeed make much more sense. My bad.
4 likes
Don
25 april 2022 om 18:00
6
Hello,
This one will not shown during rebuild. I used to create an offline indicator with offline.js that is always checks favicon, makes requests so that shown during rebuild too. But that seems to unnecessary to this feature for me and also can confuse users where is the problem? Server side or with their internet connection.
I believe you can do this with global notice too. Just add a notice before rebuild.
3 likes
Kuro22
29 april 2022 om 08:23
7
Thank you so much for this great component!
1 like
Jagster
(Jakke Flemming)
7 augustus 2026 om 07:24
8
FYI:
[Admin Notice] Theme 'Offline Indicator Theme Component' contains code which needs updating. (id:discourse.hbs-extension)
2 likes
Don
13 augustus 2026 om 00:19
9
3 likes