- 01 Jul, 2022 2 commits
-
-
Vignesh Mohankumar authored
* rm activeweb3react * wrap in web3provider?
-
Vignesh Mohankumar authored
* feat: disconnect for coinbase wallet * change isActive logic * remove logs * reset state for coinbase wallet * active -> isActive * rm data-cy
-
- 30 Jun, 2022 4 commits
-
-
Vignesh Mohankumar authored
* don't need undo logic * maybe need to return connector * make sure the urlChainId doesn't equal existing chainId * fix network switching * add back revert logic * undo changes to switchChain * move revert logic into the hook
-
Vignesh Mohankumar authored
* feat: show injected options in wallet browsers * initial testing * more mocking * mock more * mobile tests * updates * add data test * finally got the mock to work * WORKING * uncomment * rm console.log * fix * check length * fix tests to use useWeb3React * rm * rename tests
-
Vignesh Mohankumar authored
* use data-testid * findByTestId test -> it add types temp rm exclude get -> find * Revert "findByTestId" This reverts commit 1e1c483ef90596b41f649443be1b191414ab3876. * rm some test ids * fix
-
Vignesh Mohankumar authored
-
- 29 Jun, 2022 4 commits
-
-
Zach Pomerantz authored
* build: dedup ethers * build: dedup token-lists * build: dedup deps * build: clean deps
-
Zach Pomerantz authored
-
Zach Pomerantz authored
* fix: set content-type on cached document * fix: delete old content-types * fix: avoid immutable headers * test: content-type * fix: do not destructure response * test: serve from cache with vercel * fix: inject cache marker into body
-
Zach Pomerantz authored
-
- 24 Jun, 2022 2 commits
-
-
Jordan Frankfurt authored
-
Vignesh Mohankumar authored
* fix metamask * forceActivate * remove forceActivate * unused change
-
- 23 Jun, 2022 1 commit
-
-
Vignesh Mohankumar authored
feat: empty to deploy
-
- 22 Jun, 2022 1 commit
-
-
matteenm authored
-
- 17 Jun, 2022 5 commits
-
-
Kaylee George authored
fix: ensure token address is checksummed on construction
-
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
-
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
-
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
-
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
-
- 16 Jun, 2022 2 commits
-
-
Zach Pomerantz authored
-
Zach Pomerantz authored
* build: update cypress projectId * build: rm unused cypress key * test: save cypress videos * build: rm start-server-and-test * build: update github action cache usage * build: use cypress action
-
- 15 Jun, 2022 4 commits
-
-
Jordan Frankfurt authored
* chore(vscode): add workspace settings.json * add newline * no bad things allowed * drop hiding . dirs
-
Kaylee George authored
Fix: Unsupported V2 Pool network messaging #3762: Added error messaging for unsupported V2 pool networks (Polygon, Optimism, Arbitrum)
-
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:
Christine Legge <christine.legge@uniswap.org>
-
Jordan Frankfurt authored
-
- 14 Jun, 2022 2 commits
-
-
gzeon authored
-
Zach Pomerantz authored
* test: update cypress * chore: comment on infura origin * test: split build and serve * chore: rm setupNodeEvents
-
- 13 Jun, 2022 1 commit
-
-
Noah Zinsmeister authored
* add queue and execute buttons * eta is timestamp not block number * address comments * add execute text * address comments
-
- 11 Jun, 2022 2 commits
-
-
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:
Lynn Yu <lynn.yu@uniswap.org>
-
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:
Lynn Yu <lynn.yu@uniswap.org>
-
- 10 Jun, 2022 1 commit
-
-
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
-
- 09 Jun, 2022 1 commit
-
-
Zach Pomerantz authored
fix: omit native from dom
-
- 08 Jun, 2022 1 commit
-
-
Lynn authored
* fix: fix scroll on page navigation * fix: scroll to top when navigating in whole app * fix: refactor to use useHistory hook * fix: change scrollToTop component to hook Co-authored-by:
Lynn Yu <lynn.yu@uniswap.org>
-
- 07 Jun, 2022 1 commit
-
-
Lynn authored
* fix: add keyboard accessibility to token selector * fix: update snapshot test * fix: enable selected of suggested tokens by enter key Co-authored-by:
Lynn Yu <lynn.yu@uniswap.org>
-
- 06 Jun, 2022 3 commits
-
-
Lynn authored
* fix: use simple toggle instead of toggle with text init commit * fix: also change toggle in voting page and list toggle used in manage token list * fix: simplify all toggle components into one configurable toggle * fix: add ease-in animations for toggle * fix: remove animation from toggle on initial page load to reduce thrash Co-authored-by:
Lynn Yu <lynn.yu@UNISWAP-MAC-015.local> Co-authored-by:
Lynn Yu <lynn.yu@uniswap.org>
-
Crowdin Bot authored
-
Lynn authored
* fix: use simple toggle instead of toggle with text init commit * fix: also change toggle in voting page and list toggle used in manage token list * fix: simplify all toggle components into one configurable toggle * fix: add ease-in animations for toggle Co-authored-by:
Lynn Yu <lynn.yu@UNISWAP-MAC-015.local> Co-authored-by:
Lynn Yu <lynn.yu@uniswap.org>
-
- 04 Jun, 2022 2 commits
-
-
Crowdin Bot authored
-
Lynn authored
* fix: add animated loading bars and ensure sorted tokens upon load * refactor: undo refactor of token selector component in CurrencySearch * fix: fix styling as per design, still need to respond to other comments in review * fix: add timeout to token loader of 2 seconds * fix: add snapshot test and styling changes as per fred rec * refactor: simplify function in currency list test * fix: increase loading bars time from 2 seconds to 3 sec * fix: respond to zach's comments * fix: fix import errors Co-authored-by:
Lynn Yu <lynn.yu@UNISWAP-MAC-015.local>
-
- 03 Jun, 2022 1 commit
-
-
Crowdin Bot authored
-