In T260860#6633233, @Gilles wrote:When you manually hit the "refresh" button, there's a progress bar that appears for a split second. Same when you load Special:GlobalWatchlist initially. The best practice in terms of performance perception is to avoid displaying progress bars for processes that are short most of the time. You should wait until a few seconds of waiting period have passed before displaying a progress bar. This way the majority of users who have a fast internet connection won't see the progress bar at all. Progress bars draw attention to the wait, and makes it feel longer when it's actually short.
Description
Description
Details
Details
Related Changes in Gerrit:
Related Objects
Related Objects
Event Timeline
Comment Actions
For the non-Vue version, can use setTimeout and clearTimeout. For the Vue version, not quite sure, since the display logic is to show the loading bar when the content hasn't loaded, and there is no manual jQuery show() and hide(). But, since the Vue version is not ready for use yet, and the loading display is definitely not ready yet, for this task will focus on the jQuery version only.
Comment Actions
Change 644505 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalWatchlist@master] Wait a second before showing loading bar on first load
Comment Actions
Change 644505 merged by jenkins-bot:
[mediawiki/extensions/GlobalWatchlist@master] Wait a second before showing loading bar on first load
Comment Actions
Change 647079 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalWatchlist@master] Fix delay in showing loading bar on first load
Comment Actions
Change 647079 merged by jenkins-bot:
[mediawiki/extensions/GlobalWatchlist@master] Fix delay in showing loading bar on first load