-
Notifications
You must be signed in to change notification settings - Fork 190
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: thorchain lp ledger open app ack #7632
Conversation
src/pages/ThorChainLP/components/AddLiquidity/AddLiquidityInput.tsx
Outdated
Show resolved
Hide resolved
Looks like we are missing this check in |
Actually very valid side note, added it in
Note sends from the send modal are currently borked in this diff - to be tackled in a follow-up as well as we can't open a modal within a modal and we'll need to update the Modal provider to accomodate that. Note the double checks in useSendThorTx's |
On the same page with the holistic update. Current setup not super manageable and prone to regressions or forgetting on new implementations. Handling at adapter level makes a lot of sense. Wondering if we could leverage event emitters and have it completely encapsulated in chain adapters to reduce the need to propagate the function pass through everywhere. Then we can just listen for the ledger app open event and show the modal accordingly. |
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.
approving - noting send modal will be tackled as a follow up. also, holy log spew for this hook, going to add a quick follow up to silence that as well
Description
Does precisely what you'd expect it to do based on its box content, minus deposit/withdraw execution bits (implemented in
useSendThorTx
as part of #7628)Issue (if applicable)
closes #7580
Risk
Testing
Engineering
Operations
Screenshots (if applicable)