aecreations / readnext

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

Show version update message bar in sidebar after extension update #47

Closed aecreations closed 1 year ago

aecreations commented 1 year ago

This is a kludgy workaround to the issue where the WebExtension sidebar is automatically opened after update even if the user had closed it (issue #35).

If an update had occurred, the sidebar should show a message bar informing the user that Read Next was updated. This should at least help to explain the user why they were interrupted by the unexpected reopening of the Read Next sidebar if it was previously closed.

The other workaround option was to NOT automatically show the sidebar when the extension is installed, but users won't know that the primary UI of this extension is a sidebar. A welcome page was considered with instructions on how to open the Read Next sidebar, but because the user can't add WebExtension pages to Read Next, this idea didn't make sense.

aecreations commented 1 year ago

This should be tested when version 0.9 is released by upgrading from 0.8.x -> 0.9.

aecreations commented 1 year ago

Version update message bar did NOT appear when the Read Next sidebar suddenly opened after updating from 0.8.4 to 0.9 on Firefox 102.3.0 ESR on macOS 10.13.6 High Sierra.

Debug log output: image image

aecreations commented 1 year ago

I've noticed that the sidebar will suddenly pop open if performing a forced update from Add-ons Manager. If letting the update happen automatically, the sidebar will stay closed. Observed on Firefox 105.0.3.

aecreations commented 1 year ago

Latest findings: I retested the update from 0.8.4 to 0.9 on Firefox 105 on my main iMac, and this time the sidebar suddenly opened after the update. It appears that this surprise sidebar opening behaviour is random.

aecreations commented 1 year ago

Read Next 0.9

The post-update message bar repeatedly appears even when dismissed. The only way to stop it from reappearing is to restart Firefox.