Zach Pomerantz
4b87e3d9b8
test(e2e): skip failing slippage test ( #6844 )
2023-06-26 12:29:42 -04:00
Jordan Frankfurt
d6759b86e3
feat(wallet-connect): retire v1 ( #6820 )
...
* feat(wallet-connect): retire v1
* fix unit test
* Update src/state/user/reducer.ts
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
* useToggleAccountDrawer
* fix test
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
2023-06-23 15:12:21 -05:00
Jordan Frankfurt
df55456409
fix: chrome tie sort resolution ( #6833 )
2023-06-23 15:05:47 -05:00
Jack Short
f290787b99
fix: divide by zero error on pool page ( #6837 )
...
* fix: divide by zero error on pool page
* removing changes here
* adding price in conditional
---------
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
2023-06-23 15:56:41 -04:00
Zach Pomerantz
2f84507a23
chore: add CODEOWNERS to public ( #6813 )
2023-06-23 14:41:14 -04:00
Zach Pomerantz
96c58361a5
build: rm global yarn cache ( #6822 )
...
* build: omit caching global modules
* docs: build omitting cache
2023-06-23 14:41:06 -04:00
Zach Pomerantz
011136d0e9
build: improve workflow caching ( #6825 )
...
* build: only cache on main
* build: do not glob yarn.lock
* build: do not cache on yarn.lock
2023-06-23 14:40:58 -04:00
Vignesh Mohankumar
054d1de88a
chore: upgrade @web3-react/walletconnect-v2 ( #6831 )
2023-06-23 14:40:30 -04:00
Jack Short
ebab00d7bd
fix: adding wallet connect v2 behind feature flag ( #6826 )
...
* fix: adding wallet connect v2 behind feature flag
* passing unit tests
2023-06-22 16:16:41 -04:00
Brendan Wong
01dc10d4f3
fix: scroll behavior on MP on mobile ( #6750 )
...
* fix: update overflow
* fix: add margin for mobile
* fix: update css to use built in styling
2023-06-22 16:11:23 -04:00
Brendan Wong
fb3abf275e
fix: added op and arb as base tokens ( #6810 )
...
* fix: added op and arb as base tokens
* fix: unit testing
2023-06-22 16:10:49 -04:00
Zach Pomerantz
f6ad694200
build: fix slack markdown ( #6811 )
...
* build: fix slack markdown
* build: simpler slack messages
* build: simpler message
2023-06-22 14:52:26 -04:00
Zach Pomerantz
a3d72a4bbc
build: simplify workflows ( #6814 )
...
* build: simplify workflows
* docs: better name
2023-06-22 14:48:42 -04:00
Vignesh Mohankumar
1bb750f136
feat: track quote method in Quote Received event ( #6807 )
...
* WIP
* WIP
* more work
* comment
* fix
* v2slice
* add method to data
* add names
* fellback
* rm-log
* only success
2023-06-22 14:19:23 -04:00
Zach Pomerantz
5315272694
chore: rm committed t9n ( #6792 )
...
* chore: rm committed t9n
* chore: ignore t9n
* test(e2e): fix locale selection test
2023-06-22 09:30:06 -04:00
Jordan Frankfurt
43b9e398b5
fix: allow more session namespace keys ( #6802 )
...
* allow more session namespace keys
* pr feedback
* add test case
2023-06-21 17:02:13 -05:00
eddie
1247989cf4
fix: cut off wallet icon ( #6815 )
2023-06-21 14:35:08 -07:00
Jordan Frankfurt
45a5ca3b88
feat: sort supported chains to top of the chain selector list ( #6800 )
...
* feat: sort supported chains to top of the chain selector list
* pr feedback
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-06-21 16:10:46 -05:00
eddie
54b4567a81
test: add e2e test for usdt special case ( #6784 )
...
* feat: revoke USDT approvals in ConfirmSwapModal
* chore: fix bad merge
* test: add e2e test for usdt special case
* fix: refactor test
* fix: make variable static
* fix: comments
2023-06-21 14:02:14 -07:00
Jordan Frankfurt
fc45a504fb
fix: log the error message instead of [object Object] ( #6773 )
...
* fix: log the error message instead of [object Object]
add tina's rec
pr review
zzmp input
* pr feedback
2023-06-21 15:35:23 -05:00
eddie
052cc69414
feat: log minimum_output_after_slippage to amplitude ( #6769 )
...
* feat: log minimum_output_after_slippage to amplitude
* fix: memoize logging props
* fix: dont memoize at all
2023-06-21 10:22:48 -07:00
Zach Pomerantz
5caaaf1b1f
test(e2e): switching network ( #6662 )
...
* test(e2e): switching network
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
* fix: reconnect after failed chain switch
* test(e2e): add forks to hardhat.config
* test(e2e): wait on wallet_switchEthereumChain
* build: upgrade cypress-hardhat
* fix: do not disconnect whilst switching
* fix: unit tests
* fix: better chain selector check
* test(e2e): better helper fn naming
* test(e2e): better stub naming
* fix: doc re-activation
* fix: add back click
* build: upgrade cypress-hardhat to include network caching
* unwrap web3status
---------
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
2023-06-21 13:15:03 -04:00
Zach Pomerantz
c0163767ed
build: rm crowdin-sync ( #6793 )
2023-06-21 10:45:21 -04:00
Zach Pomerantz
342b0c81f6
chore: rm pseudo locale ( #6794 )
...
chore: rm pseudo t9n
2023-06-21 10:45:03 -04:00
Jordan Frankfurt
cb21750b87
fix: remove unused types ( #6791 )
...
* fix: remove unused types
* update name
2023-06-16 14:38:03 -05:00
Jordan Frankfurt
2e8ef480f9
feat(testnets): add toggle for testnets ( #6786 )
...
* feat(testnets): add toggle for testnets
* e2e test
* update toggle syntax and fix a bug
* simplify list calculation per eddie's input
* add all testnets
* clean up the styles
* Update src/components/NavBar/ChainSelector.tsx
* fix lint
2023-06-16 14:09:05 -05:00
Nate Wienert
f27bba9ffa
fix: use shortenAddress for mini portfolio addresses ( #6774 )
...
* fix: use shortenAddress for mini portfolio addresses
* Update src/utils/addresses.ts
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-16 08:51:03 -10:00
eddie
6528fd136e
feat: log swap failures to amplitude ( #6789 )
2023-06-16 11:20:09 -07:00
Zach Pomerantz
eb802266e1
build: rm ignored en-US ( #6790 )
2023-06-16 13:05:49 -05:00
Jordan Frankfurt
5bec0b78da
fix: update copy per Fred's input ( #6787 )
2023-06-16 12:46:59 -05:00
Zach Pomerantz
4894460821
build: download translations when pushing to staging ( #6780 )
...
* build: pin crowdin action
* build: download t9n to staging
2023-06-16 12:41:32 -05:00
Vignesh Mohankumar
f3889e326e
chore: migrate from JIRA to Linear ( #6747 )
...
* chore: migrate from JIRA to Linear
* INFRA -> WEB
2023-06-16 12:48:27 -04:00
Jordan Frankfurt
2d61c72588
feat(wallet-connect): make v2 the default walletconnect method ( #6785 )
...
* explicitly enumerate all supported wcv2 methods as optional ?
* use only sign methods in optionalMethods
* rename class
* feat(wallet-connect): make v2 the default
* fix loader and menu button occlusion
* fix test
* pr feedback from zzmp
* update connector name
* add slack convo link from x-walletconnect
2023-06-16 11:33:37 -05:00
Brendan Wong
1a634c350a
fix: success indication for copy ( #6711 )
...
* fix: success indication for copy
* fix: remove redundant styles
2023-06-15 20:51:11 -04:00
eddie
35b83ab842
feat: revoke USDT approvals in ConfirmSwapModal ( #6730 )
2023-06-15 17:12:10 -07:00
eddie
c0d42ade6f
fix: clear dependent variable when trade inputs become invalid ( #6782 )
...
* fix: handle polling interrupt separately from invalid trades
* fix: clear output when trade becomes invalid, dont use stale trade
* fix: tests
* fix: invert skip
* fix: remove debounce delay
2023-06-15 16:05:57 -07:00
eddie
0e2344ba85
feat: refactor ConfirmSwapModal for clarity ( #6729 )
...
* feat: refactor ConfirmSwapModal for clarity
* fix: remove reset effect for now
* fix: catchUserReject update
* fix: remove unnecessary awaits
2023-06-15 15:31:41 -07:00
Tina
309d03b5e7
feat: Bump default auto-slippage to 0.5% ( #6778 )
...
bump default to 0.5%
2023-06-15 18:10:28 -04:00
Vignesh Mohankumar
8d32e315ed
feat: filter moz-extension errors ( #6781 )
2023-06-15 18:05:39 -04:00
Jack Short
1c8b3f0339
fix: currency select modal when chain is not supported ( #6759 )
...
* fix: currency select modal when chain is not supported
* removing pay with if on unsupported network
* refactor
2023-06-15 12:39:35 -04:00
eddie
fc83659041
fix: bottom padding on error modal ( #6758 )
2023-06-15 09:16:32 -07:00
cartcrom
e8f5a0e8c8
feat: detect more injections ( #6752 )
...
* feat: detect more injectors
* feat: added comments
* refactor: move image folder
* test: add tests for new injectors
* feat: small test change
* fix: update comment about coinbase injection
* test: update snapshots
* fix: pr nits
2023-06-15 12:08:54 -04:00
Jordan Frankfurt
9e213fc396
fix: update web3-react ( #6749 )
...
* fix: update web3-react
* update flakey snapshot test and add required config var
* revert snapshot change
* allow ^
* update lockfile with permissive version
* add newly required explicit options for @web3modal
2023-06-15 10:55:19 -05:00
Saro Vindigni
f10ba73529
fix: <a> cannot appear as a descendant of <a> ( #6737 )
...
* fix: <a> cannot appear as a descendant of <a>
* refact: change render logic to SwitchLocaleLink
2023-06-15 10:02:18 -05:00
Jordan Frankfurt
c2a83cabaa
feat: add loading indicator to activity tab in mini portfolio ( #6754 )
...
* feat: add loading indicator to activity tab in mini portfolio
* should not render spinner when activity key is active
* add an unread notification dot that is dismissed when the user visits the activity tab
* pr feedback
2023-06-14 19:06:10 -05:00
Jordan Frankfurt
7a3c51bc90
fix: uniswap_wallet -> uniwallet ( #6764 )
...
* fix: uniswap_wallet -> uniwallet
update tests
Revert "fix: uniswap_wallet -> uniwallet"
This reverts commit 7bdf34b33025d0b564c5870b073eb20e3d1774e1.
Revert "update tests"
This reverts commit cc841cb5e01a1a239f79fa4d9d480e6479128f08.
add migration
* refactor: add deprecated value back to enum (#6768 )
* add deprecated value back to enum
* Update src/connection/types.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* add deprecated case to getConnection
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-14 18:16:12 -05:00
eddie
e69a7c2712
feat: log user router preference as a user property ( #6761 )
...
* feat: log router preference in user properties
* fix: update analytics events
2023-06-14 16:03:23 -07:00
Vignesh Mohankumar
d149512d93
fix: update arbitrum subgraph ( #6679 )
2023-06-14 17:14:05 -04:00
eddie
5826ed15c8
fix: remove sentry logging for swap failures ( #6765 )
2023-06-14 11:16:05 -07:00
eddie
3db9e1b9a4
feat: rename permit2 variables for clarity ( #6728 )
...
* feat: rename permit2 variables for clarity
* fix: types
2023-06-14 11:13:54 -07:00