-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: loading spinner for assets table #1641
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More manual testing is needed, it seems to be loading my balances many times slower than before
seemed relatively performant to me during testing? |
In the |
can you add a changeset? |
interesting, I didn't test |
Screen.Recording.2024-08-05.at.17.39.07.mov |
@Valentine1898 ack, debugging.. |
3901e70
to
49d2b93
Compare
49d2b93
to
c27e30a
Compare
following up, was the performance regression here fixed? I haven't retested it myself yet |
@VanishMax can you try to repro this? I can't seem to repro locally with the test account on mainnet. |
I can't reproduce any slowness, but @JasonMHasperhoven can you test this out on testnet with the testnet whale seedphrase given you have an older macbook? |
I can't reproduce the slowness either using the whale account on mainnet Screen.Recording.2024-08-19.at.8.41.48.PM.movScreen.Recording.2024-08-19.at.8.56.29.PM.mov |
also can't see why the CI is failing but my local is passing - debugging now. |
CI is fixed now, it was an eslint compat problem. |
f9429dd
to
dc1926d
Compare
Using testnet on my 2019 macbook: cc @grod220 |
This is a compelling test. Why would streaming balances not be basically instant for a slower machine? The balances steps are this:
This leads me to believe there is a react rendering kind of performance drag. @JasonMHasperhoven, another helpful test would be to make the same query on |
Additional context |
@grod220 good point, will address this now. |
dc1926d
to
ffe5fd5
Compare
@grod220 addressed in the latest commit. the correct loading indicator will now show until the stream has finished. |
@vacekj still unclear if there's a performance regression? |
@TalDerei I can't replicate the perf regression on my machine, and don't see any obvious issues with code. Even with the perf. regression, this feels like better UX than before, so would carefully merge and watch for potential use reports. Alternatively, I can try debugging with @JasonMHasperhoven on his machine to see what's wrong. @grod220 would love your call here. |
# Conflicts: # eslint.config.js # pnpm-lock.yaml
64e6588
to
3441cee
Compare
re-fixes #1381