-
Notifications
You must be signed in to change notification settings - Fork 198
fix: fox farming display type bad merge #10089
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
Conversation
WalkthroughThis change introduces the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI_Component as FoxFarming UI (Deposit/Withdraw/Claim)
participant ReduxStore
participant ActionSubscriber
User->>UI_Component: Initiates Deposit/Withdraw/Claim
UI_Component->>ReduxStore: Dispatch upsertAction with displayType=FoxFarm
ReduxStore-->>ActionSubscriber: Notifies of new action
ActionSubscriber->>ActionSubscriber: Processes action with displayType FoxFarm
ActionSubscriber->>ReduxStore: Updates status, triggers notifications
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
yarn install v1.22.22 ... [truncated 5212 characters] ... com/cosmos for further assistance. Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
🧰 Additional context used🧠 Learnings (4)📓 Common learningssrc/features/defi/providers/fox-farming/components/FoxFarmingManager/Withdraw/components/Confirm.tsx (2)Learnt from: gomesalexandre Learnt from: CR src/hooks/useActionCenterSubscribers/useGenericTransactionSubscriber.tsx (2)Learnt from: gomesalexandre Learnt from: gomesalexandre src/features/defi/providers/fox-farming/components/FoxFarmingManager/Claim/ClaimConfirm.tsx (1)Learnt from: gomesalexandre ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (12)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
src/hooks/useActionCenterSubscribers/useGenericTransactionSubscriber.tsx
Show resolved
Hide resolved
src/hooks/useActionCenterSubscribers/useGenericTransactionSubscriber.tsx
Show resolved
Hide resolved
0xApotheosis
left a comment
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.

Description
Fix for some adjustments that were made to generic transaction handling that excluded fox farm. We've added explicit checks for display types when calculating the complete message in action centre so we'll need a display type for fox farming.
Issue (if applicable)
closes #
Risk
Low risk, fixes existing bug.
Testing
Engineering
Operations
Screenshots (if applicable)
Summary by CodeRabbit
New Features
Improvements