sending transaction speed improvements#262
Conversation
WalkthroughThis PR updates the transaction handling in the SendModal components by integrating Changes
Sequence Diagram(s)sequenceDiagram
participant Component
participant Context (Balances & NFTs)
Note over Component: On component render and transaction action
Component->>Component: Evaluate sending state (anyChainSending / isSending)
alt Transaction in progress
Component->>Context: Set update flag to false
else
Component->>Context: Set update flag to true
end
sequenceDiagram
participant BottomMenuModal
participant ContextUpdater
BottomMenuModal->>BottomMenuModal: Check activeIndex value
alt activeIndex == 2 (Account)
BottomMenuModal->>ContextUpdater: Trigger NFT/token update
else activeIndex == 1, 3, or null
BottomMenuModal->>ContextUpdater: Halt updates
end
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Definitions (1)src/components/BottomMenuModal/SendModal/SendModalTokensTabView.tsx (2)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (10)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Deploying x with
|
| Latest commit: |
4fdba23
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://fa43b7f7.x-e62.pages.dev |
| Branch Preview URL: | https://fix-wallet-connect-qa-fixes.x-e62.pages.dev |
Description
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Summary by CodeRabbit