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

feat: update threshold of halving countdown #142

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

Keith-CY
Copy link
Member

@Keith-CY Keith-CY commented Nov 9, 2023

Before this PR, the countdown shows "Coming soon" after `Halving Countdown 0 Seconds", it's a bit confusing because "Halvd" is expected when the countdown lefts 0s.

This PR moves the threshold of "Coming soon" to 3s as a buffer.

Screen.Recording.2023-11-09.at.13.08.18.mov

This commit updates the countdown of halving, and shows
"Coming soon" info when countdown less than or equal to 3 seconds
Copy link

vercel bot commented Nov 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ckb-explorer-frontend-in-magickbase-repo ✅ Ready (Inspect) Visit Preview Nov 9, 2023 4:14am

@Danie0918
Copy link

Before this PR, the countdown shows "Coming soon" after `Halving Countdown 0 Seconds", it's a bit confusing because "Halvd" is expected when the countdown lefts 0s.

This PR moves the threshold of "Coming soon" to 3s as a buffer.

Screen.Recording.2023-11-09.at.13.08.18.mov

Here itself is a buffer time reserved for service responses that need to be queried for successful activation in the chain. Here 3 seconds in advance would be better, and can be adapted to the case of immediate effect.

@Keith-CY Keith-CY marked this pull request as ready for review November 9, 2023 04:30
@Keith-CY
Copy link
Member Author

@FrederLu please have a review at this update

@Keith-CY Keith-CY merged commit 39d4923 into develop Nov 15, 2023
9 checks passed
@Keith-CY Keith-CY deleted the update-threshold-of-halving-banner branch November 15, 2023 06:37
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.

4 participants