Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated version comparison to only notify for older versions #830

Merged
merged 1 commit into from
Mar 11, 2018

Conversation

mhuggins
Copy link
Contributor

What current issue(s) from Trello/Github does this address?
N/A

What problem does this PR solve?
This changes the behavior for the "your wallet is out of date" notification to only display the notification if the version is older than the latest version. This will ensure that wallets with a newer version than we track in the neon DB do not see the notification, which has historically confused users.

How did you solve this problem?
I added the compare-versions package and used it to compare the currently installed package version to the latest available version.

How did you make sure your solution works?
I added tests!

Are there any special changes in the code that we should be aware of?
N/A

Is there anything else we should know?
N/A

  • Unit tests written?

@mhuggins mhuggins requested a review from dvdschwrtz-zz March 11, 2018 03:18
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 41.002% when pulling 73aa5ed on neoverse:compare-versions into 6b4946e on CityOfZion:dev.

@dvdschwrtz-zz dvdschwrtz-zz merged commit 7cdbae0 into CityOfZion:dev Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants