Skip to content

Conversation

@achowdhry-ripple
Copy link
Collaborator

@achowdhry-ripple achowdhry-ripple commented Nov 4, 2025

High Level Overview of Change

Adds a banner to the home page that has a countdown, and then celebrates the 100 Million ledger mark.

Screenshot 2025-11-04 at 1 32 44 PM Screenshot 2025-11-04 at 1 33 00 PM

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Translation Updates
  • Release

Codebase Modernization

  • Updated files to React Hooks
  • Updated files to TypeScript
  • Updated tests to React Testing Library

Before / After

Test Plan

@achowdhry-ripple achowdhry-ripple self-assigned this Nov 4, 2025
Copy link
Contributor

@ckeshava ckeshava left a 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.

  1. Can you deploy this change on stg environment before the deployment into prod?
  2. Can we verify that the banner appears correctly on mobile view?


const newCountdown = calculateCountdown(currentLedger)
setCountdown(newCountdown)
setIsReached(true)
Copy link
Contributor

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.

Copy link
Collaborator Author

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

@achowdhry-ripple
Copy link
Collaborator Author

I do not have any objections to this PR.

  1. Can you deploy this change on stg environment before the deployment into prod?
  2. Can we verify that the banner appears correctly on mobile view?
  1. yes, doing that now
  2. i did on my end, but feel free to see how it looks in staging to double check

@kuan121
Copy link
Contributor

kuan121 commented Nov 4, 2025

  1. Can you deploy this change on stg environment before the deployment into prod?

@ckeshava We should avoid deploying changes from open PRs directly to staging—dev exists for that purpose. The usual workflow is:

  1. Deploy open PR changes to dev if you want others to test them; otherwise, test locally.
  2. Merge the PR.
  3. Deploy to staging and perform final checks before production.
  4. Deploy to production.

@achowdhry-ripple achowdhry-ripple merged commit b9e546b into staging Nov 5, 2025
5 checks passed
@achowdhry-ripple achowdhry-ripple deleted the celebration-banner branch November 5, 2025 01:05
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.

5 participants