-
Notifications
You must be signed in to change notification settings - Fork 111
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
[NOTIFICATIONS #9] refactor: use new snackbars for wrap/unwrap/approve notifications #4038
Conversation
… feat/snackbars-from-events # Conflicts: # apps/cowswap-frontend/src/common/pure/PendingOrderNotification/getPendingOrderNotificationToast.test.ts # apps/cowswap-frontend/src/common/pure/PendingOrderNotification/index.tsx # apps/cowswap-frontend/src/legacy/state/orders/middleware/showPendingOrderNotification.tsx # apps/cowswap-frontend/src/modules/injectedWidget/updaters/CowEventsUpdater.ts # apps/cowswap-frontend/src/modules/limitOrders/services/safeBundleFlow/index.ts # apps/cowswap-frontend/src/modules/limitOrders/services/tradeFlow/index.ts # apps/cowswap-frontend/src/modules/swap/services/safeBundleFlow/safeBundleApprovalFlow.ts # apps/cowswap-frontend/src/modules/swap/services/safeBundleFlow/safeBundleEthFlow.ts # apps/cowswap-frontend/src/modules/swap/services/swapFlow/index.ts # apps/cowswap-frontend/src/modules/twap/hooks/useCreateTwapOrder.tsx # libs/wallet/src/web3-react/connectors/Injected/WidgetEthereumProvider.ts # libs/widget-lib/src/IframeCowEventEmitter.ts # libs/widget-lib/src/IframeRpcProviderBridge.ts # libs/widget-lib/src/cowSwapWidget.ts # libs/widget-lib/src/messages.ts
…otocol/cowswap into feat/snackbars-from-events-1
…protocol/cowswap into feat/snackbars-from-events-2 # Conflicts: # apps/cowswap-frontend/src/modules/orders/pure/PendingOrderNotification/getPendingOrderNotificationToast.test.ts
@elena-zh thank you!
|
Created #4054 issue for the 2nd case. |
Hey @shoom3301 , still there are some issues:
|
@elena-zh fixed |
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.
Great job!
… feat/snackbars-from-events-9 # Conflicts: # apps/cowswap-frontend/src/common/updaters/FinalizeTxUpdater.tsx # apps/cowswap-frontend/src/modules/limitOrders/services/safeBundleFlow/index.ts # apps/cowswap-frontend/src/modules/orders/containers/OrderNotification/index.tsx # apps/cowswap-frontend/src/modules/orders/index.ts # apps/cowswap-frontend/src/modules/orders/updaters/OrdersNotificationsUpdater/handlers.tsx # apps/widget-configurator/src/app/configurator/index.tsx
Summary
Migrated onchain transactions notifications to the new solution (
@cowprotocol/snackbars
).Transactions:
Each transaction might end successfully (green snackbar) or with an error (red snackbar).
To Test