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

Format BlockClock progress percentage according to the design file #276

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

jarolrod
Copy link
Member

@jarolrod jarolrod commented Feb 28, 2023

This formats the BlockClock's progress percentage to fit with the design file

The design file shows:
Block clock-3

This PR implements

0 0.01 0.1 1
zero zero-dot-one dot-one one

Windows
Intel macOS
Apple Silicon macOS
ARM64 Android

@johnny9
Copy link
Contributor

johnny9 commented Feb 28, 2023

Concept ACK

Copy link
Contributor

@johnny9 johnny9 left a comment

Choose a reason for hiding this comment

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

Screencast.from.02-28-23.11.44.46.webm

Appears to be some initialization issues when onboarding is skipped

diff --git a/src/qml/pages/main.qml b/src/qml/pages/main.qml
index b7786fdc0..d0cbd72b2 100644
--- a/src/qml/pages/main.qml
+++ b/src/qml/pages/main.qml
@@ -21,7 +21,7 @@ ApplicationWindow {

     StackView {
         id: main
-        initialItem: onboardingWizard
+        initialItem: node
         anchors.fill: parent
     }

@jarolrod
Copy link
Member Author

jarolrod commented Mar 1, 2023

@johnny9 It seems that you're actually testing #277? The issue you're seeing in the video is that with #277, we have synced set to if verificationprogress is > 99 where what it should be set to is a check on if the node is in IBD or not. What you're seeing in the video is some new headers, but we're not in IBD, so the UI gets put in a weird place. Will Update 277.

johnny9
johnny9 approved these changes Mar 2, 2023
Copy link
Contributor

@johnny9 johnny9 left a comment

Choose a reason for hiding this comment

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

nitpick: extra whitespace in header value

src/qml/components/BlockClock.qml Outdated Show resolved Hide resolved
@jarolrod jarolrod force-pushed the format-blockclock-progress branch from 6958971 to 603d8b8 Compare March 2, 2023 03:52
@jarolrod
Copy link
Member Author

jarolrod commented Mar 2, 2023

Updated from 6958971 to 603d8b8, compare

Changes: addressed review feedback

Copy link
Contributor

@johnny9 johnny9 left a comment

Choose a reason for hiding this comment

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

ACK 603d8b8

@hebasto hebasto merged commit cdf44f9 into bitcoin-core:main Mar 2, 2023
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