Closed pastudan closed 1 year ago
Before update started. Current /update-status output should look like:
{ "downloadInProgress": false }
User taps "update". The app UI should show download percentage. The /update-status output (query in a loop, with maybe ~200ms pause in between)
{ "downloadInProgress": true, "downloadSize": 105682612, "percentDownloaded": 0.75 }
After done downloading, updater is currently extracting files. This part takes the longest, and percent download might look hung if we just say "100%". Maybe we can instead say "Installing update...". The /update-status output:
{ "downloadInProgress": true, "downloadSize": 105682612, "percentDownloaded": 1 }
Download is done. Now say "You are up to date!"
@AndrewDennistoun outlined the desired update flow above
Before update started. Current /update-status output should look like:
User taps "update". The app UI should show download percentage. The /update-status output (query in a loop, with maybe ~200ms pause in between)
After done downloading, updater is currently extracting files. This part takes the longest, and percent download might look hung if we just say "100%". Maybe we can instead say "Installing update...". The /update-status output:
Download is done. Now say "You are up to date!"