lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.56k stars 413 forks source link

Add new version / description on upgrade prompt #2186

Closed tzarebczan closed 3 years ago

tzarebczan commented 5 years ago

The Issue

On the upgrade prompt for new versions, we should list the version and/or the tag from GitHub. Most times we add a release description which should suffice: "Clarke - 0.26.1". There will be a few different prompts to ad this one (one for auto, one for manual, and Linux).

Suggested Solutions

Tell us your suggested solutions if you have any.

System Configuration

Anything Else

Screenshots

Internal Use

Acceptance Criteria

1. 2. 3.

Definition of Done

Ruk33 commented 3 years ago

How about showing the release changes in the app?

I just hacked a quick sample using GitHub's release api (found in https://docs.github.com/en/rest/reference/repos#releases):

image

The content is fetched from the latest release and then displayed using remark (markdown).

Does this works @tzarebczan ?

Regards.

tzarebczan commented 3 years ago

That looks great! Can we add the tag/version number next to "new version" ?

Ruk33 commented 3 years ago

We sure can:

image

Added loading state:

image

Added failure state:

image

Ruk33 commented 3 years ago

Alright, I just pushed the PR: https://github.com/lbryio/lbry-desktop/pull/5461 Regards!