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
Jordan Frankfurt
5bec0b78da
fix: update copy per Fred's input ( #6787 )
2023-06-16 12:46:59 -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
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
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
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
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
Nate Wienert
48b4a533c3
feat: disconnect button has confirmation step with animated width transition to show confirm text ( #6668 )
...
* feat: changes disconnect button to a two-step animated button with confirmation
* fix: use ConfirmSwapModal in expert mode (#6673 )
Fixes the swap flow for users who are still in expert mode and need permit2 approvals for a token
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
2023-06-07 09:37:32 -10:00
Zach Pomerantz
0b66fde26c
fix: only remove expired transactions from updater ( #6625 )
...
* 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
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-07 09:29:23 -07:00
Jordan Frankfurt
5788385951
feat(wallet-connect): add support for v2 ( #6582 )
...
* feat(wallet-connect): add support for v2
* use theme button to fix opacity issue
* fix lint
* add new web3-react v2 package
* add mainnet to chains list
* fix test
* yarn dedupe
* add new @walletconnect/ethereum-provider
* fix safari padding
* fix second-click flash on popover toggle
* add walletconnect theme
* add goerli to non-prod chain selector
* remove: debug
* remove vertical line
* WEB-2107 Fix modal close behavior
* remove logging
* clean up accountDrawerOpenAtom usage
* remove irrelevant comments
* remove unintentional whitespace diff
* yarn yarn-deduplicate --strategy=highest
* add conditional chain selector
* update wc package version
* goerli -> sepolia
* goerli -> sepolia
* yarn yarn-deduplicate --strategy=highest
* UNIWALLET -> UNISWAP_WALLET
* useWalletSupportsChain -> useWalletSupportedChains
* use TOGGLE_SIZE
* remove inline styles
* remove inline styles and use better alt text
* update Option.test
* use a named function for forwardRef arg
* fix types
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-06-07 11:11:08 -05:00
Brendan Wong
0891e67528
fix: token bridge pointer bug ( #6670 )
...
* fix: token bridge pointer bug
* fix: use zIndex enum instead of hardcoded
2023-06-07 10:18:48 -04:00
Brendan Wong
b319acd9c4
fix: info labels for extended list tokens ( #6678 )
...
* fix: info labels for extended list tokens
* test: update warning tests for new changes
* fix: function for label and padding
* fix: use warning check function
* fix: update displayWarningLabel
2023-06-07 10:15:36 -04:00
Brendan Wong
05977f950b
fix: updated celo logo ( #6676 )
...
* fix: updated celo logo
* fix: use celo logo from local fs
* fix: removed outdated comments
* fix: combine if statements in celo check
* fix: fix lint
2023-06-07 10:15:06 -04:00
Nate Wienert
5ac36d4156
feat: add link to download the uniswap wallet to the homepage ( #6690 )
...
* feat: add link to download the uniswap wallet to the homepage
2023-06-06 14:17:42 -10:00
clrdo
fb998706c2
fix: swaps with native currency destination in BNB Chain ( #6705 )
...
fix: swaps with native currency destination in BNB Chain
Co-authored-by: clrdo <clrdo@github.com>
2023-06-06 16:48:36 -05:00
eddie
c45492c890
feat: log swap errors to sentry ( #6698 )
...
* feat: log swap errors to sentry
* fix: dont stringify
2023-06-06 13:31:46 -07:00
eddie
41219b435f
feat: update content in permit2 flow ( #6699 )
2023-06-06 13:30:06 -07:00
eddie
e1321843de
fix: disable settings button when contextual chainId !== connectedChainId ( #6696 )
...
* fix: disable settings button when contextual chainId !== connectedChainId
* fix: re-enable TDP tests (#6708 )
2023-06-06 13:28:21 -07:00
Zach Pomerantz
f2af46037e
test(e2e): wallet connection ( #6661 )
2023-06-06 08:57:04 -07:00
Zach Pomerantz
20a06c9b5a
test: skip SwapDetailsDropdown tests ( #6652 )
...
* test: skip SwapDetailsDropdown tests
Tests depend on network requests, which may cause flakiness.
These tests should have the network requests mocked, then be re-enabled.
* add TODO
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
2023-06-05 22:03:05 -07:00
Jordan Frankfurt
1cdddd1321
chore: add better documentation to a complicated hook ( #6689 )
...
* chore: add better documentation to a complicated hook
* input from eddie
* Update src/hooks/useUnmountingAnimation.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* remove jsdoc types
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-05 20:34:34 -05:00
Brendan Wong
f834af69fe
fix: Trust wallet loading state ( #6694 )
2023-06-05 16:25:30 -04:00
Jordan Frankfurt
08cd4bec41
fix: add '-' instead of '$0.00' when the api does not return a price for a tokens page entry ( #6691 )
...
* fix: show '-' instead of .00 when we don't have price data on a token
* explicitly handle the 0 case
* add tests to token row component
2023-06-05 14:56:49 -05:00
cartcrom
63ac64f470
fix: use coned function for chart prices ( #6693 )
2023-06-05 15:40:03 -04:00
Jordan Frankfurt
c07359362f
feat: dismiss the landing page when the account drawer is opened ( #6633 )
...
* feat: dismiss the landing page when the account drawer is opened
* remove the gradient before the page transition
* pr feedback
* clean up darkmode handling
* pr feedback from design
* update link test
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-06-05 11:37:18 -05:00
cartcrom
ed58c39bdc
feat: parse moonpay purchases ( #6677 )
...
* feat: parse moonpay purchases
* fix: update comment
* fix: use new coned function
* refactor: simplify nested if statements
2023-06-02 16:46:57 -04:00
Nate Wienert
5d2254be27
fix: searchbar showing incorrect spacing at medium size ( #6637 )
...
* fix: searchbar showing incorrect spacing at medium size
* refactor: remove media query navSearchInputVisible into hook only useNavSearchInputVisible
* fix: disable slight blur showing incorrectly when 1100px to lg breakpoint width
* build: use repository slack secret (#6639 )
* feat: add animation to Settings menu (#6617 )
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
* chore: finish
* chore: remove snapshot
* feat: add test matcher
* cleanup
* chore: add animation test
* add comment
* update comment
* fix: no-undefined-or in object field types (#6640 )
* feat: show affordance in swap UI when we can't fetch usd quote (#6622 )
* initial commit:
* add todo to linear
* fix: increase useBestTrade debounce time (#6631 )
* fix: increase useBestTrade debounce time
* reduce
* increase
* 350
* fix
* build: caching i18n extractor (#6619 )
* fix: do not attempt to cache i18n:extract
* fix: i18n extraction
* docs: improve comments
* fix: remove app advert on mobile safari (#6630 )
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
* fix: include sw metric with web vitals (#6646 )
* build: add vscode settings for default formatter (#6644 )
build: add vscode settings for default formatter to be dbaeumer.vscode-eslint
* test(e2e): improve hardhat configuration (#6650 )
build: cache hardhat cache
* feat: permit2 flow updates (#6538 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: nits
* fix: address comments
* feat: permit2 e2e tests (#6541 )
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* chore: merge
* fix: update tests for new modal
* fix: testid fix
* fix: test updates
* fix: reduce nesting
* test: remove line from test for debugging
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
* test: permit2 flow component tests (#6551 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
* feat: add l2 chain logo to modal (#6575 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
* feat: swap rejection error handling (#6576 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: reorganize test code
* feat: update content in Swap Submission Modal (#6577 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: update content in test
* fix: reorganize test code
* feat: permit2 animations WEB-2036 (#6590 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* feat: fix help center link (#6621 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* fix: design nits on summary view (#6623 )
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: design nits on summary view
* fix: update test
* fix: update snapshots
* fix: update e2e test
* fix: etherscan link
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: test
* fix: reorganize test code
* fix: sentence case in one more test
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: update copy
* fix: update strings in test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* fix: padding on l2 badge
* fix: lint
* feat: log swap button click (#6654 )
* build: disable scheduled releases (#6651 )
* feat: [DetailsV2] Add Activity Chart Time Period Switcher (#6653 )
* add endButton and new TimePeriodSwitcher component
* add snapshot testing
* add test file
* remove switcher from TabbedComponent
* update snapshots
* update describe
* update padding
* extra return
* as const notation
* update snapshots
* no more abs positioning
* cleanup tests and add dropdown test
* add divider line to tabbed component
* update design to match new specs
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* fix: reduce ETH amount on mainnet useUSDPrice request to 50 (#6642 )
* feat: page wallet connect txn completed (#6655 )
* feat: add page to wallet_connect_txn_completed event
* feat: unit test
* fix: test
* chore: cleaning up buy button states (#6618 )
* fix: typecheck error in bagfooter (#6669 )
* feat: increased debounce swap quote rate (#6666 )
* feat: increased debounce swap quote time
* fix
* add basic test for initial useScreenSize
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
2023-06-02 09:40:04 -10:00
Tina
83f4b53f55
feat: Add Circle native Arbitrum USDC to common base tokens in token selector ( #6680 )
...
* add feature flag for usdc arbitrum
* add to feature flag modal
2023-06-02 14:05:41 -04:00
Brendan Wong
4b5e2f7f16
fix: polygon bridge link leading to error page ( #6664 )
...
* fix: polygon bridge link leading to error page
* fix: fix polygon bridge to send directly to POS bridge
2023-06-02 10:03:50 -07:00
Tina
a03231d356
fix: Bug with flipping ura feature flag on/off in dev mode ( #6686 )
...
fix bug
2023-06-02 12:12:06 -04:00
Jack Short
72936322b3
feat: adding price impact modal ( #6681 )
2023-06-02 11:01:28 -04:00
Charles Bachmeier
1bc6eb9a23
feat: Add support for Sepolia ( #6610 )
...
* initial sepolia const setup
* uni sepolia
* add more consts for sepolia
* better comment
* upgrade ur sdk
* need to request BE add Ethereum sepolia to supported chains
* update weth address
* remove sepolia from defaults
* add tick lens addr
* add multicall && quoter
* use weth9 checksum
* successful wrap
* use supportedChainId over magic num
* upgrade default-token-list && deduplicate
* cleanup
* use checksum for usdc
* upgrade SOR
* placeholder setProperty
* comment cleanup
* add to anonymizeLink
* bump core-sdk
* deduplicate
* update infura fork block
* add comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-01 17:57:03 -07:00
Tina
8954aa792a
feat: Use routing-api v2 behind feature flag ( #6594 )
...
* add unified-routing-api slice
* rename legacy -> legacyAPI
* deduplicate client params and ura params
* move shared functions into utils and rename comments for unified routing API
* use feature flag
* remove eslint ignore since the function is now being used
* add typing to args
* rename ura -> routing-api v2
* update trace name and comment
* rename variables
* lint
2023-06-01 16:52:03 -04:00
eddie
379437b720
fix: remove all references to expert mode ( #6675 )
2023-06-01 12:04:16 -07:00
Nate Wienert
02c0dee089
feat: hide logo on swap currency selector modal (and other areas that use CurrencyLogo) for unsupported currencies ( #6659 )
2023-06-01 08:00:02 -10:00
eddie
c55e1af101
fix: reset confirm trade modal state when chain switches ( #6667 )
...
<!-- 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" -->
Resets the swap component's local state when the chain changes, to fix Confirmation Modal behavior
<!-- Delete inapplicable lines: -->
_Linear ticket:_ https://linear.app/uniswap/issue/WEB-2161/wonky-swap-modal-behavior-after-switching-chains
_Slack thread:_ https://uniswapteam.slack.com/archives/C047U65H422/p1685467094162069?thread_ts=1685459249.400839&cid=C047U65H422
<!-- Delete this section if your change does not affect UI. -->
## Screen capture
### Before
https://github.com/Uniswap/interface/assets/66155195/115e243a-858b-490d-be9e-269174cc7561
### After
https://github.com/Uniswap/interface/assets/66155195/a47b3606-08ac-490f-abc8-01acf2423efb
## Test plan
<!-- Delete this section if your change is not a bug fix. -->
### Reproducing the error
<!-- Include steps to reproduce the bug. -->
1. swap on a l2
2. via the metamask extension (or in whatever wallet), trigger a chain-change event (e.g. from optimism to mainnet)
a. this does not repro if you change chains from within the app selector.
4. fill in the input details for a new trade (ideally with different tokens so you can notice the bug easily)
5. see that the Confirm Swap modal opens automatically when it shouldn't, and it has the wrong trade details
### QA (ie manual testing)
<!-- Include steps to test the change, ensuring no regression. -->
- [x] same steps as above, ensuring the modal behaves correctly
#### Devices
<!-- If applicable, include different devices and screen sizes that may be affected, and how you've tested them. -->
### Automated testing
<!-- If N/A, check and note so it is obvious to your reviewers and does not show up as an incomplete task. -->
<!-- eg - [x] Unit test N/A -->
- [ ] Unit test
- [ ] Integration/E2E test
2023-06-01 10:02:37 -07:00
eddie
87cbd1ab38
fix: use ConfirmSwapModal in expert mode ( #6673 )
...
Fixes the swap flow for users who are still in expert mode and need permit2 approvals for a token
### test plan
added e2e test for full permit2 flow with expert mode enabled.
failing test without the change:
<img width="1394" alt="Screenshot 2023-05-31 at 2 24 12 PM" src="https://github.com/Uniswap/interface/assets/66155195/6a39e039-31b5-4bce-91d2-5e3ebc777378 ">
passing test with change in the CI of this PR
2023-05-31 14:52:04 -07:00
eddie
1090e97bb5
fix: update snapshots ( #6672 )
2023-05-31 16:37:45 -05:00
Nate Wienert
921c6b105f
fix: prevent searchbar from overflowing the bottom of the window viewport (WEB-2099) ( #6645 )
...
fix: prevent searchbar from overflowing the bottom of the window viewport, add scrolling support for inner contents
2023-05-31 10:03:02 -10:00
Vignesh Mohankumar
bc08e9263d
feat: increased debounce swap quote rate ( #6666 )
...
* feat: increased debounce swap quote time
* fix
2023-05-31 15:46:59 -04:00
Jack Short
8c8300a5de
fix: typecheck error in bagfooter ( #6669 )
2023-05-31 13:50:22 -04:00
Jack Short
3f169adcf2
chore: cleaning up buy button states ( #6618 )
2023-05-31 11:34:49 -04:00
eddie
774368f325
feat: page wallet connect txn completed ( #6655 )
...
* feat: add page to wallet_connect_txn_completed event
* feat: unit test
* fix: test
2023-05-30 11:10:16 -07:00
Vignesh Mohankumar
f83f15d37a
fix: reduce ETH amount on mainnet useUSDPrice request to 50 ( #6642 )
2023-05-30 12:30:16 -04:00
Charles Bachmeier
d9f1402576
feat: [DetailsV2] Add Activity Chart Time Period Switcher ( #6653 )
...
* add endButton and new TimePeriodSwitcher component
* add snapshot testing
* add test file
* remove switcher from TabbedComponent
* update snapshots
* update describe
* update padding
* extra return
* as const notation
* update snapshots
* no more abs positioning
* cleanup tests and add dropdown test
* add divider line to tabbed component
* update design to match new specs
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-26 16:06:36 -07:00
eddie
b57a5d7ddb
feat: log swap button click ( #6654 )
2023-05-26 10:13:28 -07:00
eddie
e2dd78fd0e
fix: design nits on summary view ( #6623 )
...
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: design nits on summary view
* fix: update test
* fix: update snapshots
* fix: update e2e test
* fix: etherscan link
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: test
* fix: reorganize test code
* fix: sentence case in one more test
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: update copy
* fix: update strings in test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* fix: padding on l2 badge
* fix: lint
2023-05-25 15:57:13 -07:00
eddie
96d6e00ed6
feat: fix help center link ( #6621 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
2023-05-25 15:40:42 -07:00
eddie
dd29c59238
feat: permit2 animations WEB-2036 ( #6590 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
2023-05-25 15:25:07 -07:00
eddie
8c2a0f1905
feat: update content in Swap Submission Modal ( #6577 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: update content in test
* fix: reorganize test code
2023-05-25 14:57:04 -07:00
eddie
682fba219d
feat: swap rejection error handling ( #6576 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: reorganize test code
2023-05-25 14:56:37 -07:00
eddie
0f5e871054
feat: add l2 chain logo to modal ( #6575 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
2023-05-25 14:14:35 -07:00
eddie
07527bab26
test: permit2 flow component tests ( #6551 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
2023-05-25 14:13:55 -07:00
eddie
7934777fa2
feat: permit2 flow updates ( #6538 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: nits
* fix: address comments
* feat: permit2 e2e tests (#6541 )
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* chore: merge
* fix: update tests for new modal
* fix: testid fix
* fix: test updates
* fix: reduce nesting
* test: remove line from test for debugging
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
2023-05-25 13:49:27 -07:00
Zach Pomerantz
4446eb9b84
fix: include sw metric with web vitals ( #6646 )
2023-05-25 10:12:20 -07:00
Jordan Frankfurt
d23b6e5da6
fix: remove app advert on mobile safari ( #6630 )
...
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-05-25 10:36:57 -05:00
Vignesh Mohankumar
e4a9764a12
fix: increase useBestTrade debounce time ( #6631 )
...
* fix: increase useBestTrade debounce time
* reduce
* increase
* 350
* fix
2023-05-24 14:44:18 -04:00
Mike Grabowski
303fa15240
feat: show affordance in swap UI when we can't fetch usd quote ( #6622 )
...
* initial commit:
* add todo to linear
2023-05-24 22:32:53 +04:00
eddie
d180aef306
fix: no-undefined-or in object field types ( #6640 )
2023-05-24 11:31:40 -07:00
Mike Grabowski
c07c401189
feat: add animation to Settings menu ( #6617 )
...
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
* chore: finish
* chore: remove snapshot
* feat: add test matcher
* cleanup
* chore: add animation test
* add comment
* update comment
2023-05-24 22:02:59 +04:00
github-actions[bot]
1dcafd2f2d
chore(i18n): new Crowdin translations ( #6215 )
...
* chore(i18n): synchronize translations from crowdin [skip ci]
* chore: trigger actions
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-23 14:39:58 -07:00
Jack Short
e398e8b950
fix: allow unsupported chain in pwat ( #6629 )
...
chore: allow unsupported chain in pwat
2023-05-23 13:36:28 -04:00
Tina
6424fdfbcd
fix: Simplify event logging for SWAP_QUOTE_RECEIVED ( #6628 )
...
* simplify event logging
* remove unused function parameter
2023-05-23 11:06:18 -04:00
eddie
95814e3271
fix: prevent race condition for swap state ( #6624 )
2023-05-22 15:57:17 -07:00
Jack Short
caa2524e27
feat: [DetailsV2] instant buy ( #6599 )
...
* initial impl
* removing isopen change
* stopping refetching
* shared button
* pending animiation
* updating shared
* updating snapshots
* adding disabled state
* isLoading in hook
* pulling out ternary
* removing fragment
* separate file for offer button
* fixing price diff check
* remove unnecessary export
* changing name to useBuyAssetCallback
2023-05-22 18:28:48 -04:00
cartcrom
f3a80c6272
feat: special case arb search ( #6584 )
...
* feat: special case arb search
* fix: check both current and existing token
2023-05-22 12:40:46 -04:00
Vignesh Mohankumar
fbc55db937
chore: remove chunkResponseStatus tag ( #6586 )
...
* chore: remove chunkResponseStatus tag
* lint
2023-05-21 17:25:58 -04:00
Jordan Frankfurt
835c62acfa
fix: use ephemeral props for styled component ( #6607 )
...
* fix: use ephemeral props for styled component
* add
2023-05-20 16:55:37 -05:00
Tina
41113e6e41
fix: Use client side router only for price fetching ( #6604 )
...
use client side router only for price fetching
2023-05-19 13:35:29 -04:00
Mike Grabowski
58b25d29a9
feat: expand settings by default when custom values are set ( #6603 )
...
feat: expand by default
2023-05-19 21:35:02 +04:00
Mike Grabowski
b62f9066a7
fix: add price impact back ( #6581 )
...
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
2023-05-19 09:24:06 +04:00
Zach Pomerantz
77d46c361a
test(e2e): de-flake wrap ( #6589 )
...
* test(e2e): mv swap to dir
* test(e2e): split swap/wrap/errors
* test(e2e): de-flake wrap
2023-05-18 13:47:15 -07:00
Charles Bachmeier
4fb48bdd1f
fix: only request 1 listing on NFTDetails page ( #6602 )
...
only request 1 listing
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-18 13:35:01 -07:00
cartcrom
cf2b6bf568
fix: portfolio balances after switching accounts ( #6527 )
...
* fix: handle portfolio staleness upon account change
* fix: only consider current account for tx updates
* test: add e2e test for account switching
* fix: remove unnused data-testid
* fix: added todo comment
* refactor: move test into existing folder
* fix: add account to dependency array
* todo: tx reducer
* test: update cypress config to pass in env variables
* fix: undo unintended change
* fix: use process.env
* fix: use regex instead of env
2023-05-18 16:32:35 -04:00
eddie
03095f4e48
feat: add feature flag for URA ( #6593 )
2023-05-18 10:14:18 -07:00
Charles Bachmeier
ef6d1f20ed
feat: [DetailsV2] Show data page header when nft scrolled out of view ( #6585 )
...
* show data page header when nft scrolled out of view
* add new snapshot test
* useRef for observer
* add comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-18 09:41:04 -07:00
Zach Pomerantz
146c5f29cf
feat: only pre-cache the document ( #6580 )
...
* test(e2e): de-flake service-worker
* feat: rm stale cache storage
* fix: put not del
* fix: staging and test
* test: include staging
* fix: log
* test: rm console.log
* fix: unregister before
* test: deflake by restoring state afterwards
2023-05-17 12:10:28 -07:00
cartcrom
15f8d34320
fix: update nonce deduplication logic ( #6588 )
...
* fix: update nonce-deduplication logic
* lint
2023-05-16 21:28:19 -04:00
eddie
504e09d3dc
feat: new review design ( #6451 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* fix: modal flicker when refetching trade
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
2023-05-16 15:15:30 -07:00
Vignesh Mohankumar
1f755e8b0d
feat: add retry logic for dynamic imports ( #6512 )
...
* feat: add retry logic for lazy import
* try again
* add tests
* refactor: moves retry helper to subfolder
* missing-files
* fix
* doc comment
* tsdoc
* fake timers
* fix
* add eslint rule
* try again?
* try again?
* only dynamic
* try again
* try again
* IT WORKS
* add retry
* fix
* add test
* warn -> error
* lint
* lint
* lint
* add back cache
* rm test
* try again
* real timers but really short intervals
* try returning the promise?
* try returning the promise?
* try this package
* retry
* Update src/utils/retry.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update rules/enforce-retry-on-import.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update rules/enforce-retry-on-import.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* eslint_rules
* test fixes
* name
* fix
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-16 16:53:22 -04:00
Vignesh Mohankumar
f45a7f921b
fix: handle switchChain failure in swap ( #6507 )
...
* fix: handle switchChain failure in swap
* comment
* fix
2023-05-16 16:47:13 -04:00
Vignesh Mohankumar
29db61ff90
fix: filter error caused by missing meta tags ( #6546 )
...
* fix: filter error caused by missing meta tags
* fix
2023-05-16 16:40:25 -04:00
Tina
8431ad9161
chore: Refactor swap request flow ( #6499 )
...
* Refactor swap quote flow with widget logic
* remove console logging
* add ignore path for serialization check and pass in native currencies for client side routing
* apply stashed changes
* revert node version change
* remove TODO comment because maybe no longer relevant
* update unit tests
* wip: add snapshot test
* add snapshot test for gas estimate badge
* address PR comments: rename variables, fix client side router initialization
* update Trade type
* add TODO comment about isExactInput util
* change | undefined convention to ?
* PR comments
* update type
* remove client side initialization logic and replace with TODO
* use routing-api for price fetching trades too
* remove QuoteType.Initialized
2023-05-16 16:33:46 -04:00
Vignesh Mohankumar
fd1aded517
fix: remove trailing slash from request url ( #6542 )
...
* fix: remove trailing slash from request url
* moves cast
* {}
2023-05-16 12:36:24 -04:00
Vignesh Mohankumar
27ad7cbd41
test: move all tests to beforeSend ( #6513 )
...
* beforeSend tests
* fix
* refactor: filterKnownErrors -> shouldRejectError (#6547 )
* refactor: filterKnownErrors -> shouldRejectError
* no unknown
* comments
2023-05-16 12:36:17 -04:00
Joshua DeCristi
01e5de436a
fix: "Minimum output" should be "Maximum output" when trade is Exact Output ( #6565 )
...
* fix: minimum output should be showing maximum input when trade type is exact output
* fix: test for minimum output should be showing maximum input when trade type is exact output
---------
Co-authored-by: Josh DeCristi <joshdecristi@Joshs-MacBook-Pro.local>
2023-05-16 12:07:39 -04:00
Charles Bachmeier
fd5aa1b51e
fix: use padding component ( #6579 )
...
* fix: rm unused const
* use component
* update snapshot
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-16 08:56:51 -07:00
Mike Grabowski
a6e1a7e6d9
feat: add slippage warning to MenuButton ( #6548 )
...
* feat: initial commit
* chore: add unit tests
* chore: move menubutton to sep. component
* chore: simplify styles and add real focused state
* chore: fix tests + some other tweaks
* chore: rename
* test: add snapshot tests
* tweaks
2023-05-16 11:41:14 +04:00
Jack Short
629fe2c144
feat: [DetailsV2] trait bubbles ( #6552 )
2023-05-15 19:17:45 -04:00
Vignesh Mohankumar
d73763ce75
refactor: imports shared polyfills in setupTests ( #6571 )
2023-05-15 17:11:28 -04:00
Zach Pomerantz
fe6df38997
build: upgrade to webpack5 with polyfilled Buffer ( #6568 )
...
* fix: Revert "fix: Revert "build: upgrade to webpack 5 (#6459 )" (#6566 )"
This reverts commit 5e591455b38c9618c750a23bc2a63cdcc30dba57.
* build: polyfill Buffer
* docs: fix comment negation
2023-05-15 14:07:05 -07:00
Charles Bachmeier
75bdf9a8d4
feat: [DetailsV2] Add left padding to trait rows and headers ( #6534 )
...
* feat: [DetailsV2] Add left padding to trait rows
* update snapshot
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-15 10:40:38 -07:00
Tina
efbe3994bb
fix: catch RouterPreference.AUTO case for routing-api usage ( #6572 )
...
catch AUTO case for routing-api
2023-05-15 13:38:59 -04:00
Vignesh Mohankumar
93fe8e4349
fix: polyfill ResizeObserver ( #6553 )
...
* polyfill
* lint
* polyfill test
* dedupe
2023-05-15 12:39:31 -04:00
Charles Bachmeier
42e3af7b5c
feat: [DetailsV2] Offer and Listing Tables ( #6515 )
...
* added home icon, basic content container with scroll behaviour
* add more struct
* add timeUntil util, add main structure of generic component, basic mock data
* propagate asset
* actual fake data
* working scroll
* proper alignment
* 1155 quantity
* small window sizes
* more action buttons
* cleanup
* update snapshot
* add tests
* add new test files
* add outline and hide usd price for certain screen sizes
* use sell order data
* update tests
* fetch multiple listings
* better price width on select screens
* mobile icon for approve
* bottom padding on mobile
* update snapshot
* use test objs in tests
* update query
* add border between rows
* update page padding
* breakpoint overlap
* simplified sellOrder check
* external link
* upstream button and better mobile padding
* add file and update tests
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-15 09:14:09 -07:00
Vignesh Mohankumar
57274a800d
fix: don't console.error for WalletConnect modal close ( #6559 )
2023-05-15 12:13:34 -04:00
Tina
5e591455b3
fix: Revert "build: upgrade to webpack 5 ( #6459 )" ( #6566 )
...
Revert "build: upgrade to webpack 5 (#6459 )"
This reverts commit ec547ab100f793d127246186d5fd60786758a862.
2023-05-15 09:48:27 -04:00
Zach Pomerantz
ec547ab100
build: upgrade to webpack 5 ( #6459 )
...
* fix: import default from json
* fix: fallback to path-browserify
* build: upgrade to webpack5
* test: update size-tests to reflect single entry
* test: increase service-worker timeout
* docs: improve comments
* build: rm MiniCssExtract workaround
* docs: even better comments
* test: back out longer test
* build: vendor chunk
* test: increase sw timeout
* fix: justified splitChunks config
* better explanation
* fix: longer timeout
* fix: caching
* merge and rm duplication
* build
2023-05-12 12:55:01 -07:00
Charles Bachmeier
9de76c69ae
feat: [DetailsV2] Data Page Header ( #6549 )
...
* hide header on mobile
* add buy and offer buttons, thumbnail, text
* handle no sell orders and add tests
* rehide on mobile
* breakpoint optimizations
* design feedback
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-12 14:48:26 -04:00
Charles Bachmeier
85d1b90197
feat: [DetailsV2] Mobile support for traits ( #6535 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-12 13:39:31 -04:00
Vignesh Mohankumar
3726b6bb47
fix: remove top-level Fragment ( #6540 )
2023-05-12 11:19:52 -04:00
Vignesh Mohankumar
bfde34c774
refactor: moves retry helper to subfolder ( #6531 )
2023-05-12 11:08:14 -04:00
Tina
bd8113d018
chore: Goodbye widget :( ( #6543 )
...
* goodbye widget :(
* remove unused function
* modify trace tests
* fix lint
* is github down?
2023-05-12 11:05:22 -04:00
Vignesh Mohankumar
4fc4bdcd55
fix: propagates user rejection errors ( #6533 )
2023-05-11 19:40:02 -04:00
Tina
7a042a5199
chore: Replace widget skeleton with internal swap skeleton ( #6524 )
...
* replace widget skeleton with internal version
* remove unuecessary div wrappers
* add snapshot test
* forgot to commit this file earlier
* remove exports
* revert(e2e): waitForAnimations
* convert values to px, refactor a bit to use flex gap instead of padding
* remove unnecessary props
* update snapshot test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-11 16:58:35 -04:00
Jordan Frankfurt
6d5e17a6e7
fix: deduplicate remote and local tx lists ( #6438 )
...
* fix: deduplicate remote and local tx lists
* add nonce to local transactions
* removes local transactions that have nonces that are duplicates of remote transactions
* add e2e test
* lint fix
* fix types in test
* use supported chain id for reducer tests
* use getReceipt to remove outdated transactions via existing polling setup
* pr nits from cmcewen
* fix lint
* fix test
2023-05-11 13:16:18 -05:00
Jack Short
8301c5892c
chore: removing token type check from routing ( #6536 )
2023-05-11 13:37:28 -04:00
Vignesh Mohankumar
59b757dda0
fix: disables CMC list temporarily ( #6532 )
...
* fix: disables CMC list temporarily
* -
2023-05-10 20:32:43 -04:00
Jack Short
92a6ec67b3
feat: [DetailsV2] different media types on landing page ( #6492 )
...
* initial layout assuming media type exists
* fixing embeds
* media type function
* updated snapshot test
* initial shadow impl
* better shadows
* audio player controls
* updating tests
* content not available handlers
* errors on all media types
* removing fullscreen from iframe
* adding snapshot tests
* responding to comments
* text align center
* updating tests
2023-05-10 13:10:25 -04:00
Jack Short
01aa3291b3
chore: bubbling up pwat spender from route query ( #6481 )
...
* chore: bubbling up pwat spender from route query
* refactoring
* adding loading state
* moving to loading allowance
* responding to comments
* linting
2023-05-10 12:45:58 -04:00
Vignesh Mohankumar
e6adddbf55
refactor: return onDemandEntries instead of mediaURLs ( #6514 )
...
* refactor: return onDemandEntries instead of mediaURLs
* lint
* fix test
2023-05-10 11:46:28 -04:00
Mike Grabowski
0050b1e165
feat: new routing diagram ( #6510 )
...
* chore: initial commit
* chore: add todo to refactor and simplify if conditional in the future
* chore: update layout
* chore: ui tweaks
* chore: add todo
* chore: change todo
* chore: update UI
* chore: tmp
* feat: rename router preference
* chore: update type
* fix error
* fix one more issue
* finish UI work
* chore: remove unecessary components
* chore: update non-snapshot unit tests
* chore: fix lint
* chore: fix ts
* chore: one more time
* fix
* chore: update snapshots
* chore: add jira tickets
* chore: fix mobile popovers
* chore: add analytics event
* chore: fix padding and send event
* chore: fix loading state
* oops
* chore: address review
* chore: comment
* chore
2023-05-10 19:06:12 +04:00
lavalamp
0db9e51e41
ci: Staging deploy GH action definition ( #6455 )
...
* Staging deploy GH action definition
* Remove workflow_dispatch
* Update src/utils/env.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Restrict sentry reporting to staging environment
* Rename and change environment
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-10 08:28:59 -04:00
Vignesh Mohankumar
82e7925a17
fix: properly filter AbortErrors ( #6519 )
...
* fix: properly filter AbortErrors
* lol
2023-05-09 19:04:41 -04:00
Vignesh Mohankumar
2f80646ddd
fix: add chunkResponseStatus tag ( #6509 )
...
* fix: add chunkResponseStatus tag
* add-tests
* fix tests
* tests
* description
* comments
* comment
* move
* comment
* lint
2023-05-09 17:44:58 -04:00
matteen
709a70652f
feat: add tokenlist validation ( #6504 )
...
* feat: add tokenlist validation
* use alternative for spread operator
* maintain tokenlists version and use original ajv version
* bump ajv
* Revert "bump ajv"
This reverts commit b9d2dd61c61f4aeedc00faf034c5a6e89b0d28fc.
* rename vars in validator
* update gitignore
* nit fixes
* test
* add ^ back
* remove ^
* removed and readded ajv
* try require.resolve
* Revert "try require.resolve"
This reverts commit 62f58bcb7f02f1ead430a4c94ca3428a60d4d4c5.
* bump eslint-config
* yarn lock merge conflict
* bring back spread operator
* remove redundant lint ignore
2023-05-09 16:34:15 -04:00
Jack Short
5a7a041f12
feat: [DetailsV2] background for nft details ( #6496 )
...
* feat: background for nft details
* fixing top spacing
* adding new states for zindex
2023-05-09 16:08:28 -04:00
cartcrom
b60d98fc17
fix: loading spinner console bug ( #6518 )
...
fix: update svg path
2023-05-09 14:59:26 -04:00
Vignesh Mohankumar
4a015e9d0d
fix: ensure event.request is defined in trace ( #6498 )
...
* fix: ensure event.request is defined in trace
* add check for empty event
2023-05-09 11:44:07 -04:00
Mike Grabowski
c383a0a0a2
feat: new Settings menu for Swap ( #6480 )
...
* feat: initial commit
* remove extra check
* chore: divider fix
* feat: switch from boolean to routerPreference enum
* chore: align name
* chore: fix two errors
* chore: clean up
* chore: entire radio button clickable
* chore: remove unused toggle component
* Revert "chore: remove unused toggle component"
This reverts commit 42858a02b5bcd572682db38025b69f8b1426a8c1.
* feat: rewrite slippage
* feat: Slippage
* chore: tbd tomorrow
* Update src/state/user/reducer.ts
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
* feat: replace auto with Slippage enum
* chore: add todo for deadline
* chore: cleanup
* feat: improve autoslippage
* chore: replace price with auto
* chore: fix lint
* test: add coverage for Expand
* chore: fix tests
* chore: review feedback part 1
* chore: rework warning
* chore: add jira tickets
* feat: add tests for useUserSlippageTolerance
* chore: add some more
* chore: one more
* add tests for slippage
* chore: add unit tests for transactionsettings
* remove
* revet changes to improve coverage
* chore: update to figma caption
* chore
* chore
* chore: update wording
* Update src/components/Expand/index.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* fix: issue with new value, update confusing migration comment
* chore: remove opacity animation temporarily
* chore: update snapshot test
* chore: fix e2e + update comment
* chore: fix tests
* chore: fix tests
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-09 10:33:25 -04:00
Vignesh Mohankumar
d6e92804ad
fix: filter AbortError from Sentry ( #6497 )
2023-05-08 18:25:00 -04:00
Charles Bachmeier
ff080aa957
fix: update OS listing fee ( #6505 )
...
* update OS listing fee
* remove redundancy
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-08 10:28:01 -07:00
cartcrom
04d9ff7d71
feat: update useAllTokensMultichain usage ( #6493 )
...
* feat: updates useAllTokensMultichain to return userAddedTokens
* fix: use correct types in tests
* chore: add documentation for future removal of TokenAddressMap
* fix: use doc comments
* test: add unit test for useAllTokensMultichain
* fix: check userAddedTokens for undefined
2023-05-05 18:15:27 -04:00
cartcrom
406893d99a
test(e2e): permit2 approval ( #6488 )
...
* build: upgrade cypress-hardhat
* test: reset hardhat between tests
* test: enable auto-mining
* build: upgrade cypress-hardhat again
* test: permit2 e2e tests
* test: user approval rejection
* refactor: reuse common permit util vars to reduce # of lines
* fix: var casing
* refactor: polish
* refactor: clean up comments and function names
* refactor: remove approval util and update scoping
* fix: further nits
2023-05-05 17:52:22 -04:00
Vignesh Mohankumar
4630720956
fix: handle addEventListener being unsupported on Safari <14 ( #6426 )
...
* fix: handle addEventListener being unsupported on Safari
* conditionally call
* Revert "conditionally call"
This reverts commit b6b7d2f0170caeca3aa8bf82ea97fd16a73cba44.
* comment
* fix
* callback
* add tests
* lint
* casting
* good pr comments
* fix
2023-05-05 13:36:20 -04:00
Jordan Frankfurt
e73e1540ad
fix: errors are responsible for their own grammar ( #6490 )
2023-05-05 11:38:00 -05:00
Vignesh Mohankumar
3a82642fe6
fix: update service worker to precache css/js files ( #6486 )
...
* fix: update service worker to precache css/js files
* add test
* move to utils
* working tests
* fixes
* lint
* change names
* lint
* change return type
* fix
* fix
* changes
* lint
* rename cache
* lint
* fix comments and remove string[] case
* string |
* Update src/serviceWorker/utils.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
2023-05-04 14:29:13 -04:00
eddie
c8a8149127
fix: add amplitude page context to swap flow events ( #6489 )
2023-05-04 11:20:12 -04:00
Vignesh Mohankumar
38cde648cf
fix: add a catch on collect static call ( #6491 )
...
* fix: add a catch on collect static call
* comment
2023-05-04 11:07:01 -04:00
Charles Bachmeier
33c099119d
chore: refactor Bag to use scroll hook ( #6483 )
...
* chore: refactor Bag to use scroll hook
* remove outdated comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-03 14:19:27 -07:00
Jordan Frankfurt
40247ff7e0
test(e2e): slippage failure ( #6464 )
...
* initial draft
* remove logs
* assertions improvement
* add more comments
* add explicit call to disable automine
* test out a very long timeout
* Revert "test out a very long timeout"
This reverts commit 0fc2666d6f4cb02739d14cf2aa07f041e6046669.
* improve test reliability
* remove mock list response
* remove hardhat reset and clean up tests
* simplify assertion
* add zzmp's nits
2023-05-03 16:03:43 -05:00
eddie
30d1de8e84
fix: moonpay modal height ( #6439 )
2023-05-03 14:05:50 -04:00
Jack Short
0e5328bee9
feat: [DetailsV2] initial details landing page view ( #6453 )
...
* feat: initial view of details landing page
* gap
* dynamic font sizes
* added test
* responding to comments
* updating snapshot
* linting
2023-05-03 11:08:48 -04:00
Jordan Frankfurt
d1995bc5a6
test(e2e): deadline passed swap error state ( #6444 )
...
* chore: ignore hardhat cache files
* test: add forking hardhat config
* test: install cypress-hardhat
* build: add cypress-hardhat
* fix: lint
* build: add hardhat
* build: add @sentry/types
* fix: better origin
* test: update cypress VisitOptions to include hardhat
* fix: default to connected wallet user state
* test: add a hardhat provider
* build: update imports
* chore: comments
* fix: massage eth_sendTransaction
* feat: example swap test (#6415 )
* initial commit
* add intercept for amplitude
* fix: destructure result
* click swap submission
* fix: eth_sendTransaction via bridge
* test works
* finish chain interaction test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* swap should render an error when a transaction fails due to a passed deadline
* use mining utils to manage transaction confirmation
* update to use new hardhat syntax and make comments more clear
* test a very long timeout in CI
* Revert "test a very long timeout in CI"
This reverts commit 141c28e15c511f2338c2b5b2b60521a7cb4c1bda.
* fiddle with automine settings
* pr feedback
* cleanup
* bump cypress-hardhat
* use setAutomine
* use setAutomine
* remove .reset
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-02 23:52:07 -05:00
Jordan Frankfurt
4959836c2a
test(e2e): (un/)wrap transactions ( #6474 )
...
* chore: e2e test (un/)wrap transactions
* wrap button should not be disabled (wait for enabled state)
* use automine
* pr feedback
* configure automine
* make tests stop relying on reset
2023-05-02 23:51:17 -05:00
Charles Bachmeier
ef4a80852d
chore: update to listing with seaport 1.5 ( #6485 )
...
update to listing with seaport 1.5
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-02 18:46:12 -07:00
Vignesh Mohankumar
c2a972eb75
fix: filter chrome-extension errors ( #6475 )
...
* fix: filter chrome-extension errors in Sentry
* check stack
2023-05-02 15:43:37 -04:00
eddie
47a2768d89
chore: remove unused feature flags ( #6484 )
2023-05-02 15:28:12 -04:00
eddie
ca60caf6b0
feat: use Swap Component on TDP ( #6332 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
2023-05-02 14:39:44 -04:00
Zach Pomerantz
00ecb933ac
test(lint): separate multiline comments ( #6476 )
2023-05-02 08:26:07 -07:00
Vignesh Mohankumar
607d0d443e
fix: filter errors with OneKey in stack ( #6477 )
...
* fix: filter errors with OneKey in stack
* check stack
2023-05-01 15:32:05 -04:00
Charles Bachmeier
ff0209a78f
feat: [DetailsV2] add link and hover state to trait component ( #6472 )
...
* hide trait container when asset has no traits
* add traits header row
* trait value rows and scroll behaviour
* row with placeholder values
* add random filler values and proper scrollbar styles
* working rarity graph
* bar border radius
* move rarity graph to its own file
* always show scrim
* working scrim and move traitrow to its own file
* cleanup
* remove padding
* move scrollbar right
* add snapshot tests
* add comment about randomly generated rarities
* cleanup
* only pass traits
* justify
* not important
* cleanup scrim styles
* remove comment
* add scroll state hook
* lint
* update test
* object over map
* remove spaces
* justify content
* add ticket
* add comments
* update snapshot
* add link and hover state to trait component
* correct padding
* respond to comments
* add component and use css for vis
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-01 11:52:49 -07:00
Zach Pomerantz
924e83139b
test: keep test output clean ( #6469 )
2023-05-01 10:58:32 -07:00
Jack Short
4d5cc8267e
chore: removing pwat feature flag ( #6467 )
...
* chore: removing pwat flag
* removing it from enum
* updating test
* trade is not the same as usingPwat
2023-05-01 11:57:56 -04:00
Charles Bachmeier
6bc7cfc996
feat: [DetailsV2] Add Trait component content ( #6460 )
...
* hide trait container when asset has no traits
* add traits header row
* trait value rows and scroll behaviour
* row with placeholder values
* add random filler values and proper scrollbar styles
* working rarity graph
* bar border radius
* move rarity graph to its own file
* always show scrim
* working scrim and move traitrow to its own file
* cleanup
* remove padding
* move scrollbar right
* add snapshot tests
* add comment about randomly generated rarities
* cleanup
* only pass traits
* justify
* not important
* cleanup scrim styles
* remove comment
* add scroll state hook
* lint
* update test
* object over map
* remove spaces
* justify content
* add ticket
* add comments
* update snapshot
* correct padding
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-01 11:43:55 -04:00
Vignesh Mohankumar
97312bb174
fix: match OneKey more generically ( #6461 )
...
* fix: match OneKey more generically
* flip
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* backslashes
* fix
---------
2023-05-01 11:02:26 -04:00
cartcrom
d0a10fcf8d
refactor: activation hook w/ global state ( #6413 )
...
* feat: moved tryActivation to global hook/state
* test: activation hook
* fix: merge conflicts
* fix: update file path for render utils in activate.test.ts
* fix: add await for connector deactivation
* fix: pr comment fixes
* fix: update tests
* refactor: use stronger activation state type
* refactor: use global state instead of props in ConnectionErrorView
* fix: re-add uri availability check
* fix: lint
* fix: nits
* fix: css regression
* fix: update test enum usage
* fix: use native disabled attribute
* test: add snapshot tests for different Option states
* fix: zach's PR comments
* test: update snapshots/unit tests
* style: pending boolean names
* fix: updated test import
* docs: added comment explaining analytics difference in wallet connection
* test: assert console.debug calls and fix act() issues
* test: drawer close
* test: import specific drawer fn instead of whole module
2023-04-28 19:14:30 -04:00
Jack Short
6df5d3a701
chore: moving nft test fixtures to their own file ( #6456 )
...
* chore: moving nft test fixtures to their own file
* refactoring structure
* renaming file
2023-04-27 17:10:06 -04:00
lynn
2d4eafc6b3
test: unsupported currency footer unit test ( #6360 )
...
* tests are complete
* update comment
* remove console log, and test close icon
* init
* lets try something else to avoid timeout
* try splitting up last test for timeout
* undo, it wasnt working
* revert order test
* add comment for sanity check
* test another way
* try userEvent
* increase timeout
* move timeout
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* merge constants and use mocked
* remove comments
* remove dual import
* Update src/components/swap/UnsupportedCurrencyFooter.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* respond comments
* update tests
* remove console log
* fixes
* add act
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-27 16:54:05 -04:00
lynn
9b52fea58a
test: swap details dropdown unit test ( #6349 )
...
* init for swap details dropdown test
* more tests
* complete tests, ready for review
* add to dev deps
* init
* merge main
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* merge with constants
* move noop
* add eslint rule
* return null in noop
* merge
* update snapshot
* constant name
* snapshot change
* lint
* undo eslint change
* Update src/components/swap/SwapDetailsDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/swap/SwapDetailsDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/swap/SwapDetailsDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* respond comments
* update snapshot
* merge main
* user event instead
* add act
* import fix
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-27 16:53:45 -04:00
Jack Short
b92b286626
chore: updating listing marketplace icons ( #6458 )
...
* chore: updating listing marketplace icons
* removing svgs from public
* responding to comments
2023-04-27 16:51:53 -04:00
lynn
a8268728d3
test: advanced swap details component unit test ( #6363 )
...
* init
* init
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* move noop
* add eslint rule
* return null in noop
* merge
* checkpoint
* fixes
* add tooltip test
* remove unused file
* merge swap modal header
* add third test
* add test for syncing and loading case
* respond to comments
* more descriptive comments
* update snapshot
* update
* change to act
2023-04-27 16:36:36 -04:00
lynn
ab6debbf46
test: swap modal footer unit test ( #6353 )
...
* swap footer modal test
* remove empty test
* init
* merge main and jordan comment
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* merge constants
* fix errors
* remove dual import noop
* update snapshot
* Update src/components/swap/SwapModalFooter.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* update snapshot
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-27 15:07:49 -04:00
matteen
4c664645c6
feat: add L2 CG tokenlists ( #6292 )
...
* feat: add L2 CG tokenlists
* remove extra line
2023-04-27 12:50:05 -04:00
Jordan Frankfurt
4416a84fd7
fix: disable bnb network option on uniwallet ( #6452 )
...
* fix: disable bnb network option on uniwallet
* use supported chain set
2023-04-27 09:16:28 -05:00
Charles Bachmeier
c178da626f
chore: add more ip infringing collections to the blocklist ( #6446 )
...
* updated blocked collections and don't allow for address search of blocked collections
* revert to array
2023-04-26 10:31:49 -07:00
Zach Pomerantz
e3c589ae41
fix: wallet connection analytics ( #6296 )
...
* test: web3
* fix: wallet connection analytics
* test: wallet connection analytics
* build: upgrade web3-react@^8.2
* test: web3
* chore: better merge
* fix: unmock
* fix: use usePrevious
* fix: naming
* fix: deps
2023-04-26 10:27:04 -07:00
Vignesh Mohankumar
6d60aca437
fix: filter OneKey related errors ( #6396 )
...
* fix: filter OneKey related errors
* fix
* .app
2023-04-26 11:57:13 -04:00
Zach Pomerantz
01684977b3
test: add a 'hardhat' mock window.ethereum ( #6395 )
2023-04-25 14:24:57 -07:00
Jack Short
0025997175
chore: updating purchasable markets from activity ( #6443 )
...
* updating purchasable markets from activity
* renaming
* adding trans + refactor
* snapshot test
* removing snapshot test and only matchin test
* deleting snap
2023-04-25 16:17:36 -04:00
Vignesh Mohankumar
acf97e042c
fix: filter WebAssembly compile errors ( #6445 )
...
* test
* fix: filter WebAssembly compilition errors
* Update src/tracing/errors.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
2023-04-25 15:35:14 -04:00