-
Notifications
You must be signed in to change notification settings - Fork 470
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
Release 1.20.0 #2702
Release 1.20.0 #2702
Conversation
* fix: clear awaiting confirmation notifications * fix: clear notifications for messages
* Add Create Safe tests * Remove unused import
* fix: Only track fetch details event if tx details are fetched * fix: Track accordion open instead of tx details fetch, rename event * fix: Track every accordion open
* fix: console warnings in owner list * fix: duplicate tooltips * fix: e2e tests * fix: button selectors * revert: add owner button selector
* Add Assets tests * Update test description
* chore: Update nextjs to v13.5 * fix: Replace optimizeImports with optimizePackageImports * chore: Update lockfile * Rm next-pwa patch * Fix type issues * Rm protobuf * Fix tests * Fix apps.test.tsx --------- Co-authored-by: katspaugh <[email protected]>
* Fix: show nonce warning when above current nonce * Lint * Adjust text
* Refactor: map props to hooks * Appeace linter * Display name * Test: run postinstall manually * Restire yarn action * Memoize component * Only map * Add tests * Add a comment and rename the param * Add an export dialog test
* Chore: enable unit test coverage comment * Disable pre-commit lint * Always comment * Try a different report action * Run tests from the action * Custom test command * Make a failing test * Fix test
* Migrate tests to Seplia * Remove unused import * Fix tests
* feat: mock data builder for tests * refactor: pass override object
* Migrate safe apps and NFTS tests to Sepolia * Fix tests * Remove dashboard and nfts tests from test run
* Feat: native walletconnect * Multi-session * fix: handle optional chain session approvals * Popup * fix: forward ref * Update session; disconnect session * feat: connection popper * refactor: assertion + get errors from WC * Pass all required methods as compatible * fix: modal style/position + types * fix: switch to current chain after approval * feat: sync chain and address * Refactor approve/reject * Refactor: session manager * SafeWalletProvider * Add a session_delete handler * feat: add verification * fix: reject session when manager closes * fix: connection modal + no manual session setting * Simplify and fix useSessions * Refactor: extract proposal verification into a component * wip: send added safes in namespace * revert: getActiveSessions * Revert added safes + add wallet_switchEthereumChain * fix: use `wc_sessionSettle` for added sessions * Revert "fix: use `wc_sessionSettle` for added sessions" This reverts commit 16e5b98. * Fix: emit session_add after try-catch * Pass peer name and icon to tx flow * Peer icon/count on the header widget * Send app.url * fix: keep session aligned with peer * refactor: only update session if required * fix: add partial `WalletConnectWallet` tests * fix: add remaining tests for `WalletConnectWallet` * SafeWalletProvider tests * fix: add `useWalletConnectSessions` test coverage * useSafeWalletProvider tests (WIP) * fix: add tests for `WalletConnectContext` * fix: add `onRequest` tests + move tests * Revert "fix: add `onRequest` tests + move tests" This reverts commit 0184e78. * Revert "fix: add tests for `WalletConnectContext`" This reverts commit 5c08405. * fix: add context test * Resore yarn lock Pin next-pwa * feat: connect to session in URL * refactor: move autoconnection to context * fix: header logo + add error response * Revert "fix: header logo + add error response" This reverts commit 5132dd5. * fix: don't cut off DApp icon (#2594) * fix: update session after approval (#2595) * fix: return error if request is from wrong chain * fix: update session after approval * Return txHash if available (#2616) * fix: styling (#2617) * Fix optional txId * fix: populate help section (#2619) * fix: populate help section * refactor: extract constants + debounce hints * fix: align all `Popover`s to header (#2623) * fix: address WC style feedback (#2621) * feat: wrong network warning + high risk checkbox (#2622) * feat: wrong network warning + high risk checkbox * refactor: merge/improve chain warnings * fix: simplify chain mismatch message * fix: change colour of icon + add error badge (#2627) * fix: extend Safe wallet provider tests (#2608) * fix: extend Safe wallet provider tests * fix: WC search param test * fix: WC popup, checkbox, session alignment (#2636) * fix: WC popup, checkbox, DApp name alignment * fix: add gap + remove import * fix: centralise error * fix: lock file * feat: show notifications for WC requests (#2638) * feat: show notifications for WC requests * refactor: move notification logic to own file * fix: disable approval of unsupported sessions (#2639) * fix: disable approval of unsupported sessions * fix: rephrase info + variable * fix: rename "chains" to "networks * feat: enter pairing URI from clipboard on focus (#2630) * feat: enter pairing URI from clipboard on focus * fix: display session manager immediately * fix: drill prepopulated pairing URI * fix: remove function + check clipboard prefix * fix: clear clipboard * fix: don't set clipboard + move validation to hook * fix: show WC details in transaction list (#2641) * fix: clear pairing URI on rejection (#2643) * fix: clear pairing URI on rejection * fix: don't check for permissions on Firefox * fix: rename variable * fix: WC session list height (#2642) * fix: session management when switching chains (#2640) * fix: session management when switching chains * fix: move function to private method * fix: enable header, grey out sessions + don't add chains * fix: session badge, hint dismissal + improve info (#2646) * fix: `useSafeWalletProvider` test * fix: don't paste stale pairing URIs (#2649) * fix: WC signatures + subsequent transactions (#2650) * fix: reject requests on flow change * fix: success doesn't quit + unsubscriptions * refactor: cleanup code * fix: change event payload + use callback syntax * feat: on-chain WC signing (#2654) * feat: block/warn about bridges accordingly (#2652) * feat: block/warn about bridges accordingly * fix: abstract constants + rename variables * fix: multipl session disconnects throwing (#2655) * fix: help block not hiding (#2658) * fix: remove secondary help block display state * fix: unit tests * fix: lint * fix: handle empty metadata (#2660) * fix: handle empty metadata * fix: don't render icon * fix: add fallback for * fix: emit `chainChanged` first (#2661) * fix: emit first * fix: remove only from test * fix: prevent error from blocking WC popup (#2663) * Feat: open WC popup on dashboard widget click (#2662) * Feat: open WC popup on dashboard widget click * Lint * fix: don't reject when signing (#2666) * fix: don't reject when signing * fix: comment * feat: unsupported chain disconnection feedback (#2664) * feat: unsupported chain disconnection feedback * refactor: create useDeferredListener hook * Refactor: rename and rearrange components (#2676) * Refactor: rename and rearrange components * Move useWcUri * Show/hide popup on session change * Remove auto-pasting * Hide input when no Safe is opened * Warned bridge should not disable Approve * Fix: peer and metadata can be undefined * Handle pair errors * Add comments * Add dots animation * Reword warning * Add a network switch in the proposal form * Update WC version * Reset error * Name can be empty * Detect bridges by name * Increase clickable area for header buttons * Fix: always add safe methods * Fix tests * Fix: don't display chain switch errors to the user, just log them * Add tracking * Add onboarding tooltip * Header icon badges * Make dapp icon larger * Update header icons * Fix tests * Refactor: track tx origin (#2647) * Feat: track tx origin * Add unit test * Blink title when WC tx is created * Fix USER_QUIT * Fix: add another bridge * Fix: disable Approve button on non-Safe urls * Fix: clear proposal if rejection fails * Add more unsupported bridges; adjust warning text * Feat: show sample dapps to connect (only once) * Fix: show a better pairing code error * [WalletConnect] Feat: add extra tracking events (#2693) * Feat: add extra tracking events * Fix tests * Fix: debounce input error tracking * Feature toggle * Fix: on close callback for WalletConnect (#2696) * Refactor: on close callback for WalletConnect * Use safeAddress + chainId instead of raw query * Close modal on path change * Fix lint * Fix: track hints only when popup is open * Fix: no close warning when resetting txFlow * Stabilize e2e tests * Replace tx flow should not warn * Fix safe apps msg parsing * fix e2e --------- Co-authored-by: iamacook <[email protected]>
Branch preview✅ Deploy successful! https://release_1_20_0--walletweb.review-wallet-web.5afe.dev |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Coverage report
Test suite run success1045 tests passing in 142 suites. Report generated by 🧪jest coverage report action from 21a8909 |
|
@@ -88,10 +84,6 @@ const WcHints = (): ReactElement => { | |||
trackEvent(WALLETCONNECT_EVENTS.HINTS_EXPAND) | |||
} | |||
|
|||
if (chain?.chainName) { | |||
InteractionSteps[1] = InteractionSteps[1].replace(/%%chain%%/, chain?.chainName) |
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.
@iamacook FYI. You should never modify constants like this.
* feat: track user's wallet through user properties * fix: add enum for user properties * fix: move user properties to types.ts and add test * fix: only set walletLabel if defined * lint: remove unused import
cd5af8b
to
21a8909
Compare
Features
Improvements & bug fixes
Tests & chores