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

fix: quote loading state #6088

Merged
merged 2 commits into from
Jan 29, 2024
Merged

fix: quote loading state #6088

merged 2 commits into from
Jan 29, 2024

Conversation

0xApotheosis
Copy link
Contributor

Description

Fixes the quote loading state so we don't show "No rate available" while we are still looking for quotes.

Develop:

develop.mp4

This branch:

branch.mp4

Note, we still get a small flash of "No rate available", but that is not intended to be fixed in this PR.

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

N/A

Risk

Small

Testing

The issue usually occurs when fetching the first quote after a refresh/initial load.

Get a quote and confirm the loading state shows for the rate whilst the quotes are loading.

Engineering

☝️

Operations

☝️

Screenshots (if applicable)

N/A

@0xApotheosis 0xApotheosis requested a review from a team as a code owner January 29, 2024 00:30
Copy link
Member

@woodenfurniture woodenfurniture left a comment

Choose a reason for hiding this comment

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

legend

@0xApotheosis 0xApotheosis enabled auto-merge (squash) January 29, 2024 00:41
@0xApotheosis 0xApotheosis merged commit 04574b8 into develop Jan 29, 2024
3 checks passed
@0xApotheosis 0xApotheosis deleted the fix-loading-state branch January 29, 2024 00:46
0xApotheosis added a commit that referenced this pull request Jan 30, 2024
@0xApotheosis 0xApotheosis mentioned this pull request Jan 30, 2024
3 tasks
woodenfurniture pushed a commit that referenced this pull request Jan 30, 2024
Revert "fix: quote loading state (#6088)"

This reverts commit 04574b8.
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.

None yet

2 participants