Refactor ModalAutoUpdateConfirm into ModalAutoUpdateDownloaded #2959
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#2959
Loading…
Reference in a new issue
No description provided.
Delete branch "JakesDev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes 2188
Issue Number: 2188
What is the current behavior?
Currently there are two different modals being used for essentially the same function, ModalAutoUpdateConfirm and ModalAutoUpdateDownloaded. The only difference between them is ModalAutoUpdateDownloaded would set a boolean to decline auto updates, and then if that is the case ModalAutoUpdateConfirm would be shown instead, that had the same functionality but declining the update didn't change the boolean like UpdateDownloaded did.
What is the new behavior?
I refactored the two together, and got rid of ModalAutoUpdateConfirm. This was possible by removing the part where UpdateDownloaded set the boolean which was responsible for UpdateConfirm being displayed.
Other information
@JakeVdub, thanks for the PR, we'll get it reviewed soon! Can we show you some appreciation?
Make sure to check out https://lbry.tech/contribute and sign up for the dev mailing list at the bottom!
Also, see https://lbry.com/news/hacktoberfest-2019 for the latest Hacktoberfest details.
Thanks for the PR! I will give this a closer look once 0.36.0 is relased.
This looks good! Can you please add a changelog entry to this file? Then it's ready to merge.
https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md
@JakeVdub, thanks for the PR! Can we show you some appreciation for the contribution?
Also, we're giving away some Hacktoberfest bonuses and goodies for this month. We'll get it all figured out after you shoot us an email after this is reviewed/merged.