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
eddie
79a72d6fe2
feat: update permit2 hook to allow revoking ( #6727 )
...
* feat: update permit2 hook to allow revoking
* fix: types
* fix: rename reset to revoke
* fix: re-use useUpdateTokenAllowance
* fix: add tests
* fix: improve code style
* fix: undefined nit
2023-06-14 10:26:12 -07:00
Brendan Wong
f3bfd4ad41
fix: prevent scrolling with settings modal open ( #6739 )
...
* fix: prevent scrolling with settings modal open
* fix: create hook
* fix: create tests
* fix: simplify useeffect and add JSDoc
2023-06-14 12:30:42 -04:00
Brendan Wong
45acf421b3
fix: tick labels respond to width of the graph ( #6741 )
...
* fix: tick labels respond to width of the graph
* fix: add description to new useeffect
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-14 12:30:22 -04:00
Saro Vindigni
2c5ea67ada
fix: remove gradientId from svg props ( #6751 )
2023-06-14 11:14:07 -05:00
eddie
2e141ac94c
fix: make text white in success state ( #6755 )
2023-06-13 14:20:26 -07:00
eddie
8b16f454ca
feat: add amount to local copy of Approval transactions ( #6726 )
...
* feat: add amount to local copy of Approval transactions
* fix: use alternate
* fix: type problem
* feat: add test
2023-06-13 13:55:45 -07:00
Tina
094664dc7a
chore: Feature flag cleanup for Arbitrum native USDC ( #6743 )
...
remove feature flag stuff
2023-06-12 15:20:24 -04:00
Charles Bachmeier
62a6ef00da
fix: [DetailsV2] flaky time relevant test ( #6753 )
...
fix flaky time relevant test
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-12 10:51:11 -07:00
Tina
3a739476ca
fix: Catch routing-api v2 no liquidity error case ( #6742 )
...
catch URA no liquidity case
2023-06-12 12:25:24 -04:00
Tina
04e4335cc2
feat: Use routing-api or URA for price fetches behind feature flag ( #6740 )
...
use routing-api or URA for price fetches behind feature flag
2023-06-09 15:07:53 -04:00
Zach Pomerantz
4235b57cd8
build: make codecov reports consistent/not confusing ( #6734 )
...
* build: codecov config
* build: better codecov
* build: omit default
* build: sensical codecov
* build: upload-artifact
* build: customize codecov comment
* build: try again
* build: try again
* build: turn off status except flags
* build: flag comments
* build: changes on
* build: simplify
* build: after_n for comment
2023-06-09 11:00:27 -07:00
Charles Bachmeier
cb362f1b2c
fix: Handle scientific notation for NFT Details pricing ( #6707 )
...
* fix: Handle scientific notation for NFT Details pricing
* add test case
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-09 09:10:40 -07:00
Jack Short
a4d61d8eaa
fix: insufficient liquidity state flashes ( #6733 )
2023-06-09 12:10:13 -04:00
Jack Short
310623b948
fix: language updating in search bar ( #6720 )
2023-06-09 11:56:20 -04:00
Shubham Rasal
b7303fb9c0
style: navbar ui updated ( #6627 )
...
* ui: navbar ui updated
* added margin right
* moved style to higher component
2023-06-09 08:52:52 -07:00
Jack Short
4fbb8e9117
chore: removing error state for rejecting chain switch ( #6713 )
...
* chore: removing error state for rejecting chain switch
* removing connection error state
2023-06-09 11:45:35 -04:00
Zach Pomerantz
f0502bfc33
build: rm old release workflow ( #6731 )
2023-06-08 14:52:24 -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
Jordan Frankfurt
08b8bdd769
chore: update @web3-react/walletconnect-v2 ( #6724 )
2023-06-08 14:20:14 -05:00
Jordan Frankfurt
1283199d0d
fix: remove mainnet from optional chains list ( #6725 )
...
* fix: remove mainnet from optional chains list
* simplify imports
2023-06-08 14:09:41 -05:00
Jack Short
c1fff5ea49
fix: time interval axis overlap ( #6717 )
2023-06-08 13:26:25 -04:00
cartcrom
94adc449a1
refactor: convert getConnection to non-hook ( #6714 )
...
* refactor: convert getConnection to non-hook
* fix: remove getConnection from hook dependecies
* fix: unecessary optional
2023-06-08 13:06:46 -04:00
eddie
4b24e5f754
fix: remove step indicators in sucess state ( #6716 )
2023-06-08 09:14:39 -07:00
eddie
e0a531e538
fix: type error in cypress infra ( #6700 )
2023-06-07 18:16:57 -07:00
eddie
8cef1ca0f7
fix: bottom padding on swap modal ( #6715 )
...
<!-- Your PR title must follow conventional commits: https://github.com/Uniswap/interface#pr-title -->
## Description
<!-- Summary of change, including motivation and context. -->
<!-- Use verb-driven language: "Fixes XYZ" instead of "This change fixes XYZ" -->
<!-- Delete inapplicable lines: -->
_Linear ticket:_ https://linear.app/uniswap/issue/WEB-2151/permit2-fix-dialog-window-height
<!-- Delete this section if your change does not affect UI. -->
## Screen capture
### Before
| Mobile | Desktop |
| ------------ | ------------ |
| paste_before | <img width="516" alt="image" src="https://github.com/Uniswap/interface/assets/66155195/4b7320c3-9bd3-4c5c-8d28-341a5ae7fa4f "> |
### After
| Mobile | Desktop |
| ------------ | ----------- |
| paste_after | ![image](https://github.com/Uniswap/interface/assets/66155195/8b112a05-39d5-4a01-b412-47a7d74d040f ) |
2023-06-07 18:09:20 -07:00
Zach Pomerantz
088f1d9ae4
test(e2e): use aliases for permit2 test ( #6656 )
...
* 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 merge
* fix only
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-07 17:55:27 -07:00