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

[GUI] Hide privacy widget when the wallet has no zPIV balance #1306

Merged

Conversation

furszy
Copy link

@furszy furszy commented Jan 25, 2020

Auto-descriptive title.

if the wallet has not zPIV, the privacy widget is not presented in the screen, nor loaded into ram.

@furszy furszy added the GUI label Jan 25, 2020
@furszy furszy self-assigned this Jan 25, 2020
@Fuzzbawls Fuzzbawls changed the title [GUI] Hide privacy widget whether the wallet has no zc balance [GUI] Hide privacy widget when the wallet has no zPIV balance Jan 26, 2020
@Fuzzbawls Fuzzbawls added this to the 4.1.0 milestone Jan 26, 2020
@Fuzzbawls
Copy link
Collaborator

Think there needs to be a refresh after loading the wallet model. After initial startup and loading, the menu button is unstyled (see image) until i click on any menu button.

Screen Shot 2020-01-26 at 1 00 59 AM

Other than that, works as intended.

@furszy furszy force-pushed the 2020_hide_privacy_if_no_balance branch from feb42c5 to aec179f Compare February 5, 2020 01:57
@furszy furszy force-pushed the 2020_hide_privacy_if_no_balance branch from aec179f to a453fa9 Compare February 5, 2020 02:46
@furszy
Copy link
Author

furszy commented Feb 5, 2020

Done, updated as per @Fuzzbawls's comment.

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

ACK a453fa9

@Fuzzbawls
Copy link
Collaborator

Something to note, would be good as a follow up to this:

A wallet that at one point contained zPIV and has since spent/converted all of them will no longer have access to the "Privacy" tab (as it is being hidden/disabled in this PR when zPIV balance is 0).

As a consequence, the user also looses access to viewing the wallet's zPIV transaction history list.

The main overview page should probably add zPIV transactions back into it's list to display, and also allow for filtering by these types of transactions..

@furszy
Copy link
Author

furszy commented Feb 6, 2020

The wallet is currently displaying all of the zPIV transactions in the dashboard list. Only the list filter action is missing. Can definitely be added in another PR, pretty straightforward change.

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 a453fa9 and merging...

random-zebra added a commit that referenced this pull request Feb 18, 2020
…lance

a453fa9 [GUI] Hide privacy widget whether the wallet has no zc balance (furszy)

Pull request description:

  Auto-descriptive title.

   if the wallet has not zPIV, the privacy widget is not presented in the screen, nor loaded into ram.

ACKs for top commit:
  Fuzzbawls:
    ACK a453fa9
  random-zebra:
    ACK a453fa9 and merging...

Tree-SHA512: 5c9addcc08bafc11caf16fa579ea337b06e90168fd69e5322e08df796b8016cd2b680559118cc8180c8da895711e93b10c602634329bc23648ac7f6518f17011
@random-zebra random-zebra merged commit a453fa9 into PIVX-Project:master Feb 18, 2020
@furszy furszy deleted the 2020_hide_privacy_if_no_balance branch November 29, 2022 14:22
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