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

Debounce fetch quote after updating slippage #5904

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

jinchung
Copy link
Member

Fixes APP-1619

What changed (plus any additional context for devs)

Issue: in the Review Panel when you update slippage, it wasn't immediately triggering a quote refetch and would update the minimum received / max sold only at the next interval of fetching.
This triggers a debounced quote refetch on updates to slippage.

What to test

Update slippage in the review panel - you should see the actual quote update as well as the minimum received / maximum sold amount for input-based and output-based trades.

Screen recordings / screenshots

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-06-29.at.17.28.51.mp4

Copy link

linear bot commented Jun 29, 2024

Copy link
Member

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

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

LGTM!

@jinchung jinchung merged commit 0b1d3eb into develop Jun 30, 2024
6 checks passed
@jinchung jinchung deleted the @jin/fetch-quote-on-slippage branch June 30, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants