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 position flickering issue #455

Merged
merged 1 commit into from
May 30, 2022
Merged

Fix position flickering issue #455

merged 1 commit into from
May 30, 2022

Conversation

deepthinker250
Copy link
Contributor

Task:

Position sometimes reloads randomly

Description

This loading issue isn't related to API calls. It happens when calculating position fees which involve a lot of big numbers calculation. So it only occurs when the computer is slow. This PR removes the fees calculation loading to avoid flickering. I confirmed it's fixed by throttling CPU 6x.

Fixes # (issue) #365

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 not to work as expected)
  • Document update

How Has This Been Tested

Please describe how to test to verify the changes. Provide instructions so we can reproduce.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Added video recordings if it is a UI change

@vercel
Copy link

vercel bot commented May 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
continuouscall ✅ Ready (Inspect) Visit Preview May 30, 2022 at 4:52AM (UTC)

@KMKoushik
Copy link
Contributor

It's still happening for me!

Screen.Recording.2022-05-13.at.8.50.30.am.mov

@deepthinker250
Copy link
Contributor Author

@KMKoushik I'm struggling with reproducing it on my local. Can we schedule 20 minutes to pair on Monday your time?

@KMKoushik KMKoushik force-pushed the 365-position-reloads branch from 33df81e to 4c47466 Compare May 30, 2022 04:50
@KMKoushik KMKoushik merged commit 5a80f10 into main May 30, 2022
@KMKoushik KMKoushik deleted the 365-position-reloads branch May 30, 2022 04:50
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