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

[Qt] Hide zPIV balances when they are zero #1323

Merged
merged 1 commit into from
Feb 19, 2020

Conversation

Fuzzbawls
Copy link
Collaborator

Since there will be no new zerocoins anymore, there is no need to
take up UI space with zero value zerocoin balance information.

This hides the related UI labels if/when the wallet doesn't have any zerocoin
balance.

Before:
Screen Shot 2020-02-06 at 3 42 28 PM

After:
Screen Shot 2020-02-06 at 3 43 08 PM

@Fuzzbawls Fuzzbawls added the GUI label Feb 6, 2020
@Fuzzbawls Fuzzbawls self-assigned this Feb 6, 2020
@random-zebra
Copy link

Concept ACK. Good follow-up on #1306

Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK 👍 . Left some code improvements.

src/qt/pivx/topbar.cpp Outdated Show resolved Hide resolved
src/qt/pivx/topbar.cpp Outdated Show resolved Hide resolved
src/qt/pivx/topbar.cpp Outdated Show resolved Hide resolved
@random-zebra random-zebra added this to the 4.1.0 milestone Feb 7, 2020
Since there will be no **new** zerocoins anymore, there is no need to
take up UI space with zero value zerocoin balance information.
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looking good, utACK cd1f806

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK cd1f806 and merging...

random-zebra added a commit that referenced this pull request Feb 19, 2020
cd1f806 [Qt] Hide zPIV balances when they are zero (Fuzzbawls)

Pull request description:

  Since there will be no **new** zerocoins anymore, there is no need to
  take up UI space with zero value zerocoin balance information.

  This hides the related UI labels if/when the wallet doesn't have any zerocoin
  balance.

  Before:
  ![Screen Shot 2020-02-06 at 3 42 28 PM](https://user-images.githubusercontent.com/7393257/73988398-711bf100-48f7-11ea-8872-94c2b653b6b9.png)

  After:
  ![Screen Shot 2020-02-06 at 3 43 08 PM](https://user-images.githubusercontent.com/7393257/73988406-7711d200-48f7-11ea-9a01-adfb9ecb4f3c.png)

ACKs for top commit:
  furszy:
    Code looking good, utACK cd1f806
  random-zebra:
    ACK cd1f806 and merging...

Tree-SHA512: 84fdfa7790d137efe319e7da8caf9f46a7787f51de7feb7ce164c738ac4f002515d3946857a1837d18480d88e49e62e43457de755d436922e7ce229ca736498e
@random-zebra random-zebra merged commit cd1f806 into PIVX-Project:master Feb 19, 2020
@Fuzzbawls Fuzzbawls added Needs Release Notes Placeholder tag for anything needing mention in the "Notable Changes" section of release notes and removed Needs Release Notes Placeholder tag for anything needing mention in the "Notable Changes" section of release notes labels Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants