-
Notifications
You must be signed in to change notification settings - Fork 127
100 Million ledger celebration banner #1258
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
ckeshava
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.
I do not have any objections to this PR.
- Can you deploy this change on stg environment before the deployment into prod?
- Can we verify that the banner appears correctly on mobile view?
|
|
||
| const newCountdown = calculateCountdown(currentLedger) | ||
| setCountdown(newCountdown) | ||
| setIsReached(true) |
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.
Are you setting isReached=true upon the reciept of a new ledger by the Explorer? I do not understand how isReached=false, if the Explorer recieves a steady stream of validated ledgers.
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.
sorry had set this to true manually when demoing that state to you guys. It is back to the original logic
|
@ckeshava We should avoid deploying changes from open PRs directly to staging—dev exists for that purpose. The usual workflow is:
|
High Level Overview of Change
Adds a banner to the home page that has a countdown, and then celebrates the 100 Million ledger mark.
Context of Change
Type of Change
Codebase Modernization
Before / After
Test Plan