mozillabrasil / sumo_live_helper

Helper Add-on for SUMO forum contributors
https://addons.mozilla.org/firefox/addon/sumo-live-helper-/
Mozilla Public License 2.0
7 stars 8 forks source link

Loading wheel doesn't disappear on first installation #174

Closed WesleyBranton closed 3 years ago

WesleyBranton commented 3 years ago

The loading wheel (not the loading bar) that was added to the add-on does not disappear from the question list page when the add-on is first installed if the add-on is opened before the first background API call is completed. To reproduce this, simply install the add-on and then open the browserAction as soon as possible.

This is a pretty minor UI bug. It can be easily corrected by just closing the browserAction and opening it again. It only ever happens the first time the add-on is installed.

The loading wheel was originally added to the add-on to try an address a minor UX issue when the browser first starts up, which was most noticeable in sidebar mode. When the browser is starting up, requests to the Storage API can be extremely slow, which can cause the question list to be slow to populate. The loading wheel was added to hide the question list until the questions were properly loaded from the local storage.