-
Notifications
You must be signed in to change notification settings - Fork 725
[Qt] Rework of overview page #479
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
Conversation
|
I like the concept here. utACK. Need to confirm that this reflects all balances correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the concept as well, and I guess nobody will really miss the "Unlocked" balance.
I wonder how possible Watched-Balances will look like, but we'll find out soon enough.
ACK 32fdefd
Fuzzbawls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some style changes noted.
Overall Concept ACK, needs some thorough testing, especially with watch-only cases.
src/qt/forms/overviewpage.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inline HTML shouldn't be used in strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, missed this one.
Please remove the HTML code and just increase the font size for this label.
a) translation is easier, and it's b) also easier to change the font properties in the CSS file if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I don't know where this comes from. Probably a mistake with qt creator. Will remove.
src/qt/forms/overviewpage.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Text editor fizzling, will remove.
src/qt/forms/overviewpage.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string should be PIV Balances
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will change back.
src/qt/forms/overviewpage.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be <string notr="true">0.000 000 00 PIV</string> to prevent sending this to transifex for translation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
src/qt/forms/overviewpage.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should keep the notr="true" here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was not removed. I just moved parts around, it probably went something like line 527 or 712. Will add.
src/qt/overviewpage.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: unnecessary whitespace in function parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About this, I will remove them for the sake of file consistency. But there is a serious question. I personally find this area more readable with this whitespaces. Other areas would benefit from the same treatment in my view. They obviously have no influence on compiled code.
But is there coding style guidelines and where can they be found if so?
src/qt/overviewpage.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: unnecessary whitespace in function parameters
src/qt/overviewpage.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: unnecessary whitespace in function parameters
src/qt/overviewpage.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: unnecessary whitespace in function parameters
src/qt/forms/overviewpage.ui
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably add notr="true" to the <string> element here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure this was not everywhere before. Will add of course.
|
Thanks to thorough review by @Fuzzbawls I got to make some changes. |
Not complete, but gets you started: |
|
Much cleaner, thanks! In last image, Suggest auto-hiding the following if they are 0: Pending, Immature, Unconfimed, Locked. Suggest removing Total and Available if they equal the same number, and only show the number. Correction: PIVX Balances should be PIV Balance, or suggest changing to PIV |
|
So yeah 7a8ad53 Implements changes suggested by @wholewheatbiscuits |
|
Warrows - great improvement.
|
|
@turnkit Thanks for your valuable input.
Anyway you'll see them soon enough if you move funds around. And if they don't show long it's that the network is so fast you don't need to know about them. |
|
Thanks for the positive comments.
I would disagree about need to keep the zero balances out of view. By
allowing a simple view vs. complete view the users who wish to learn by
observation have that opportunity. This especially becomes useful when
roll-over help text appears describing what different balances mean. So by
allowing a user to "open up" the complete detailed view they are then able
to learn before it gets complicated, when there is no frustration over,
"why can't I spend all the coin I have?!" when coins that were available
stop becoming available, then become available again, only leaving a user
to wonder, "what is happening?" In those situations it will be useful for
a user to open up the detailed view and look at the metrics that were
populated when a coin became immature due to minting, right?
If that's not clear, I could probably re-write it so that it make more
sense. The basic principle here is that the user should be King/Queen:
they should have the ability to get into all the details even when it's not
primarily relevant, if they wish to. And primarily they should be able to
do so using methods that increase their knowledge and understanding by
doing so.
…On Mon, Jan 8, 2018 at 2:09 PM, Warrows ***@***.***> wrote:
@turnkit <https://github.com/turnkit> Thanks for your valuable input.
tPIV stands for testnetPIV, no worries. About units, it's an interesting
question but not to be solved here. I believe it's a community wide
question which will need further discussions.
It might be unclear but there is no "simple view" here. It's one and only
one panel which shows only numbers above 0. So if you have no pending
operation and no locked up PIV in any way you get what's seen in the second
image: Total (which happen to also be available), PIV and zPIV.
I am not sure there is a point in showing all the empty balances. If you
are a new user you most likely don't care about them and if you are more a
advanced one you probably already know about them and don't want it to
cluster your view for nothing.
Anyway you'll see them soon enough if you move funds around. And if they
don't show long it's that the network is so fast you don't need to know
about them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#479 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD711yxjfEoQYGlVILqOGT7urMCRiXrRks5tInYCgaJpZM4RVTEW>
.
--
David C. Sutherland | (310) 729-6411 (c) | Lindale, Texas
|
|
@turnkit I absolutely understand your feeling that the user must be king and I agree with it. The thing is I don't think the average user will open the advanced view if he doesn't need it. And even if he did, there is no way we could stuff enough information in the software. If you want to understand cryptocurrencies you need to go out and educate yourself about them. As much as we would want it, we can't give a full course about blockchain and zPIV minting in-wallet. |
|
@presstab Thanks, totally agree. I just followed the existing pattern here, now it's done for all the same looking functions. |
|
I'm not 100% sure if completely hiding elements when they are empty is support-wise a good idea. Have you ever tried to guide someone via phone through a problem who sees a different UI? |
|
@Mrs-X I can't say I am 100% sure it's the best idea. But I really like the cleanliness it brings. |
|
I agree.
I prefer the idea of two panels or a dashboard with a line between top,
minimal info, and bottom, details.
My idea is that when the details are zero the section Auto-rolls up, or
perhaps just has a green light for “all confirmed/processed/available”
whatever.
But when coins are unavailable somehow those numbers are highlighted.
But still the essential two numbers, available PIV and available zPIV
should be set apart and prominent, perhaps in much larger font.
On Tue, Jan 9, 2018 at 1:02 PM Mrs-X ***@***.***> wrote:
I'm not 100% sure if completely hiding elements when they are empty is
support-wise a good idea.
We can't use that space anyway...
Have you ever tried to guide someone via phone through a problem who sees
a different UI?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#479 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD711w6bKtgLzODZ_6IQLZfj-oCvt4wlks5tI7e-gaJpZM4RVTEW>
.
--
Sent from Gmail Mobile
|
|
It was very disturbing the first time I saw my balance go down, due to
minting and immature coins that were previously mature.
So any way the UI can calm the user when the previously available coins
disappear to a temporarily unavailable status, it is much better.
On Tue, Jan 9, 2018 at 4:36 PM David Sutherland ***@***.***> wrote:
I agree.
I prefer the idea of two panels or a dashboard with a line between top,
minimal info, and bottom, details.
My idea is that when the details are zero the section Auto-rolls up, or
perhaps just has a green light for “all confirmed/processed/available”
whatever.
But when coins are unavailable somehow those numbers are highlighted.
But still the essential two numbers, available PIV and available zPIV
should be set apart and prominent, perhaps in much larger font.
On Tue, Jan 9, 2018 at 1:02 PM Mrs-X ***@***.***> wrote:
> I'm not 100% sure if completely hiding elements when they are empty is
> support-wise a good idea.
> We can't use that space anyway...
>
> Have you ever tried to guide someone via phone through a problem who sees
> a different UI?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#479 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AD711w6bKtgLzODZ_6IQLZfj-oCvt4wlks5tI7e-gaJpZM4RVTEW>
> .
>
--
Sent from Gmail Mobile
--
Sent from Gmail Mobile
|
@Warrows What about a new setting "Hide zero balances" to make this optional? |
|
@Mrs-X We can add a setting of course. But the point being to have a cleaner overview for newcomers the auto-hiding should be opt-out. Would you agree with that ? |
|
@Warrows I just played around with different options. So if a more minimalistic overview should be the default I'd like to see the second screenshot as default one (this one: If more balances are available they should be automatically visible of course, and users who always want to see everything get a checkbox in the option menu. |
|
@Mrs-X that's a good point, I didn't think about that. There's going to be edge cases where people think PIV is automatically private, but if they see zPIV next to it on the overview tab, that should make many understand they need zPIV for private transactions.
On 1/13/2018 11:45:56 AM, Mrs-X <[email protected]> wrote:
@Warrows [https://github.com/warrows] I just played around with different options.
I think your first screenshot (only Combined Balance) goes a bit too far, in the user, even when he's a beginner, should see that something like PIV and zPIV exist, even when one or both them are zero.
So if a more minimalistic overview should be the default I'd like see the second screenshot (this one:
https://user-images.githubusercontent.com/835098/34684650-1e1cae60-f4a6-11e7-9769-b4b63fb2864a.png [https://user-images.githubusercontent.com/835098/34684650-1e1cae60-f4a6-11e7-9769-b4b63fb2864a.png]).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [#479 (comment)], or mute the thread [https://github.com/notifications/unsubscribe-auth/Aczfkl6Vn0qE89Ks2Dnr09PYsf5pNmF-ks5tKQfygaJpZM4RVTEW].
|
|
@Mrs-X You are absolutely right, newcomers must see that there are two separate balances. Maybe hiding everything was a bit extreme. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
I think I know exactly what the problem is, I am going to push that tomorrow. Do you want me to rebase and squash some commits by the way ? |
|
@Mrs-X I made the resize work like before. I personally prefer the "fixed size" version. But that's not the point of this PR. |
Lots of people specifically asked to have the resizing like this, and it makes sense if we want to make use of bigger fonts to support 4k or 8k displays somewhere in the future. I'll test later, we should do squashing when everything is ACKed. |
|
ACK 👍 When it's squashed and @Fuzzbawls approves his requested changes we'll merge. |
Put combined balance on top Removed redundent informations Fixed some inconsistencies Rollback styles changes and errors Hide balances when empty Hide available balances when equal total Fix a few things Add setting to show or hide empty balances in overview Always show PIV/zPIV panels. Hide percentages when balance is 0 Rollback changes in overview page resizing
|
ACK b5f420b |
|
ACK b5f420b |
|
ACK for the hide zero balances. Balance sections do no collapse like @Warrows examples |







Here is a proposal for some modifications on the overview page. Thanks to @Mrs-X work it got some really nice improvements but I believe it still holds a few flaws. So here are my proposed changes:
-First, put the combined balance on top. Users want to know how much they have, and how much they can spend right away. Stop.
-For the same reason, remove emphasis from piv balance and put it to combined.
-Move PIVX/zPIV percentages to the areas labels. (piv one was in front of unlocked which was technically false)
-Change sections names for more consistency (plurals, zPIV instead of zerocoin)
-Move locked to the PIVX balance instead of combined (you can't lock zPIV, can you ?)
-Remove redundant informations like zPIV and PIVX balances in both their own areas and the combined balance area.
-Reverse zPIV balances order to be consistent with the two other sections.
-Have a clear available/total policy for each section.
Here is a small before/after comparison.


I believe all previously available information are still in here.