Kristie Huang
4bec816e6c
fix: disable fees and uniswapx tests + skip localStorage reads for bl… ( #7580 )
...
fix: disable fees and uniswapx tests + skip localStorage reads for blocked addresses (#7564 )
* fix: disable fees tests
* skip uniswapx tests for now
* turn off uniswapx for classic swap test
* skip local cache reads for blocked accounts
* fix: broken pools test (#7562 )
* test: update hardhat blocknumber (#7559 )
* init
* fix: remove console log
* fix: add comment
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
2023-11-21 14:10:28 -05:00
Tina
dd4b2dc764
fix: only change input currency to weth after eth wrap completes for uniswapx eth input trades ( #7604 )
...
* only change input currency to weth after wrap completes
* add e2e test
* update test
2023-11-17 10:47:16 -05:00
eddie
5ded55e061
feat: x rollout cleanup ( #7582 )
...
* feat: cleanup post x rollout
* feat: remove feature flag
* fix: remove more unused styled components
* fix: delete deprecated value from redux store
* fix: lint
* fix: remove userOptedOutOfUniswapX
* fix: migrate verion in edge case, add test
2023-11-16 13:59:36 -08:00
eddie
1feeaea181
test: update e2e tests after X rollout ( #7583 )
...
test: updatea e2e tests after X rollout
2023-11-14 09:13:57 -08:00
eddie
a5034cb1c0
fix: reset token selections when changing chains on /add ( #7561 )
...
* fix: reset token selections when changing chains on /add
* fix: tests
* fix: add e2e test
* fix: remove .only
2023-11-13 15:10:44 -08:00
cartcrom
d8e43f0834
fix: broken pools test ( #7562 )
2023-11-09 19:57:01 -05:00
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
Jack Short
af80079957
feat: remove buy button and landing terminology for uk ( #7386 )
...
* feat: remove buy button and landing terminology for uk
* removing tarballs
* mocked setup
* setting compliance to gb
* turning back on defaults
* cache for user
* moving to hook and grid sizing
* fixing tests
* comments
* landinage page cards
* cypress test
* removing extra store
2023-09-29 12:32:05 -04: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
ed87df6269
feat: account suspense ( #7337 )
...
* feat: eagerly connect outside of react lifecycle
* test: reflect selected wallet in localStorage
* test: spy only on portfolio balances
* feat: connectionReady
* feat: connecting state
* feat: leave space for address
* fix tests
* better meta
* fix
* fix wallet change
* add interactivity earlier
* add validation
* update localstorage key in cypress setup
* even less thrash
* load per account
* simplify, hopefully
* explanatory
* inf render
* whoopsie
* ordering
2023-09-22 09:57:35 -07:00
Zach Pomerantz
54880d201a
feat: eagerly connect outside of react lifecycle ( #7334 )
...
* feat: eagerly connect outside of react lifecycle
* test: reflect selected wallet in localStorage
* test: spy only on portfolio balances
2023-09-20 12:31: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
eddie
a3fbab9163
feat: uniswapx start time buffer ( #7279 )
...
* wip
* feat: use startTimeBufferSecs from API response
2023-09-08 09:30:57 -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
Zach Pomerantz
147a9bcbb2
fix: move off deprecated gql fields ( #7269 )
2023-09-06 13:48:02 -07: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
eddie
38cce46c7b
feat: redux migration ( #6830 )
...
* feat: start working on redux migrations
* feat: fix migations and add tests
* feat: fix persistence and improve tests
* fix: tests
* fix: rename test file so it doesnt run in jest
* fix: tests
* fix: lint
* feat: indexedDB
* fix: e2e tests
* fix: address some comments
* fix: update legacy migrations
* fix: fix rehydrations
* fix: remove PersistGate and fix e2e tests
* fix: add comment to helper function
2023-08-16 10:56:06 -07:00
Nate Wienert
69ae42f285
fix: broken spacing in tokens fixture ( #7168 )
2023-08-16 07:36:15 -10:00