Diese Funktion ist jetzt Teil von Discourse Core. Aktivieren Sie sie über die Einstellung „Ladeanzeige beim Seitenaufruf". Weitere Details weiter unten.
Diese Theme-Komponente entfernt den standardmäßigen Discourse-Ladekreis und ersetzt ihn durch einen Ladebalken am oberen Bildschirmrand. Dies ist ein gängiger Ansatz auf anderen Websites (z. B. GitHub). Der Vorteil besteht darin, dass es bei einem Seitenwechsel weniger „Flackern" von Inhalten gibt. Ein möglicher Nachteil ist, dass Discourse weniger wie eine App und mehr wie eine Webseite wirkt.
I preferred the spinner, though to be honest I hadn’t really been aware of it. I like the way it is there for a split second then the page appears suddenly. This seems fast. With the bar, it makes me more aware of waiting. I found myself still looking at it when otherwise I could have started reading the page.
It might be some improvement if it “ended” at an earlier stage of page loading.
Or if you want to move away from the old spinner what about a new spinner that is like a circular version of the bar - reaching 360 degrees just before it disappears?
This was exposing a few different rendering bugs (e.g. navigating directly from one topic to another would cause issues displaying the OP). Removed from Meta for now, but you can still try it out using the theme creator link in the OP
I like it very much, even if customized spinners won’t show up most of the time.
One issue though. The loading bar isn’t used when you reload the topic or topic list you’re on.
If you’re on meta home, click on the logo, and you’ll see the spinner instead of the bar.