Jack Short
418ee08b00
chore: adds e2e test for when usd quote fetch fails ( #7215 )
...
* chore: adds e2e test for when usd quote fetch fails
* Update src/components/CurrencyInputPanel/SwapCurrencyInputPanel.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update cypress/e2e/swap/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-11-08 13:27:10 -05:00
Jack Short
c27e70b87c
chore: e2e insufficient liquidity test ( #7075 )
...
* chore: e2e insufficient liquidity test
* Update cypress/e2e/swap/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* fixing lint
* waiting for quote
* stubbing insufficient liquidity response
* req reply
* trying full url
* maybe cors
* moving before visit
* adding back timeout
* Revert "adding back timeout"
This reverts commit 89cff3afb815f5e5db005347f20812b83e047057.
* in describe block
* moving to new file
* moving to errors test file
* moving comment
* removing extra describe
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-11-08 13:11:41 -05:00
Kristie Huang
5cbc56cf65
feat: [info] add new stats box ( #7522 )
...
* feat: [info] add new stats section, wip
* add stats section
* implement fdv and market cap
* use fdv from backend gql
* code cleanup
* update cypress tests
* should only wrap if screen width <= 640
* minor design nits
* remove sitemap change
* nit pr review
2023-11-06 15:54:43 -05:00
Jack Short
ff3ed31dd7
chore: cleaning up previous uk blocking functionality ( #7489 )
2023-10-31 13:45:26 -04:00
Jack Short
719f82c7c4
feat: pool page currency conversion ( #7416 )
2023-10-31 13:44:38 -04:00
Kristie Huang
8734ee5986
fix: dedupe matic native token ( #7485 )
...
* fix: dedupe matic native token, wip
* use precompile address
* prefill swap currency with page chain, not connected chain
* fix token-explore test
2023-10-20 14:13:58 -04:00
Zach Pomerantz
aada666c1a
fix: de-flake Cypress through various means ( #7488 )
...
* build: reduce retries to discourage flakes
* fix: lazy-load asset logos
* chore: simplify logging test
* fix: guard against dutch orders for pricing
* test: only stub non-pricing quotes
* fix: opt in flicker
* test: mock statsig
2023-10-18 12:44:52 -07:00
charity-sock-pacifist
2818167131
feat: swap fees [main] ( #7478 )
2023-10-16 19:32:39 -04:00
Tina
cfaf5d79c1
feat: Remove local routing setting ( #7462 )
...
* remove client side router preference
* update e2e test
* fix comment
2023-10-13 14:33:47 -04:00
cartcrom
e16348e2e0
feat: new chain logos ( #7438 )
...
* feat: new consolidated chain logos
* test: update snapshots
* refactor: simplify border radius formula
* fix: pass style prop to portofolio logo container
* lint
* fix: accessibility
* fix: pr nits'
* fix: unnused styled component
2023-10-10 18:25:50 -04:00
Jack Short
6e4746a7fe
feat: uk disclaimer banner ( #7428 )
...
* feat: uk disclaimer banner
* bad merge with sitemap
* button
* cypress test
* intercept ordering
* comments
* sitemap was committed idk why
* font weights
* moving uk disclaimer
* removing trash
2023-10-06 14:00:07 -04:00
Kristie Huang
db1d264ad3
fix: unhide native gas token from miniportfolio ( #7374 )
...
* fix: unhide native gas token from miniportfolio
* wip tests & gql types
* fix tests, default hide small balances
* pr review
* fix e2e hidden count
2023-10-06 12:11:44 -04:00
cartcrom
1be62f0bec
feat: updated slippage ui ( #7409 )
...
* feat: updated slippage ui
* fix: update settings to also have period in max slippage string
* test: update e2e test search string
2023-10-05 15:34:23 -04:00
eddie
53f0ca9b7e
fix: disable UniswapX opt-out in e2e tests ( #7423 )
2023-10-05 11:54:24 -07:00
Charles Bachmeier
0752314d87
fix: click on test row directly ( #7424 )
2023-10-05 11:08:39 -07:00
Charles Bachmeier
9db5fd104a
fix: use in house token for low volume test ( #7414 )
...
* fix: use discontinued project for low volume test
* use token I created
* update comment
* no info available
* remove socials
* update comment
* checksummed address
2023-10-04 18:18:57 -07:00
Kristie Huang
71212f7e32
fix: use sentence case for text ( #7375 )
2023-09-27 12:46:09 -04:00
Jordan Frankfurt
809841df0a
feat: new app provider w/ fallback behavior ( #7205 )
...
* feat: new app provider w/ fallback behavior
* progress
* update useContractX signer params
* Revert "update useContractX signer params"
This reverts commit 386d1580dff77338810a4b31be38efd039d4b138.
* extend jsonrpcprovider
* add mainnet quicknode example, use old staticJsonRpc extension
* add tests
* unit testing
* fixes to tests/tsc
* Update src/state/routing/gas.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr review
* e2e tests should only talk to the chain via connected wallet
* Revert "e2e tests should only talk to the chain via connected wallet"
This reverts commit 0ce76eb7e4132917a52b49531db871a189448e51.
* add charlie's null nit
* fix e2e
* add feature flag
* Update cypress/support/setupTests.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr review
* pr feedback
* fix tests
* add generic send test
* fix merge error
* add a failure rate calculation and inline comments on scoring algo w/ an example
* fix sort test
* cleaner provider creation
* simplify sort
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-09-22 14:05:27 -05:00
Tina
2dc5a6efb4
fix: Remove e2e test ( #7369 )
...
* remove now untrue test
* add test about missing stats
2023-09-22 11:35:54 -07:00
Zach Pomerantz
19c83c92ab
test: spy only on portfolio balances ( #7335 )
2023-09-19 07:59:21 -07:00
Kristie Huang
784fbfe7b1
test: add remove-liquidity interface tests ( #7309 )
...
* fix: duplicate or single-token remove-liquidity routes should show error page
* use maxUint256 for nonexistent pool
* move tests back to rem-liq
* rename pooled token id
* nit: use uni address from sdk core
* nit: use maxuint256 from sdk core
* nit: use liqudityValue for doublecurrencylogo
---------
Co-authored-by: Kristie Huang <kristie.huang@uniswap.org>
2023-09-15 16:05:56 -04:00
Zach Pomerantz
63bf1c0ac8
feat: path-based routing ( #7275 )
2023-09-08 10:43:59 -07:00
Jordan Frankfurt
7306423192
fix: eliminate flake from account connect race condition ( #7212 )
...
* fix: reduce flake from race condition
* use interface instead of type for props
* closeMenu instead of closeModal with type
* simplify useCloseModal
* fix bug
* pr feedback
* remove unnecessary code
* fix button wrapper style
* remove ApplicationModal.WALLET
* update color for spore
2023-09-06 17:52:47 -05:00
Charles Bachmeier
cd520a9e2c
refactor: add source to subgraph queries ( #7253 )
...
* feat: add source to subgraph queries
* update test
2023-09-05 08:44:57 -07:00
eddie
406d7fe964
feat: remove dead statsig flag ( #7229 )
...
* feat: remove dead statsig flag
* fix: e2e test
2023-08-30 13:08:18 -07:00
eddie
366f4d98ef
fix: remove unused feature flags ( #7234 )
...
* fix: remove unused feature flags
* fix: remove flag from tests
* fix: tests
* fix: remove useUniswapX param
2023-08-30 12:37:50 -07:00
Jack Short
4eda18a4d5
feat: currency selector ( #7196 )
...
* adding currency settings option
* moving menu item to shared component
* adding supported currencies
* currency menu items
* currency url params
* currency selector e2e tests
* fixing tests
* currency icons
* removing eslint
* removing another eslint disable
* renaming to local currency
* more name changes
* design updates
* renaming file
* fixing lint
* Update src/components/AccountDrawer/SettingsMenu.tsx
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* alphabetical ordering currencies
* column padding
* padding only for mobile
* memoizing into switch
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
2023-08-30 14:48:53 -04:00
Tina
bb51be545b
feat: Support UniswapX exact out trades ( #7225 )
...
* add feature flag for uniswapx exact out trades
* dont route PRICE lookups through uniswapx
* add e2e test
2023-08-25 15:00:22 -04:00
Nate Wienert
59db4c5b02
feat: Spore colors refresh ( #7118 )
...
* Add colors and type and fix everywhere
* fix text.tsx
* Color and text adjustments
* Further tweaks
* Removed promotional gradient
Changed to pink
* Add new icons and tweak broken colors
* Kill shadows
Removes shadows from NFT cards, Pools and Tokens tables
* Update icons
Update filled and info icons to filled versions
* Update bag icon
Changed to fill style
* Change share icon
Changed to the new filled arrow
* Fix merge errors
* update tests
* Complete find and replace old colors
* Fix colors on pool pages
* Update index.test.tsx.snap
* fix header hover states
* update test
* Update connect button hover state
* Update styles design bash
* Update tests
* Update fonts
* fix buy button font weight
* update tests
* fix jumping input boxes
* lint
* lints
* update tests
* redo auth header
* fix issues
* fix snapshots
* use individual weights instead of variable for nicer $ signn
* update tests
* make dark mode glow distinct
* remove commented out code
* icons in react
* update textSecondary
* fix feedback
* port over token test fix
* lint
* fix: make popups appear above drawer and near top conditionally only when drawer is open
* Revert "fix: make popups appear above drawer and near top conditionally only when drawer is open"
This reverts commit 994697144374ae3fc0cdf9275bce538fda5fc8de.
---------
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
Co-authored-by: pp-hh-ii-ll <111304124+pp-hh-ii-ll@users.noreply.github.com>
Co-authored-by: Callil Capuozzo <callil@uniswap.org>
2023-08-24 17:14:24 -10:00
eddie
3e67982bb4
fix: reset USDT logic ( #7219 )
2023-08-23 16:09:07 -07:00
Jordan Frankfurt
290083b414
fix: isolate assertions into single tests ( #7209 )
2023-08-22 16:34:29 -05:00
Nate Wienert
3dab1da5ea
fix: cypress flaky token details test ( #7193 )
...
improve cypress test
2023-08-21 08:46:08 -10:00
eddie
877e000da6
feat: swap quote event ( #7174 )
...
* wip: more metrics
* wip: SWAP_INPUT_FIRST_USED
* feat: track elapsed times
* feat: add e2e test
* fix: order of logging
* feat: swap quote request logging
* feat: e2e test
* feat: another property
* test: test events separately
* fix: dont log for price quotes
2023-08-18 11:47:45 -07:00
Jack Short
3f05a88409
chore: revert path based routing ( #7192 )
...
* Revert "feat: use router depending on the origin (#6982 )"
This reverts commit c9b4016b78e597b824c98e4219867e0af301c755.
* updating tests
* fixing import from styled components
* fixing styled imports
2023-08-18 14:40:47 -04:00
Jack Short
ea5af12b1d
chore: moving language selection to own settings panel ( #7169 )
...
* chore: moving language selection to own settings panel
* auto switch when close
* updating e2e
* clickable style
* moving behind feature flag
* fixing tests
* this looks nicer
* nowrap for overflow
2023-08-17 16:05:18 -04:00
eddie
bf1f613a4f
fix: network connector fix and lists fix ( #7185 )
2023-08-17 12:29:34 -07:00
eddie
024bbce9a4
feat: more swap metric logging ( #7173 )
...
* wip: more metrics
* wip: SWAP_INPUT_FIRST_USED
* feat: track elapsed times
* feat: add e2e test
* fix: order of logging
* fix: nits
2023-08-17 10:16:51 -07:00
cartcrom
ef9619b1bd
test: uniswapx e2e activity ( #7137 )
...
* test: e2e uniswapX toggle/opt-in tests
* fix: update visit to match new version of hardhat
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* test: uniswapx activity
* fix: lint and small pending hook refactors
* test: e2e UniswapX orders (#7110 )
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* fix: PR nits
2023-08-15 15:02:24 -04:00
cartcrom
041f3d5ba2
test: e2e uniswapX toggle/opt-in and order tests ( #7067 )
...
* test: e2e uniswapX toggle/opt-in tests
* fix: update visit to match new version of hardhat
* test: e2e UniswapX orders (#7110 )
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* fix: PR nits
2023-08-15 14:50:08 -04:00
Charles Bachmeier
666bb79833
fix: test id based on address & chain instead of ticker ( #7167 )
...
* fix: test id based on address instead of ticker
* add chain to test id
* use token address
* lowercase
2023-08-15 11:22:20 -07:00
eddie
57b098f309
feat: swap quote latency logging ( #7143 )
...
* feat: swap quote latency
* feat: measure quote latency
* feat: swap quote latency
* fix: improve variable name
2023-08-14 14:20:03 -07:00
Nate Wienert
485764fe38
feat: improve logic around hidden section of mini-portfolio balances spam tokens ( #6988 )
2023-08-14 11:06:40 -10:00
Jack Short
1ea724609f
feat: bottom sheet for mobile swap settings ( #7072 )
...
* feat: bottom sheet for settings dialogue
* renaming to settings
* renmaing
* cypress tests
* fixing the cypress tests
* chore: e2e insufficient liquidity test
* Revert "chore: e2e insufficient liquidity test"
This reverts commit 8250730f35182246ec908b5878b91b55a51cb941.
2023-08-10 12:20:31 -04:00
Nate Wienert
9e7d59f1fe
chore: fix typecheck error due to jest and cypress overlapping types ( #7101 )
2023-08-07 18:40:43 -07:00
Nate Wienert
a726f67453
fix: bring back flake retries for flaky test (only flakes ~33% of time) ( #7063 )
2023-08-07 14:14:41 -10:00
Mike Grabowski
c9b4016b78
feat: use router depending on the origin ( #6982 )
...
* feat: initial commit
* chore: whitelist vercel
* chore: fix e2e test
* chore: update all occurences of #
* chore: tweaks
* chore: remove todo
* chore: revert changes
* chore: bring back old tweet logic and fix nested URLs
* chore: fix merge
* improve check
* fix: cypress
* chore: fix tests
* chore: update snapshot
* chore: update readme
* address review
* satisfy eslint
* chore: fix ui issue
* fix: tests
* fix: e2e test
2023-08-07 15:01:45 -07:00
eddie
29e46455c1
fix: use submitted icon on mainnet ( #7055 )
...
* fix: use submitted icon on mainnet
* fix: e2e test
* fix: some cleanup
2023-08-03 12:15:25 -07:00
eddie
715555f340
feat: time-to-swap metric ( #7051 )
...
* test(cypress): disable infura from browser
* build: typecheck cypress
* build: es5
* build: rm cypress videos
* fix failing tests
* skip nft failure and rm infra-175
* feat: implement tts metric
* wip e2e test
* fix: improve v2 network support (#7012 )
* fix: improve v2 network support
* add an unsupported message to all v2 pages
* test: add v2 pool tests
* add guard on transaction callbacks
* fix: dep array
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* test: adjust test options
* fix: move to helper method
* fix: merge and make code style change
* fix: use local variable to track first event
* fix: amplitude cypress command
* fix: use file-level var
* fix: clear input in test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-08-03 11:33:16 -07:00
gnewfield
24d00f7c39
fix: init pool behavior ( #7052 )
...
* Disable increment/decrement when range prices undefined
* Enable full-range price selection for new pools
* Add cypress tests
* Fix lint error
2023-08-03 10:52:18 -04:00
Zach Pomerantz
7978ed97a9
test(cypress): clean up types/assumptions/infura ( #7046 )
2023-08-01 22:13:19 -07:00