HomePhabricator
Diffusion Comm 3d7cf3cbb860

[web] Add modals for updating the desktop app

Description

[web] Add modals for updating the desktop app

Summary:
Adds modals for updating the desktop app. There are two cases:

  • The user is using the first version of the app. We check if the version string exists and if not, we prompt the user to download manually a new (self-updating) version. This is shown on refresh.
  • If the user is on the self-updating version, after downloading the new version we ask if they want to restart the app

(both of them only show up when it's the desktop app not the web app)

More info here: https://linear.app/comm/issue/ENG-2661/

Test Plan:

  • Check if the user is prompted to download the new version if there is no version string
  • Check if the user is prompted to restart after a new version is available and the update is applied correctly

Reviewers: ginsu, przemek, inka, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6324

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Jan 19 2023, 1:58 PM
Reviewer
ashoat
Differential Revision
D6324: [web] Add modals for updating the desktop app
Parents
rCOMM3e9b71d2c1e0: [web] Pull `SIWEButton` out of `SIWE` component
Branches
Unknown
Tags
Unknown

Event Timeline