-
Notifications
You must be signed in to change notification settings - Fork 191
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: don't refetch approval/stake fees when mutation is pending #6989
Conversation
Note, spotted another issue with share of pool being refetchy, see Jam at 2:39 https://jam.dev/c/eea90cea-e428-4c00-9400-d3151ac6e32b - fixed by cherry-picking this bit from the topmost PR: https://github.com/shapeshift/web/pull/6963/files#diff-2c26074bf0c6e9c74bfe83f94b8a5e575248d9f946d41508854d0c7868402135 0fd524e / https://jam.dev/c/40e91cd2-ead4-4597-9497-a13cf7b8fc56 |
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.
Jumpiness resolved
* feat: don't refetch approval/stake fees when mutation is pending * feat: cherry-pick invalidateQueries safety bits
* feat: don't refetch approval/stake fees when mutation is pending * feat: cherry-pick invalidateQueries safety bits
* feat: surface manual rune address to users, start wire-up of form in ChangeAddressInput and improve types * feat: cleanup * feat: new rune address terminology * feat: improve naming and validation from the skeleton pre-wire-up * feat: wire-up gas fees * feat: cleanup fluff * feat: more cleanup * feat: more cleanup * feat: disable same addy for custom addresses * feat: wire-up change address status * fix: loading state and improve copies * fix: lint * feat: invalidate queries * feat: consistently invalidate as an async cleanup operation * feat: tackle TODO * add empty state * update confirm and input change address * feat: account dropdown address form-based same address validation * feat: don't fetch fees on same account dropdown addy * feat: more guards against overfetching * feat: disable button when no current address * feat: omit undefined param in sendChangeAddressTx and rename to handleChangeAddress * feat: cleanup * feat: better home for types * feat: more cleanup * feat: comment typo * fix: merge * fix: error messaging * feat: don't refetch approval/stake fees when mutation is pending (#6989) * feat: don't refetch approval/stake fees when mutation is pending * feat: cherry-pick invalidateQueries safety bits * feat: changeAddresStatus external link * feat: improve copy * feat: rm unused translations * fix: address selection invalid shenanigans * feat: improve alignment --------- Co-authored-by: reallybeard <[email protected]>
Description
Tackles the jumpy issue spotted by @0xApotheosis in #6925 (review):
Pull Request Type
Issue (if applicable)
Risk
Testing
Engineering
Operations
Screenshots (if applicable)
https://jam.dev/c/eea90cea-e428-4c00-9400-d3151ac6e32b