-
Notifications
You must be signed in to change notification settings - Fork 1
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
ENG-4161 fix(portal): harden create claim and canonical/universal ids #849
ENG-4161 fix(portal): harden create claim and canonical/universal ids #849
Conversation
ENG-4161 Portal Canonical/Universal IDs
This is a parent ticket for switching Portal to utilize This has come up in a few separate discussions recently and in another context today as we were talking about ways to harden our create claim flow by removing the need for a pending state. There's a lot of benefit to switching to using |
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.
This looks great -- very thorough
I want to do some additional QA given the surface area, but everything looks solid!
I wonder if there's a way we can grab the txReceipt
without it being a useEffect
but I remember that this is how we've talked about it previously
Good callout, just pushed a fix. Setting lastTx and vaultId once the transaction completion dispatch fires since we have the receipt in that block of code. |
Just did some QAing. Think we need to strip out some of the pending claim checks on claim detail after creating a claim and/or refactor it so it successfully loads. If we redirect immediately after creating the claim, the pending check fails.
|
That last commit removes all the pending checks for claims. |
await sleep(RETRY_DELAY) | ||
} | ||
} catch (error) { | ||
if (attempt === MAX_RETRIES - 1) { |
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.
could error be some other issues from BE? it could be 500 or 400 (we should be expecting a 404 right)?
Nice job @Vitalsine85 ! |
Affected Packages
Apps
Packages
Tools
Overview
Scope of changes in regards to links:
Screen Captures
If applicable, add screenshots or screen captures of your changes.
Declaration