1. 01 Jul, 2022 2 commits
  2. 30 Jun, 2022 4 commits
  3. 29 Jun, 2022 4 commits
  4. 24 Jun, 2022 2 commits
  5. 23 Jun, 2022 1 commit
  6. 22 Jun, 2022 1 commit
  7. 17 Jun, 2022 5 commits
    • Kaylee George's avatar
      fix: crash on HOP token search (#3904) (#3928) · ea8c7326
      Kaylee George authored
      fix: ensure token address is checksummed on construction
      ea8c7326
    • Zach Pomerantz's avatar
      fix: serviceworker request path (#3926) · dd5feaac
      Zach Pomerantz authored
      * fix: serviceworker request path
      
      Always requests the app-shell from the same path as the cache key, in
      order to guarantee that the etags will match should the cache be valid.
      
      * fix: avoid returning redirects
      dd5feaac
    • Zach Pomerantz's avatar
      build: optimize github actions (#3922) · cc919ab3
      Zach Pomerantz authored
      * build: parallelize cypress
      
      - Parallelizes cypress CI runs
      - Cleans up CI workflow files
      
      * build: fix typo
      
      * build: cache node_modules
      
      * build: cache node_modules everywhere
      
      * fix: action/cache usage
      
      * fix: do not cache dynamically built files
      
      * build: use standard container for cypress
      
      * fix: cache cypress
      
      * fix: cache cypress
      cc919ab3
    • Kaylee George's avatar
      fix: show no price impact eth to weth (#3923) · 53d6eb09
      Kaylee George authored
      * fix: show no price impact eth to weth
      
      Fixed the price estimate values to reflect the correct price estimates depending on whether it is a wrapped trade
      
      * fix: show no price impact eth to weth
      
      Fixed to display the correct price estimates depending on whether it is a wrapped trade (eth -> weth should show no price impact)
      
      * Added ETH->wETH testing
      
      Added a Cypress test to check wrapped value swap has no price impact
      
      * make Cypress test cleaner
      53d6eb09
    • Vignesh Mohankumar's avatar
      feat: upgrade to web3-react v8 (#3759) · db0d3cf3
      Vignesh Mohankumar authored
      * initial
      
      * comment more stuff out for now
      
      * more changes
      
      * more temp
      
      * remove walletconnect bug logic
      
      * switch to provider not connector
      
      * remove fortmatic
      
      * remove some usage of network connector
      
      * fix initialize connector
      
      * more changes
      
      * remove switch to network
      
      * connect eagerly
      
      * active -> isActive
      
      * add initial option cards
      
      * upgrade web3-react
      
      * delete tryActivation
      
      * delete pending view, reset option code
      
      * fix hooks
      
      * library -> provider
      
      * rm getLibrary
      
      * eagerly connect
      
      * comment all this code for now
      
      * add back app
      
      * dont connect eagerly here
      
      * deactivate
      
      * switchToNetwork
      
      * switch to useWeb3React
      
      * rm Web3ReactManager
      
      * add back og wallet modal code
      
      * switch back to old option logic
      
      * add account logic back
      
      * add back more network switch logic
      
      * Revert "switch to useWeb3React"
      
      This reverts commit 08ac6319d40207c31c72bf3b16b9f22223fc1ddc.
      
      * add back skip disconnect logic
      
      * check for network connector
      
      * use promise.then again
      
      * remove unnecessary pending error logic
      
      * reset useAddTokenToMetamask
      
      * upgrade packages
      
      * use watchAsset
      
      * add gnosis
      
      * rm fortmatic
      
      * close on disconnection
      
      * add Wallet enum
      
      * remove fortmatic imports
      
      * add wallet state
      
      * set/clear override wallet
      
      * resolve empty
      
      * remove some wallet modal view logic
      
      * useWeb3ReactListener
      
      * move to use effect
      
      * add setwalletoverride in deactivate for now
      
      * start to fix the wallet modal bug
      
      * back button should open options
      
      * connect eagerly to all
      
      * Revert "add setwalletoverride in deactivate for now"
      
      This reverts commit fbc990a9245c68460b1f29e368174b5327aa586c.
      
      * useSelectedIsActive
      
      * switch the enum to not be a bug
      
      * actually dispatch the wallet override
      
      * remove connection useEffect for now
      
      * Revert "remove connection useEffect for now"
      
      This reverts commit 0b92eee6894586e08079c1e4092e098b579cb768.
      
      * add back the activation useeffect
      
      * handle resetting eagerly connecting
      
      * dont disconnect from coinbase wallet
      
      * disconnect except for coinbase wallet, bc their reload breaks things
      
      * handle eager activation edge case
      
      * backfill wallet override
      
      * rename wrapper components
      
      * update test
      
      * network if override undefined
      
      * npx deduplicate
      
      * comment for why coinbase wallet special cased
      
      * connectorPrevious -> previousConnector
      
      * Array.find instead of forEach
      
      * useState instead of useReducer
      
      * add comments and simplify
      
      * Web3Wrapper component
      
      * add type guard
      
      * check for watchAsset
      
      * revert Option.tsx changes
      
      * set -> updateWalletOverride
      
      * generalize connector type usage
      
      * rm comment
      
      * eagerlyConnect comment
      
      * null -> undefined
      
      * add comment for wallet override
      
      * add back pendingError logic
      
      * merge conflicts
      
      * remove provider dep
      
      * add back connect a wallet
      
      * move active prop out of base props
      
      * add back account details test
      
      * add type of isActiveMap
      
      * add back eslint
      
      * add TODO
      
      * Web3Provider
      
      * return null from Updater
      
      * update comment
      
      * integration tests initial
      
      * try updating test
      
      * check for gnosis safe
      
      * fix gnosis safe check
      
      * pr comments
      
      * pr comments
      
      * don't eagerly connect to any wallets other than gnosis or walletOverride
      
      * remove unused branch
      
      * pendingError from hook
      
      * eslint-disable-line
      
      * try connecting to wallets if not backfilled
      
      * move eager connection logic
      
      * remove connect eagerly set logic
      
      * disconnect on change
      
      * simplify ConnectorState
      
      * better solution for changing wallet priority
      
      * merge fixes
      
      * fix tests
      
      * try fixing test again
      
      * add comment
      
      * add fortmatic back
      
      * set walletOverride for fortmatic
      
      * hide other chains
      
      * handle eager connection
      
      * connect everything eagerly if not backfilled
      
      * fix chain switching
      
      * async
      
      * rm error console
      
      * fortmatic update
      
      * log errors
      
      * don't eagerly connect to fortmatic
      
      * onSelectChain + switchChain
      
      * typo
      
      * don't disconnect from coinbase wallet for now
      
      * upgrade web3-react
      
      * close on disconnection/connection again
      
      * simplify account change check
      
      * comment fix
      
      * comment
      
      * fortmatic icon
      
      * comment for fortmatic in network selector
      
      * consolidate useEffect hooks in walletmodal for connection/disconnection
      
      * switchToChain
      
      * comment
      
      * isEagerlyConnecting instead of eagerlyConnectingWallets
      
      * update web3-react
      
      * close modal fortmatic
      
      * remove error log
      
      * chainIdNotAllowed
      
      * handle useToken
      
      * update SupportedChainId
      
      * move if statements around
      
      * move to wallet reducer
      
      * close as error
      
      * export fix
      
      * add back history change
      
      * add back popular
      
      * fortmatic key
      
      * persist wallet
      
      * remove eagerly connect
      
      * call connect eagerly
      
      * handle modal errors
      
      * handle fortmatic close properly
      
      * connector error changes
      
      * go back to options
      
      * change redux wallets
      
      * simplify reducer
      
      * fix eagerly connect / disconnect
      
      * remove account change hook
      
      * simplify connect eagerly
      
      * remove unused var
      
      * revert chain
      
      * walletOverride reducer
      
      * update web3-react
      
      * fix compile errors for now
      
      * show disconnect button
      
      * clear pending connector
      
      * clear error state
      
      * add back skip toggle check
      
      * MAINNET provider for ENS
      
      * add coinbase wallet sdk
      
      * fix test
      
      * add back style but fix syntax highlighting
      
      * dont create separate json rpc provider
      
      * don't use selected hooks
      
      * dont export
      
      * dispatch first
      
      * useConnectors
      
      * comment
      
      * simplify activeMap
      
      * useIsActiveMap
      
      * prettier
      
      * prop change
      
      * move comment
      
      * useCallback
      
      * coinbase wallet link fix
      
      * rm ModalWallet type
      
      * reportError
      
      * isChainAllowed
      
      * NETWORK_SELECTOR_CHAINS
      
      * mainnet provider
      
      * remove unused wallet views
      
      * add back default case
      
      * selected wallet
      
      * comment change
      
      * !chainAllowed
      
      * rm ensResolver
      
      * rm forEach
      
      * re-define reportError
      
      * move effects arounds
      
      * change error message for switching chain
      
      * simplify Web3Provider
      
      * delete use isActive map
      
      * fix test?
      
      * rm disconnect test for now
      
      * error message updates
      
      * const -> function
      
      * move fn
      
      * undo changes for showing connect wallet state
      
      * clear error before activating
      
      * remove special case for fortmatic error
      
      * backfillable/selectable wallets
      
      * log wallet
      
      * Revert "rm disconnect test for now"
      
      This reverts commit 225bc7dc5622ae918d8a8b70e4425c648d1a1fac.
      
      * check if account exists
      
      * unused dep
      
      * remove reload piece of test
      
      * update connect a wallet default state
      
      * headerRow
      db0d3cf3
  8. 16 Jun, 2022 2 commits
  9. 15 Jun, 2022 4 commits
    • Jordan Frankfurt's avatar
      chore(vscode): add workspace settings.json (#3914) · 8cdec618
      Jordan Frankfurt authored
      * chore(vscode): add workspace settings.json
      
      * add newline
      
      * no bad things allowed
      
      * drop hiding . dirs
      8cdec618
    • Kaylee George's avatar
      fix: adds messaging for unsupported V2 pool networks (#3762 #3777) (#3913) · 5325d0cb
      Kaylee George authored
      Fix: Unsupported V2 Pool network messaging
      
      #3762: Added error messaging for unsupported V2 pool networks (Polygon, Optimism, Arbitrum)
      5325d0cb
    • Zach Pomerantz's avatar
      feat: service worker with etag cache (#3897) · c16e49e7
      Zach Pomerantz authored
      * fix: always-fresh service worker cache
      
      * chore: clarify service-worker
      
      * fix: cache in CacheStorage
      
      * feat: set __isDocumentCached
      
      * add back in manifest precaching
      
      * add unit tests (incomplete)
      
      * test: simplify test env
      
      * test: add service-worker cypress test
      
      * test: service-worker document handler
      
      * fix: CachedDocument ctor
      
      * fix: Readable for ReadableStream in jest
      
      * build: clean up module loading
      
      * fix: rename commands->ethereum
      
      * build: simplify package.json deps
      
      * build: clean up cypress usage
      
      * build: clean up yarn.lock
      
      * build: record cypress runs
      
      * build: disable chromeWebSecurity in cypress tests
      
      * build: rm babel
      
      * build: disable sw in ci cypress
      
      * build: nits
      
      * build: update workbox version
      
      * chore: fix merge
      
      * test: cache
      
      * test: cypress-ify the before hook
      
      * test: clear sw before each test
      
      * fix: cy then
      
      * test: cypress shenanigans
      
      * style: lint
      
      * chore: rm todo
      
      * test: fail fast for service worker with dev builds
      
      * docs: update contributing to tests
      
      * fix: clean up tests after merge
      
      - Add fast fail in case of dev server, which lacks ServiceWorker
      
      * fix: inject ethereum
      
      * test: service worker
      
      * test: increase sw timeout
      
      * test: sw state
      
      * test: run cypress in chrome
      
      * feat: add on-demand caching to improve sw startup time
      
      * test: test dynamically
      
      * fix: simplify cached doc
      
      * fix: optional sw
      
      * fix: expose response on cached doc
      
      * fix: stub out sw req
      
      * fix: intercept
      Co-authored-by: default avatarChristine Legge <christine.legge@uniswap.org>
      c16e49e7
    • Jordan Frankfurt's avatar
      7e709e10
  10. 14 Jun, 2022 2 commits
  11. 13 Jun, 2022 1 commit
  12. 11 Jun, 2022 2 commits
    • Lynn's avatar
      fix: add jest coverage config to package.json (#3896) · d0e4aa83
      Lynn authored
      * fix: add jest coverage config to package.json
      
      * fix: add running test instructions to CONTRIBUTING.md
      
      * fix: respond to zzmp comments
      
      * fix: lower test thresholds
      Co-authored-by: default avatarLynn Yu <lynn.yu@uniswap.org>
      d0e4aa83
    • Lynn's avatar
      feat: abstract analytics logging (#3892) · b17a38d9
      Lynn authored
      * fix: init commit
      
      * fix: replace ReactGA.event with GoogleAnalyticsProvider.sentEvent
      
      * fix: use GoogleAnalyticsProvider for all other ReactGA usages
      
      * fix: add missing GoogleAnalyticsProvider import
      
      * fix: incorporate zzmp's suggestions
      
      * fix: add import I forgot
      
      * fix: add another import I forgot
      
      * fix: respond to zzmp comments
      Co-authored-by: default avatarLynn Yu <lynn.yu@uniswap.org>
      b17a38d9
  13. 10 Jun, 2022 1 commit
    • Zach Pomerantz's avatar
      build: clean up module loading (#3898) · 22136b27
      Zach Pomerantz authored
      * build: clean up module loading
      
      * fix: rename commands->ethereum
      
      * build: simplify package.json deps
      
      * build: clean up cypress usage
      
      * build: clean up yarn.lock
      
      * build: record cypress runs
      
      * build: disable chromeWebSecurity in cypress tests
      
      * build: rm babel
      
      * build: disable sw in ci cypress
      
      * build: use dev env for e2e
      
      * build: reenable web security
      22136b27
  14. 09 Jun, 2022 1 commit
  15. 08 Jun, 2022 1 commit
  16. 07 Jun, 2022 1 commit
  17. 06 Jun, 2022 3 commits
  18. 04 Jun, 2022 2 commits
  19. 03 Jun, 2022 1 commit