Zach Pomerantz
2a50d6a17e
test(e2e): reset hardhat between tests ( #6487 )
2023-05-04 08:31:53 -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
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
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
Jordan Frankfurt
7a1a476e45
fix: spoof origin and referer ( #6468 )
...
* fix: spoof origin and referer
* comments, chaining, and an accurate replication of amplitude response bodies
2023-04-28 17:29:16 -05:00
Zach Pomerantz
3b1ef8033b
test: upgrade cypress-hardhat ( #6462 )
2023-04-28 08:46:42 -07:00
Jordan Frankfurt
115c65500b
feat: mining mode switch to disable auto-mine ( #6450 )
...
* feat: mining mode switch to update so we can make assertions about pending transaction state
* update test to use explicit mining
* Update hardhat.config.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-26 15:16:51 -05:00
Jordan Frankfurt
3d8d29fd18
feat: e2e testing - Handle wallet rejection ( #6442 )
...
* 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>
* stub sending a transaction to simulate wallet rejection of a transaction
finish test
s
* Update cypress/e2e/swap.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* lint
* fix network connection bug
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-26 13:02:51 -05:00
Zach Pomerantz
01684977b3
test: add a 'hardhat' mock window.ethereum ( #6395 )
2023-04-25 14:24:57 -07:00
Zach Pomerantz
58417412f1
build: tighten tsconfig (to include build cache, exclude watch folders) ( #6375 )
...
* build: extend cypress tsconfig from build tsconfig
* build: exclude node_modules from watch to improve typechecking perf
* fix: even tighter tsconfigs
* fix: even tighter
* fix: tailor cypress tsconfig to testing
* fix: split them up again
* fix: pr comments
2023-04-24 16:00:04 -07:00
Tina
b161022fb1
feat: Use local reducer in Swap flow ( #6312 )
...
* test: swap flow cypress tests
* fix: use default parameter
* use local reducer in swap flow
* remove swap from global reducer
* fix: remove comments
* feat: add new test
* move token constant to fixtures file
---------
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
2023-04-21 14:32:13 -04:00
eddie
d63bcca539
test: swap flow cypress tests ( #6331 )
...
* test: swap flow cypress tests
* fix: use default parameter
* fix: use shared token addresses
* fix: fix test
* fix: nits
2023-04-20 13:00:43 -07:00
eddie
810f42136e
fix: auto-dismiss MP bottom sheet after Buy Crypto click ( #6298 )
2023-04-11 14:46:28 -07:00
Vignesh Mohankumar
07b7d7f268
test: add test for position page states ( #6342 )
2023-04-11 17:10:38 -04:00
eddie
5ec9cdc5c4
fix: redo MP drawer layout changes with mobile fixed ( #6280 )
...
* fix: redo MP drawer layout changes with mobile fixed
* fix: mobile fix and another test
* fix: comments
2023-04-10 12:53:58 -07:00
eddie
bd2b2c487a
fix: close MP drawer on nft nav ( #6251 )
...
* fix: close MP drawer on nft nav
* fix: make callbacks optional, rename props
* fix: improve card API
* fix: add e2e test
2023-03-29 15:08:30 -07:00
eddie
06dd41a9cd
fix: getCurrency crash when token not found ( #6263 )
...
* fix: getCurrency crash when token not found
* fix: comments and add test
* fix: remove extra whitespace in unit test
* fix: make e2e test pass
2023-03-28 18:44:48 -07:00
eddie
35dace7bfe
feat: cypress test coverage reporting ( #6212 )
...
* wip
* fix: only instrument thru babel in test and dev
* fix: remove unused deps
* fix: yarn dedup
* fix: remove nyc_output dir from git
* fix: remove comment from index.html
2023-03-27 09:48:02 -07:00
eddie
478a05a34f
fix: crash in nft listing flow ( #6234 )
...
* fix: crash in nft listing flow
* fix: rename test
2023-03-22 16:45:39 -07:00
cartcrom
32e6237624
feat: ✨ 🤑 Portfolios 🖼 ✨ ( #6216 )
...
* feat: squash mgtm differences w/ public repo into new base commit to fix rebase issues going forward
* feat: new settings menu (#85 )
* feat: new settings flow
* feat: add statsig geo gate for MGTM assets (#91 )
* init
* feat: geo-gate mgtm features & wallet tab
* feat: new theme toggle (#86 )
* feat: new theme toggle
* fix: import
* refactor: polish
* refactor: use enum instead of string union
* feat: mini portfolio tabs (#88 )
* feat: mini portfolio tabs
* feat: feature flag
* feat: portfolio query (#89 )
* feat: portfolio balance query
* polish
* fix: added todo for api key
* feat: tokens mini-portfolio tab (#93 )
* feat: tokens tab
* fix: lint
* fix: pr comment polish
* fix: snapshot update
* feat: common portfolio row component (#99 )
* feat: porfolio row component
* fix: updated layout
* feat: update token row design (#100 )
* feat: porfolio row component
* fix: updated layout
* fix: updated tokens tab to latest design
* fix: unnused export
* feat: dropdown drawer (#95 )
* inital drawer
* feat: animated drawer
* fix: attempt animation perf fix
* fix: lint
* feat: better animations
* fix: scrim
* refactor: const name
* test: update chain switcher test
* test: update chain switcher test id
* feat: Add NFT tab for mini porftolio (#104 )
* add NFT tab
* add min width to verified icon size
* add keyArgs to nftBalances query so that different callers dont override query cache
* revert yarn node changes
* use flex shrink
* move styled components to top
* navigate to nft page
* update snapshot test after adding gap to Row
* Update src/components/WalletDropdown/MiniPortfolio/NFT.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
* fix scroll behavior (#105 )
* feat: portfolio loading state (#106 )
* feat: loading state for token row
* fix: revert hardcoded loading states
* fix: removed unused component
* feat: activity feed tab (#103 )
* init
* feat: ens avatars
* feat: etherscan api experiment
* fix: ignore error policy
* polish
* fix: query pageSize
* fix: revert redux change
* fix: small polish item
* fix: pr comments
* fix: translated activity titles
* fix: typing and todo comment
* todo comment
* fix: accidental chain name mismatch
* feat: remove dropdown chevron (#110 )
* feat: small drawer UI updates (#109 )
* feat: small changes
* fix: resize status icon w/ ens
* fix: commented css
* feat: activity loading state (#108 )
* feat: activity loading state
* fix: unused wrapper
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* feat: update wallet option icons (#128 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: uni icons avatars (#130 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: update avatar / icon logic
* fix: remove testing hardcoded socks balance
* fix: add isTrustWallet check
* feat: pools tab (#122 )
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: loading state
* feat: pools persist between mounts
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* fix: judo PR comments
* fix: currencyKey case
* fix: eddie's comment
* fix (#134 )
* feat: removed microsite content, updated responsiveness for wallet tab (#137 )
* fix: injector unit tests (#136 )
* fix: injector unit tests
* fix: lint
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
* feat: toggle closed positions (#138 )
* rename file
* refactored hidden row to use for closed positions
* fix: remove unnused atom
* fix: lint
* feat: MP tab empty states (#132 )
* feat: squash mgtm differences w/ public repo into new base commit to fix rebase issues going forward
* feat: new settings menu (#85 )
* feat: new settings flow
* feat: add statsig geo gate for MGTM assets (#91 )
* init
* feat: geo-gate mgtm features & wallet tab
* feat: new theme toggle (#86 )
* feat: new theme toggle
* fix: import
* refactor: polish
* refactor: use enum instead of string union
* feat: mini portfolio tabs (#88 )
* feat: mini portfolio tabs
* feat: feature flag
* feat: portfolio query (#89 )
* feat: portfolio balance query
* polish
* fix: added todo for api key
* feat: tokens mini-portfolio tab (#93 )
* feat: tokens tab
* fix: lint
* fix: pr comment polish
* fix: snapshot update
* feat: common portfolio row component (#99 )
* feat: porfolio row component
* fix: updated layout
* feat: update token row design (#100 )
* feat: porfolio row component
* fix: updated layout
* fix: updated tokens tab to latest design
* fix: unnused export
* feat: dropdown drawer (#95 )
* inital drawer
* feat: animated drawer
* fix: attempt animation perf fix
* fix: lint
* feat: better animations
* fix: scrim
* refactor: const name
* test: update chain switcher test
* test: update chain switcher test id
* feat: Add NFT tab for mini porftolio (#104 )
* add NFT tab
* add min width to verified icon size
* add keyArgs to nftBalances query so that different callers dont override query cache
* revert yarn node changes
* use flex shrink
* move styled components to top
* navigate to nft page
* update snapshot test after adding gap to Row
* Update src/components/WalletDropdown/MiniPortfolio/NFT.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
* fix scroll behavior (#105 )
* feat: portfolio loading state (#106 )
* feat: loading state for token row
* fix: revert hardcoded loading states
* fix: removed unused component
* feat: activity feed tab (#103 )
* init
* feat: ens avatars
* feat: etherscan api experiment
* fix: ignore error policy
* polish
* fix: query pageSize
* fix: revert redux change
* fix: small polish item
* fix: pr comments
* fix: translated activity titles
* fix: typing and todo comment
* todo comment
* fix: accidental chain name mismatch
* feat: remove dropdown chevron (#110 )
* feat: small drawer UI updates (#109 )
* feat: small changes
* fix: resize status icon w/ ens
* fix: commented css
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: activity loading state (#108 )
* feat: activity loading state
* fix: unused wrapper
* feat: loading state
* feat: pools persist between mounts
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* feat: start empty state updates
* feat: update wallet option icons (#128 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: empty wallet states w/ good positioning
* feat: finish empty states w/ theme aware icons
* fix: judo PR comments
* fix: currencyKey case
* feat: uni icons avatars (#130 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: update avatar / icon logic
* fix: remove testing hardcoded socks balance
* fix: add isTrustWallet check
* fix: eddie's comment
* feat: pools tab (#122 )
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: loading state
* feat: pools persist between mounts
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* fix: judo PR comments
* fix: currencyKey case
* fix: eddie's comment
* fix (#134 )
* feat: removed microsite content, updated responsiveness for wallet tab (#137 )
* fix: injector unit tests (#136 )
* fix: injector unit tests
* fix: lint
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
* fix: pool loading state
* fix: simplify pools loading state
* fix: removed unused var
* feat: toggle closed positions (#138 )
* rename file
* refactored hidden row to use for closed positions
* fix: remove unnused atom
* fix: lint
* fix: dry
* fix: lint
* fix: address review comments
* fix: lints
* fix: bad merge
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com>
* make sure mp is above tax service banner (#142 )
* feat: add git version number to settings menu (#141 )
* fix: remove unicon tooltip (#146 )
* feat: remove unicon tooltip from mobile and timer prop
* fix: flip bool logic
* fix: small nits for mp from fred (#150 )
* fixes
* fix
* feat: Local tx activity (#148 )
* local swap working
* feat: cross-chain
* fix: revert query changes
* feat: local approvals
* feat: wrapped activity
* feat: local lp tx history
* fix: add doc comment
* fix: linted
* fix: no pools render error (#152 )
* feat: mp activity feed design tweaks (#145 )
* feat: squash mgtm differences w/ public repo into new base commit to fix rebase issues going forward
* feat: new settings menu (#85 )
* feat: new settings flow
* feat: add statsig geo gate for MGTM assets (#91 )
* init
* feat: geo-gate mgtm features & wallet tab
* feat: new theme toggle (#86 )
* feat: new theme toggle
* fix: import
* refactor: polish
* refactor: use enum instead of string union
* feat: mini portfolio tabs (#88 )
* feat: mini portfolio tabs
* feat: feature flag
* feat: portfolio query (#89 )
* feat: portfolio balance query
* polish
* fix: added todo for api key
* feat: tokens mini-portfolio tab (#93 )
* feat: tokens tab
* fix: lint
* fix: pr comment polish
* fix: snapshot update
* feat: common portfolio row component (#99 )
* feat: porfolio row component
* fix: updated layout
* feat: update token row design (#100 )
* feat: porfolio row component
* fix: updated layout
* fix: updated tokens tab to latest design
* fix: unnused export
* feat: dropdown drawer (#95 )
* inital drawer
* feat: animated drawer
* fix: attempt animation perf fix
* fix: lint
* feat: better animations
* fix: scrim
* refactor: const name
* test: update chain switcher test
* test: update chain switcher test id
* feat: Add NFT tab for mini porftolio (#104 )
* add NFT tab
* add min width to verified icon size
* add keyArgs to nftBalances query so that different callers dont override query cache
* revert yarn node changes
* use flex shrink
* move styled components to top
* navigate to nft page
* update snapshot test after adding gap to Row
* Update src/components/WalletDropdown/MiniPortfolio/NFT.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
* fix scroll behavior (#105 )
* feat: portfolio loading state (#106 )
* feat: loading state for token row
* fix: revert hardcoded loading states
* fix: removed unused component
* feat: activity feed tab (#103 )
* init
* feat: ens avatars
* feat: etherscan api experiment
* fix: ignore error policy
* polish
* fix: query pageSize
* fix: revert redux change
* fix: small polish item
* fix: pr comments
* fix: translated activity titles
* fix: typing and todo comment
* todo comment
* fix: accidental chain name mismatch
* feat: remove dropdown chevron (#110 )
* feat: small drawer UI updates (#109 )
* feat: small changes
* fix: resize status icon w/ ens
* fix: commented css
* feat: activity loading state (#108 )
* feat: activity loading state
* fix: unused wrapper
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* feat: update wallet option icons (#128 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* wip
* feat: uni icons avatars (#130 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: update avatar / icon logic
* fix: remove testing hardcoded socks balance
* fix: add isTrustWallet check
* feat: pools tab (#122 )
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: loading state
* feat: pools persist between mounts
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* fix: judo PR comments
* fix: currencyKey case
* fix: eddie's comment
* fix (#134 )
* wip with activity status icons
* feat: removed microsite content, updated responsiveness for wallet tab (#137 )
* fix: injector unit tests (#136 )
* fix: injector unit tests
* fix: lint
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
* temp
* in progress
* text, and activity status changes working. missing logo changes
* fix lint issues
* refactor: square logo location
* feat: merge other activity changes
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* feat: portfolio polling/refetching/performance (#154 )
* init
* feat: implement asset polling & tx updating balances
* add refetching to activity tab
* fix: re-add error policy
* fix: add TODO
* fix: fix scroll + console warnings on mini portfolio nfts (#155 )
* fixes
* rename
* init (#158 )
* fix: browser wallet icons (#156 )
* fix: moved border radius css (#157 )
* feat: token details state for BNB (#151 )
* fix: update token details missing flow
* refactor
* fix: lint
* fix: add bnb to queries
* feat: add comment explaining unsupported chains
* fix: remove buy crypto animation (#160 )
* fix: price display pools tab (#159 )
* fix: price display pools tab
* fix: lint
* feat: pools tab performance (#123 )
* init
* fix: pr comments
* update cache return type
* refactor: rename type
* fix: further pr comments
* fix: remove stringify
* refactor: readability and caching
* fix: zach pr comments
* fix: removed hardcoded value
* feat: catch position errors for chains
* fix: add todo comment for followup ticket
* fix: build issue from merge conflict
* refactor: split up token caching function
* feat: separate array slicing into util with tests
* feat: close wallet drawer on wallet connection (#161 )
* feat: close wallet drawer on wallet connection
* feat: added comment explaining fetchPolicy
* fix: only close if open
* refactor: add comment about ref
* fix: revert change to useAllTokens & rename with more descriptive name (#163 )
* fix: square Arbitrum logo design changes (#162 )
* feat: close wallet drawer on wallet connection
* feat: added comment explaining fetchPolicy
* fix: only close if open
* init
* fixes
* fix border radius
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
* fix: token loading state (#165 )
* fix: remove unnused code and comments
* fix: privacy policy date
* fix: revert readme change
* fix: remove unnused FOR file
* fix: missed query id
* fix: add id to portfolios query
* fix: widget cypress test
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com>
2023-03-22 11:29:26 -04:00
eddie
991d07ef39
fix: use weth in e2e test ( #6207 )
2023-03-21 09:50:02 -07:00
eddie
81206f1eef
test: widget integration tests ( #6145 )
...
* feat: upgrade widget
* test: swap widget integration tests
* test: handle conditional token safety warning
* fix: yarn dedup
* fix: try reformatting cy commands
* test: try waiting for page to load
* fix: update test
* fix: update test
* fix: test
2023-03-16 15:19:02 -07:00
Vignesh Mohankumar
568b05fda1
feat: support both /pool and /pools ( #6173 )
...
* more
* change locally
2023-03-16 18:08:10 -04:00
Jack Short
b963d3b27b
feat: cards v2 ( #6048 )
...
* initial setup
* forgot border
* cta
* rough draft
* adding marketplace container and selector
* removing last sale
* details link
* marketplace icons
* removing hovered
* adding icons
* removing unused exports
* fixing hover
* not linking to details
* linting
* mobile
* moving cards to component
* linting
* profile cards
* deleting cards
* fixing imports
* actually fixing imports
* tryingn to fix linting errors
* disabling module export for this file
* fixing build
* seems to hate uppercase C
* fixing tests
* passing data-testid correctly
* tertiary info
* removing the extra times
* button states
* adjusting tertiary
* pointer-events
* border animation
* variance bug
* cryptopunks
* unavailable for listing
* disabled cta
* set heihgt
* animated slide up
* animation
* badge changes
* shadows
* ran yarn
* removing eslint comment
* removing types and hooks
* removing from cache
* small tweaks
* removing unused tertiary info
* initial comment addressing
* more comments
* translations
* refactoring file structure
* removing trans tag
* reverting to what it prev was
* text-shadow
* eslint ignore
* updating size test
2023-03-14 15:38:39 -04:00
cartcrom
4bdef2b601
fix: pricing sources ( #6156 )
...
* Revert "fix: "revert feat: Use ETH based pricing instead of USDC based pricing for quote USD values (#6132 ) (#6150 )"
This reverts commit 645d92185a9e3a60d6ae92943515b4cb426dfb53.
* Revert "fix: Use non-subgraph fields for calculating USD prices on explore and token details pages (#6134 )"
This reverts commit 5c8b45c8e5d7b3a485537867960a8d948221af4e.
2023-03-14 14:37:58 -04:00
Tina
5c8b45c8e5
fix: Use non-subgraph fields for calculating USD prices on explore and token details pages ( #6134 )
...
* use non subgraph fields for querying usd prices
* undefined check
* remove unuecessary logoUrl field
* remove outdated test
* fix: switch recently fetched tokens to token project market & update missing chart message
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
2023-03-11 14:01:38 -05:00
lynn
8757e413bb
feat: tax service toast + modal ( #6101 )
...
* working
* unused export
* remove fiat on ramp toast
* design feedback tweaks
* add test + final design tweaks from fred
* add back fiat on ramp modal
* temp
* remove temp
* remove fiat on ramp stuff
* add back modal
* remove fiat on ramp ack from reducer
* respond to jordan
* mobile full width
* add feature flag
* fixes
* TESTING FEATURE FLAG
* testing w blair
* add stat sig server to prod env
* testing stat sig, wait for initialization
* revert stat sig testing stuff
* fix
2023-03-09 14:19:45 -05:00
eddie
b026db3db3
test: fix url param in tests ( #6072 )
2023-03-06 10:14:26 -08:00
Vignesh Mohankumar
79ad611e79
fix: remove $ in hexlified string ( #6075 )
...
* fix
* Update cypress/support/ethereum.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-03-03 20:09:36 -05:00
Vignesh Mohankumar
dcb660d052
refactor: variable for goerli in test ( #6066 )
2023-03-03 17:45:06 -05:00
Vignesh Mohankumar
1f0b8ffaf0
test: disable /send redirect test temporarily ( #6070 )
2023-03-03 17:42:56 -05:00
eddie
ef388e17d5
test: e2e tsts for goerli ( #6063 )
...
* fix: e2e tsts for goerli
* fix: test
2023-03-03 14:20:41 -05:00
Marcus Milton-Ellis
e2f5041707
refactor: Improve A11y ( #5913 )
...
* Imporove a11y
* fix cypress test
* Add translations to labels
2023-03-03 10:42:59 -08:00
eddie
ef4d8fc269
fix: change e2e test language ( #5999 )
2023-02-17 17:29:59 -08:00
eddie
95eafbab7d
fix: wait for page to load in e2e tests ( #5983 )
...
* fix: make FoR announcement click optional in e2e tests
* fix: optional chaining
* fix: build error
* fix: wait for page to load
2023-02-15 13:55:35 -08:00
cartcrom
82646b77dd
feat: migrate search tokens to gql ( #5802 )
...
* init
* feat: search tokens hook
* feat: search ordering
* feat: separated FungibleToken parsing into sep function
* refactor: memoized search token sorting
* fix: cache waterfall issue
* fix: removed no longer relevant test
* feat: trending tokens from gql (#5805 )
* feat: trending tokens from gql
* fix: reverted out-of-scope change
* refactor: remove trendingTokensFetcher
* fix: linted
* fix: removed fetch policy overrides
* fix: loading state cache
* fix: unwrap native trending tokens
* feat: refetch recently searched (#5894 )
* feat: trending tokens from gql
* fix: reverted out-of-scope change
* refactor: remove trendingTokensFetcher
* feat: recently searched tokens query
* fix: linted
* feat: combined query function
* feat: recently searched hooks
* feat: combined query
* fix: removed fetch policy overrides
* fix: loading state cache
* fix: empty history loading state
* fix: revert change
* fix: revert unintended nft query change
* refactor: state functions
* fix: removed unnused query var
* fix: unwrap native trending tokens
* feat: remove fungible token type (#5896 )
* feat: trending tokens from gql
* fix: reverted out-of-scope change
* refactor: remove trendingTokensFetcher
* feat: recently searched tokens query
* fix: linted
* feat: combined query function
* feat: recently searched hooks
* feat: combined query
* fix: removed fetch policy overrides
* fix: loading state cache
* fix: empty history loading state
* fix: revert change
* fix: revert unintended nft query change
* refactor: state functions
* fix: removed unnused query var
* refactor: remove FungibleToken type
* refactor: use TokenStandard.Native instead of string
* refactor: improve boolean logic readability
* refactor: removed duplicate code
* fix: unwrap native trending tokens
* fix: type error
* fix: duplicate entry bug
* refactor: use undefined instead of null/string cast
* fix: update apollo types
* fix: polygon edge case & polish
2023-02-13 18:45:13 -05:00
Charles Bachmeier
6072bb1be0
fix: Broken NFT Details test ( #5893 )
...
fix broken NFT test
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-01-30 10:09:45 -08:00
Zach Pomerantz
9be26788a2
test: skip flaky universal search test ( #5881 )
...
test: skip flaky test
2023-01-24 12:57:08 -05:00
Zach Pomerantz
8471d9b46f
test: skip token explore filter tests ( #5867 )
2023-01-19 16:16:00 -08:00
lynn
5fc4d98faa
chore: universal search e2e test ( #5839 )
...
* init
* change comments
* init
* done
* charlie comments
* fix lint
* fix explore filter test
2023-01-19 18:12:40 -05:00
lynn
fb52770953
chore: token explore filter e2e test ( #5835 )
...
* init
* fix
* init
* remove old token test
* fixes
* remove extraneous tokens test
* init
* tests working
* remove unnecessary data-cy
2023-01-19 14:29:05 -05:00
lynn
3b765b4f05
chore: token details test ( #5830 )
...
* init
* fix
* init
* remove old token test
* fixes
* remove extraneous tokens test
* respond to mike
* oops
2023-01-18 13:36:30 -05:00
lynn
1f7ba5ae9f
chore: add token explore integration test ( #5820 )
...
* init
* fix
* fixes
* remove extraneous tokens test
2023-01-17 21:40:08 -05:00
Jack Short
5f280ffd0e
fix: nft add to bag test ( #5824 )
...
fix: nft add to bag teest
2023-01-12 14:33:04 -05:00
eddie
aa6c469042
fix: remove manual redirects on token page ( #5752 )
2023-01-05 09:09:33 -08:00
Jordan Frankfurt
3f3f16c366
fix: after 1 dismissal FoR banner should go away ( #5778 )
...
* Revert "fix: use localStorage for Fiat announcement (#5750 )"
This reverts commit 62361647e060ceb1b893ad78526f2aa9d1e8e6e5.
* fix: when a user dismisses the FoR banner, never show it again
* pr feedback
* fix some weird nft e2e test issues
2023-01-05 10:05:05 -06:00
eddie
fd4430fe69
fix: include descriptions and links for native tokens ( #5756 )
2023-01-03 11:57:53 -08:00
Mike Grabowski
1802f50163
chore: use @uniswap eslint preset ( #5556 )
...
* feat: replace eslint with preset
* chore: update
* add empty line
* Revert changes
* chore: replace colors
* chore: tweaks
* Revert "chore: replace colors"
This reverts commit 3462420ecbdd9c5275a895643dad1586e92226a0.
* bring lint back
* chore: tweaks
* chore: add note
* chore: fix yarn lock
* chore: fix yarn.lock 2
* chore: use ESLint from npm
* Chore: update lockfile
* tweaks
* chore: initial take fixing some lint issues
* tweaks
* chore: another take
* chore: further tweaks
* chore: fix further
* feat: ignore Jest for cypress
* revert change
* chore: update to latest preset
* tmp lets see if this works
* chore: turn error into warning
* chore: remove warnings
* chore: deduplicate yarn lock
* feat: add recommended ESLint extension in case someone has Prettier instead
* upgrade to latest uniswap config
* chore: update todo
* remove patch
* find to some
* name
* chore: tweak yarn lock
* update
* cleanup
* update name for filter
* nl
* no unsafe finally
* chore: update doc
* fix
* fix
* one more fix
* one more file
* chore: Fix two last build issues
* add generated back
* fix lint after merge
* chore: fix tests
* remove
* one more
2022-12-21 03:08:20 +04:00