thorium-reader icon indicating copy to clipboard operation
thorium-reader copied to clipboard

Software update version check

Open danielweck opened this issue 1 year ago • 1 comments

In this PR branch, the version bump is from alpha to production-ready 3.0.0 (just for testing, will downgrade to alpha before merging). The popup modal dialog only appears at app startup in dev mode, production builds will only see the more discrete pop out toast at the bottom of the home page (ARIA live "polite" alert). The yes/no answer (dismissal) is not persistent across React components, so the message toast reappears when coming back to the homepage. TODO: maybe make persistent until the app process restarts? PS: note that Windows Microsoft App Store is excluded, the version is not checked at all.

@llemeurfr could you please check that the UX is adequate? (maybe Arthur/Pierre can demo the build from this branch for you?)

@panaC please check my Redux Saga code, feel free to improve if necessary. Also have a think about making the dismissal persistent during the application lifecycle, until restart.

@arthur-lemeur please check the CSS styles of the notification toast.

Thank you :)

danielweck avatar May 07 '24 14:05 danielweck

https://www.electronjs.org/fr/docs/latest/api/process#processwindowsstore-readonly :) clever !

panaC avatar May 07 '24 15:05 panaC