aecreations / readnext

Read Next: an extension for Mozilla Firefox
Other
4 stars 1 forks source link

Ability to retry reading list sync if unable to connect #60

Closed aecreations closed 1 year ago

aecreations commented 1 year ago

Further improvement to issue #59. Add the ability to retry connecting to the cloud file host by adding a "Try Again" button to the warning message bar in the sidebar that appears when the network connection is lost.

Do the same for the extension preferences page, in the "Sync Reading List" section. The page initialization should be changed to always ping the cloud file host by requesting the user account info, even if already saved to local storage. The "unable to connect" error should be restyled as a warning banner, and a "Try Again" button should appear next to the existing Disconnect button.

~The warning message should disappear as soon as the user is able to connect to the network again. This can be done by listening for the browser load event; if it occurs, then send an extension message which the sidebar and the extension preferences page can listen to, and clear the warning messages if they are displayed.~