Skip to content

Fix progress bar percentage too low#565

Merged
ebma merged 4 commits into
stagingfrom
fix-progress-bar-percentage-too-low
Apr 16, 2025
Merged

Fix progress bar percentage too low#565
ebma merged 4 commits into
stagingfrom
fix-progress-bar-percentage-too-low

Conversation

@ebma
Copy link
Copy Markdown
Member

@ebma ebma commented Apr 15, 2025

Currently, the progress bar only reaches ~50% when shown on the progress page before switching to the success page. This is because the total number of phases defined in the respective ramp-phase objects is larger than the relevant phases (as we need to exhaust the RampPhase type). This PR adds a custom constant to denote the relevant phases for the progress bar.

This also runs prettier on all files.

@ebma ebma requested a review from a team April 15, 2025 15:46
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 15, 2025

Deploy Preview for pendulum-pay ready!

Name Link
🔨 Latest commit 59a96ef
🔍 Latest deploy log https://app.netlify.com/sites/pendulum-pay/deploys/67fe7f42ba953d00087a0c0b
😎 Deploy Preview https://deploy-preview-565--pendulum-pay.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Copy Markdown
Contributor

@gianfra-t gianfra-t left a comment

Choose a reason for hiding this comment

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

Lucky both ramp types have the same active count 👍

@ebma ebma merged commit 21879c2 into staging Apr 16, 2025
5 checks passed
@ebma ebma deleted the fix-progress-bar-percentage-too-low branch April 16, 2025 07:30
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.

2 participants