-
Notifications
You must be signed in to change notification settings - Fork 41
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
Introduce Tooltip for the BlockClock navbar button #400
Conversation
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.
7453346
there should also be a tooltip state for when node is offline/stopped, i.e:
I pause the blockclock -> tooltip keeps displaying the blocktime from last online/sync time.
doesn't seem to be right
Good point. I will add some basic state status for paused/connecting/connected. I think i will just go with what the block clock currently displays then have the designers review. |
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.
tACK 7453346
I agree with wording about time "left" matching the BlockClock instead of "to go" as in figma, perhaps figma needs to be updated @GBKS?
It would be good to add the figma link and screenshot comparison in the description so reviewers could ACK easier.
I also agree with @johnny9 and @MarnixCroes about adding different states wording as currently one can see the some inconsistencies:
Also a question. I see text directly in the code. To simplify localization, should those be text reference IDs instead so the actual copy can be grabbed from a locale-specific dictionary? |
the qsTr() wrapper function is how localization is managed with Qt |
1dbe3ee
to
c97e4e5
Compare
The Tooltip will appear when hovering over the BlockClock tab button in the desktop navigation bar. It will show the current state of IBD.
Unfortunately that is an old bug we're aware of. It has to do with how we determine if IBD is finished or not.
I think those are the main ones at the moment. "Could not connect" is not included in my commit as we don't currently have that state until we integrate Network detection. Additionally, we'll probably want some error status as well. |
Update to to 8f8341f:
|
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.
tACK 8f8341f on WSL Ubuntu 22.04 LGTM
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.
tack 8f8341f
one q: why are tooltip-arrow-dark.png
and tooltip-arrow-light.png
different size?
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.
The Tooltip will appear when hovering over the BlockClock tab button in the desktop navigation bar. It will show the current state of IBD.
Two things are different than the figma. The wording for remaining blocks matches what is shown on the BlockClock instead of what the figma shows and After sync, Blockheight is shown instead. Looking for opinions on both during review.