Jordan Frankfurt
290083b414
fix: isolate assertions into single tests ( #7209 )
2023-08-22 16:34:29 -05:00
Nate Wienert
3dab1da5ea
fix: cypress flaky token details test ( #7193 )
...
improve cypress test
2023-08-21 08:46:08 -10:00
eddie
877e000da6
feat: swap quote event ( #7174 )
...
* wip: more metrics
* wip: SWAP_INPUT_FIRST_USED
* feat: track elapsed times
* feat: add e2e test
* fix: order of logging
* feat: swap quote request logging
* feat: e2e test
* feat: another property
* test: test events separately
* fix: dont log for price quotes
2023-08-18 11:47:45 -07:00
Jack Short
3f05a88409
chore: revert path based routing ( #7192 )
...
* Revert "feat: use router depending on the origin (#6982 )"
This reverts commit c9b4016b78e597b824c98e4219867e0af301c755.
* updating tests
* fixing import from styled components
* fixing styled imports
2023-08-18 14:40:47 -04:00
Jack Short
ea5af12b1d
chore: moving language selection to own settings panel ( #7169 )
...
* chore: moving language selection to own settings panel
* auto switch when close
* updating e2e
* clickable style
* moving behind feature flag
* fixing tests
* this looks nicer
* nowrap for overflow
2023-08-17 16:05:18 -04:00
eddie
bf1f613a4f
fix: network connector fix and lists fix ( #7185 )
2023-08-17 12:29:34 -07:00
eddie
024bbce9a4
feat: more swap metric logging ( #7173 )
...
* wip: more metrics
* wip: SWAP_INPUT_FIRST_USED
* feat: track elapsed times
* feat: add e2e test
* fix: order of logging
* fix: nits
2023-08-17 10:16:51 -07:00
eddie
38cce46c7b
feat: redux migration ( #6830 )
...
* feat: start working on redux migrations
* feat: fix migations and add tests
* feat: fix persistence and improve tests
* fix: tests
* fix: rename test file so it doesnt run in jest
* fix: tests
* fix: lint
* feat: indexedDB
* fix: e2e tests
* fix: address some comments
* fix: update legacy migrations
* fix: fix rehydrations
* fix: remove PersistGate and fix e2e tests
* fix: add comment to helper function
2023-08-16 10:56:06 -07:00
Nate Wienert
69ae42f285
fix: broken spacing in tokens fixture ( #7168 )
2023-08-16 07:36:15 -10:00
cartcrom
ef9619b1bd
test: uniswapx e2e activity ( #7137 )
...
* test: e2e uniswapX toggle/opt-in tests
* fix: update visit to match new version of hardhat
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* test: uniswapx activity
* fix: lint and small pending hook refactors
* test: e2e UniswapX orders (#7110 )
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* fix: PR nits
2023-08-15 15:02:24 -04:00
cartcrom
041f3d5ba2
test: e2e uniswapX toggle/opt-in and order tests ( #7067 )
...
* test: e2e uniswapX toggle/opt-in tests
* fix: update visit to match new version of hardhat
* test: e2e UniswapX orders (#7110 )
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* fix: PR nits
2023-08-15 14:50:08 -04:00
Charles Bachmeier
666bb79833
fix: test id based on address & chain instead of ticker ( #7167 )
...
* fix: test id based on address instead of ticker
* add chain to test id
* use token address
* lowercase
2023-08-15 11:22:20 -07:00
eddie
57b098f309
feat: swap quote latency logging ( #7143 )
...
* feat: swap quote latency
* feat: measure quote latency
* feat: swap quote latency
* fix: improve variable name
2023-08-14 14:20:03 -07:00
Nate Wienert
485764fe38
feat: improve logic around hidden section of mini-portfolio balances spam tokens ( #6988 )
2023-08-14 11:06:40 -10:00
Jack Short
1ea724609f
feat: bottom sheet for mobile swap settings ( #7072 )
...
* feat: bottom sheet for settings dialogue
* renaming to settings
* renmaing
* cypress tests
* fixing the cypress tests
* chore: e2e insufficient liquidity test
* Revert "chore: e2e insufficient liquidity test"
This reverts commit 8250730f35182246ec908b5878b91b55a51cb941.
2023-08-10 12:20:31 -04:00
Jordan Frankfurt
6f6c9d7174
chore: remove e2e coverage from aggregate calculation in codecov ( #7108 )
...
* chore: remove e2e coverage from aggregate calculation in codecov
* pr feedback
2023-08-09 14:48:59 -05:00
Nate Wienert
9e7d59f1fe
chore: fix typecheck error due to jest and cypress overlapping types ( #7101 )
2023-08-07 18:40:43 -07:00
Nate Wienert
a726f67453
fix: bring back flake retries for flaky test (only flakes ~33% of time) ( #7063 )
2023-08-07 14:14:41 -10:00
Mike Grabowski
c9b4016b78
feat: use router depending on the origin ( #6982 )
...
* feat: initial commit
* chore: whitelist vercel
* chore: fix e2e test
* chore: update all occurences of #
* chore: tweaks
* chore: remove todo
* chore: revert changes
* chore: bring back old tweet logic and fix nested URLs
* chore: fix merge
* improve check
* fix: cypress
* chore: fix tests
* chore: update snapshot
* chore: update readme
* address review
* satisfy eslint
* chore: fix ui issue
* fix: tests
* fix: e2e test
2023-08-07 15:01:45 -07:00
eddie
29e46455c1
fix: use submitted icon on mainnet ( #7055 )
...
* fix: use submitted icon on mainnet
* fix: e2e test
* fix: some cleanup
2023-08-03 12:15:25 -07:00
eddie
715555f340
feat: time-to-swap metric ( #7051 )
...
* test(cypress): disable infura from browser
* build: typecheck cypress
* build: es5
* build: rm cypress videos
* fix failing tests
* skip nft failure and rm infra-175
* feat: implement tts metric
* wip e2e test
* fix: improve v2 network support (#7012 )
* fix: improve v2 network support
* add an unsupported message to all v2 pages
* test: add v2 pool tests
* add guard on transaction callbacks
* fix: dep array
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* test: adjust test options
* fix: move to helper method
* fix: merge and make code style change
* fix: use local variable to track first event
* fix: amplitude cypress command
* fix: use file-level var
* fix: clear input in test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-08-03 11:33:16 -07:00
gnewfield
24d00f7c39
fix: init pool behavior ( #7052 )
...
* Disable increment/decrement when range prices undefined
* Enable full-range price selection for new pools
* Add cypress tests
* Fix lint error
2023-08-03 10:52:18 -04:00
Zach Pomerantz
7978ed97a9
test(cypress): clean up types/assumptions/infura ( #7046 )
2023-08-01 22:13:19 -07:00
Jack Short
83cb750b2f
fix: failing nft buy test ( #7049 )
2023-07-31 14:06:45 -04:00
Zach Pomerantz
b55680dbce
test: deflake and clean universal search ( #7034 )
2023-07-28 16:36:13 -07:00
Brendan Wong
3f812f4aee
fix: clearing input on connect wallet ( #6928 )
...
* fix: clearing input on connect wallet
* update e2e tests
2023-07-28 16:45:58 -04:00
eddie
02883aca13
fix: reverted swap state ( #7044 )
...
* fix: wait for transaction status in ConfirmSwapModal
* fix: use actual swap status in ConfirmSwapModal
* feat: add test
* fix: shared hook
* fix: fix test
* fix: dont create Activity instance
2023-07-28 12:48:12 -07:00
Zach Pomerantz
6a3abbfb56
fix: update mainnet block ( #7042 )
...
* fix: update mainnet block
* fix: typecheck
2023-07-27 15:40:10 -07:00
Brendan Wong
8ed6481f16
fix: display ens name/avatar on other chains ( #6981 )
...
* maintain ens info on other chains
* update ens hook
* feedback!
* initial test
* test progress
* e2e test?
* final feedback
* fix(lint): rm unused test var
* fix final bugs
* last lint issue
* fix: update catches
* fix: define catch handlers
* fix: use error in catch
* empty commit
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-27 13:34:26 -04:00
Brendan Wong
4d084d0055
fix: mock graphql pool queries in e2e tests ( #7018 )
...
mock graphql query
2023-07-26 13:34:17 -04:00
Nate Wienert
8592a4a54d
fix: flaky test covering searchbar ( #7002 )
...
fix flaky test covering searchbar
2023-07-24 15:06:10 -10:00
Charles Bachmeier
34a22ef9f0
fix: chain query parameter doesn't block you from switching chains ( #6926 )
...
* useSearchParams
* delete old param
* properly handle a connected wallet
* update chain query via network switcher
* updated tests
* working test
* comment typo
* don't overwrite current params
* change chain based on user wallet interaction
* one instance of set
* update chainIdRef on account load
* useeffect
* set chainIdRef when isActive
* remove logging
* update comment
* make condition else if
2023-07-20 17:05:12 -07:00
Nate Wienert
1c50460160
fix: using search hotkey enter navigates to the wrong result ( #6735 )
...
* fix: fix SearchBarDropdown selecting invalid result on enter after initial search when recent searches are filled
* add test
* Update cypress/e2e/universal-search.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update cypress/e2e/universal-search.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update cypress/e2e/universal-search.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* use searhc hotkey
* Revert ""
This reverts commit 7b04d5d575e8f776e8127e9b43c3fff6f74d8919.
* chore: gitignore cypress/downloads.html
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-19 11:58:02 -10:00
Zach Pomerantz
252bf32d2f
test(e2e): buy crypto modal flag ( #6965 )
2023-07-17 22:04:40 -07:00
eddie
3ed3ed4994
feat: sort tokens in selector by USD value ( #6744 )
...
* feat: sort tokens in selector by USD value
* fix: sync visible balances in list with the sorting values
* fix: tryParseCurrencyAmount
* fix: remove todo
* fix: make shared hook for cached query
* fix: replace true with modalOpen
* fix: default to zero balance
* fix: add test and comment
* feat: fallback to unfilterd tokens
* fix: unconnected balances
* fix: update tests
* fix: test selector
2023-07-17 11:28:28 -07:00
Tina
4c58258f01
feat: additional routing option prototype ( #6934 )
...
* add npm secret and modify github actions
* inject npm secret for tests as well
* revert changes to staging and prod actions because we arent going to use themmm
* remove unused github actions
* minor copy change for convenience lol
* feat: add DutchOrderTrade type to Swap components (#8 )
* feat: add flag for gouda (#5 )
* feat: add new signature details type (#4 )
* feat: local gouda activity (#9 )
* feat: Unified Routing API classic and dutch limit quote requests (#10 )
* chore: Rebase 5/26 (#13 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: add UniswapX to Settings (#7 )
* feat: merge upstream 5/31 (#16 )
* feat: Upgrade unified-routing-api URL (#15 )
* chore: merge upstream 6/2 (#19 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: uniswapx gas tooltip (#12 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: swap callback (#17 )
* feat: gouda gating (#14 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* fix: settings e2e test (#22 )
* feat: update swap callback to add orders to redux state (#18 )
* chore: Fix types for useBestTrade return result (#21 )
* feat: gql gouda orders (#20 )
* feat: show $0 for gas fee for now (#25 )
* chore: Rebase 06/08 (#26 )
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
* feat: poll on order submit (#23 )
* feat: update gouda-sdk to 1.0.0-alpha.3 (#31 )
* feat: rename gasUseEstimateUSD for dutch orders (#30 )
Co-authored-by: Tina Zheng <tina.s.zheng+github@gmail.com>
* chore: Fix response types (#36 )
* feat: Gouda ETH input flow (#29 )
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
* fix: use trade to determine what router label to show (#41 )
* feat: open uniswapx modal on click (#32 )
* feat: gouda logging new params in swap quote received (#33 )
* fix: wrap step ui fixes (#40 )
* feat: use BE deadline padding (#46 )
* chore: merge 6/23 (#50 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
* feat: Gouda opt-in flow request logic (#37 )
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* feat: hide slippage and deadline settings when the current trade is gouda (#44 )
* feat: use settled order amounts (#45 )
* feat: fetch receipt before dispatch (#49 )
* fix: updated order popups to launch modal (#48 )
* feat: Use slippage value from URA response for UniswapX trades (#51 )
* fix: Bump gouda-sdk to match backend response for quotes (#58 )
* feat: Change gouda order status URL param from offerer -> swapper (#59 )
* feat: disable opt in flow (#57 )
* feat: Dont show USD value change for uniswapx trades (#55 )
* fix: Don't use WETH as input currency for Classic ETH-in trades (#54 )
* feat: Reset to WETH after wrap is complete (#52 )
* fix: correct descriptor in UniswapX activity row items (#61 )
* fix: align review modal and gouda activity modal (#60 )
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* feat: Get wrap and approve gas info (#53 )
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* fix: restore summary view when wrap is rejected (#66 )
* fix: serialize tx receipts before storing (#64 )
* fix: Insufficient balance check should read from the right currency (#65 )
* feat: update designs for gas tooltips (#67 )
* fix: UniswapX gas descriptor boolean (#69 )
* chore: Bump conedison for better gas price formatting (#70 )
* chore: Switch from gouda-sdk to uniswapx-sdk (#71 )
* chore: Rename all variables `gouda` to UniswapX (#72 )
* chore: Merge 7/8/23 (#73 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
* chore(conedison): update package (#77 )
* feat: add opt-in UI (#68 )
* chore: address some todos (#79 )
* chore: Rename feature flag from gouda_enabled to uniswapx_enabled (#81 )
* feat: Copy changes (#82 )
* fix: improve timings on animations for gouda opt-in (#80 )
* chore: Use updated URLs (#84 )
* chore: Merge 7/14 (#85 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
* remove changes to github actions files
* fix import
* actually revert changes to yml
* remove method export
* feat: Add feature flag for synthetic quotes (#6938 )
* fix: use Lingui Trans macro (#6943 )
* fix: use trans macro
* add comments
* fix: update updater.tsx (#6942 )
* fix: reformat variable to use ms
* move interval definition above getOrderStatus
* lint :)
* revert
* chore: bunch of nits (#6944 )
bunch of nits
* fix: translations etc (#6945 )
* chore: Remove placeholder signature types (#6937 )
remove placeholder
* chore: merge main into branch (#6948 )
* fix: Handle Scientific Notation for NFT Collection Activity Prices (#6936 )
wrap nft activity price in
* fix: e2e tests (#6941 )
* fix: e2e test
* fix: set flag for buy-crypto-modal test
* fix: fund DAI
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* feat: make inputCurrency optional for swapheader (#6947 )
* make inputCurrency optional for swapheader
* optional pass in
* fix: function defined twice (#6950 )
fix lint
* test: add signatureToActivity undefined tests (#6949 )
* fix: update token lists schema (#6951 )
fix: update token list schema
* chore: some last nits (#6953 )
* refactor: base type
* test: useUserDisabledUniswapX
* chore: simplify useAllSignatures usage
* chore: standard check order
* lint
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
Co-authored-by: marktoda <toda.mark@gmail.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
2023-07-14 14:46:59 -07:00
Charles Bachmeier
dab445f237
fix: e2e tests ( #6941 )
...
* fix: e2e test
* fix: set flag for buy-crypto-modal test
* fix: fund DAI
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-14 11:54:25 -07:00
Zach Pomerantz
86677ed193
test(staging): add staging-only t9n test ( #6899 )
...
* test(staging): add staging-only test
* test(staging): translations mount
* ci(t9n): download translations from crowdin
* test: proving that it works
* Revert "ci(t9n): download translations from crowdin"
This reverts commit b6e0f0c5c296c3ad4166419d72e9b2ebd053be87.
* Revert "test: proving that it works"
This reverts commit 1d3a1c2a2377e1a3b790f706c42b7169a47e59fd.
* fix: spec->test
---------
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
2023-07-07 09:41:20 -07:00
Charles Bachmeier
90f72e05b9
feat: upgrade sdk-core to 3.2.6 and add AVAX ( #6757 )
...
* init refactor
* upgrade to 3.2.6 and refactor more uses of chainid
* cleaned up lock file
* remove console log and add placeholder
* use supported chains type for switch fn
* allow passing of all chainIds to switcher
* additional typecast
* better casting solution
* yarn.lock cleanup
* prettier
* better casting for rpc
* prettier
* deprecate no longer needed addresses
* better isSupported checking
* deprecate redundant fn
* cleanup toSupportedChainId
* address initial ocmments
* pretier
* includes testnet
* remove unused export
* merge conflicts
* spread for mutable copy
* explorer text
* check is supported before activating chain
* remove extra uses of mumbai
* remove cast to MockChainId
* retain var name supportedChainId
* updated prettier
* use t for explorer translation
* use mockchainid for test
* feat: Add Avalanche support (#6776 )
* init avax
* add most avax props
* add logo
* correct subgraph
* update avax blocksPerFetch
* add square logo
* upgrade ur sdk
* version syntax
* correct tokens
* remove unused token
* remove unused token
* update token list and add coming soon to searchbar
* add coming soon to token explore page
* names to ids
* cleaned up routing
* usdc token
* upgrade default token list
* update SOR
* upgrade SOR
* merge conflicts
* snowtrace
* upgrade SOR
* handle be avax support
* temp hide avax
* show pool positions
* whole
* spotprice update
* not yet supported
* BACKEND_SUPPORTED_CHAINS
* add avax to BE not supported
* update multicall blocks to 5
* add todo
* updated prettier
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* be added avax token balances
* validateUrlChainParam should return eth for backend unsupported chain
* readonly
* respond to comments
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-07-06 21:44:06 -07:00
eddie
07eb9eb9a2
fix: combine userState with default injected wallet in cypress setup ( #6849 )
...
* fix: combine userState with default injected wallet in cypress setup
* fix: unconnected state in two tests
* fix: update name
2023-07-06 14:01:13 -07:00
Charles Bachmeier
614c15243e
fix: tokens with same name brake cypress test ( #6890 )
...
* fix: tokens with same name brake cypress test
* lowercase
2023-07-05 20:23:03 -07:00
eddie
5640c115de
fix: remove error popup when switching chains from URL param ( #6866 )
2023-07-03 17:13:12 -07:00
Zach Pomerantz
e5591e8f06
fix: allow wallets w/o mainnet to connect to WCv2 ( #6854 )
...
* fix: re-initialize wc connector with active chain
* test(e2e): fix universal-search flake
2023-06-30 13:28:48 -04:00
Zach Pomerantz
4b87e3d9b8
test(e2e): skip failing slippage test ( #6844 )
2023-06-26 12:29:42 -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
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
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
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
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
98f4af55c9
fix: stop resetting modal when we interrupt quote polling ( #6695 )
...
* test(e2e): disable video compression
* refactor: improve popupList impl/test
* test(e2e): log JSON-RPC calls
* fix: retry backoff logic
* test(e2e): wait for hardhat/popup assertions
* fix: remove transactions after expired
* test(e2e): re-enable other swap tests
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* chore: rm console.log
* fix: expire txs after 6h
* refactor: dry trade info
* test(e2e): use default deadline
* test(e2e): use aliases for permit2 test
* test(e2e): automine/off in beforeEach
* test(e2e): rm intermediate screen with no pause
* fix: stop resetting modal when we interrupt quote polling'
* feat: add e2e test for window losing focus
* fix: move test
* fix: combine tests
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-08 13:44:47 -07:00