* 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>
* 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>
* 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>
* 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>
* 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>
* Add 'hide closed positions' to mobile pool view
* Update 'Hide closed positions' mobile font size
* add new toggle from design spec
* change off toggle button color
* Update SimpleToggle.tsx
* update wrapping position for toggle, improve component naming
* change usdcPrice in swap modal to use fixed decimals instead of significant formatting
* change text for fiatValue as well
* change decimal points condition to 1.05
* (m) missed one value
- fix: handle non existing inputCurrency from url
oppening an url swap?inputCurrency=not_existing_address
cause a state where you are not able to change input currency