Commit Graph

686 Commits

Author SHA1 Message Date
Moody Salem
6fc3157977
chore(strict): strict connectors directory 2020-05-29 11:05:54 -04:00
Moody Salem
9c1fe53e4b
perf(ethereum): reduce number of calls by batching all polling node calls (#840)
* initial refactoring

* rebase lint error

* start implementing reducer

* multicall reducer

* working multicall!

* clean up performance, re-fix annoying error

* use multicall everywhere

* use multicall for balances

* fix lint warning

* Use checksummed address

* Fix strict warning

* get it to a working state with the more generic form

* convert useETHBalances

* Remove the eth-scan contract completely

* Remove the eth-scan contract completely more

* Default export

* Put the encoding/decoding in the methods that can do it most efficiently

* Avoid duplicate fetches via debounce

* Reduce delay to something less noticeable

* Return null if pair reserves are undefined to indicate it does not exist
v2.0.10
2020-05-28 21:17:45 -04:00
Noah Zinsmeister
28c916ff45
Remove liquidity callback (#837)
* give add liquidity the reducer treatment

rename setDefaultsFromURL to setDefaultsFromURLSearch

* fix tests and crash

* rework DOM structure to make flow more natural

* allow slippage + deadline setting in add liquidity

* migrate burn

* disable token selection in mint

clear input between pairs

* reset fields between pairs

* tweak helper text

* address review comments
v2.0.9
2020-05-27 13:13:31 -04:00
Moody Salem
7adb4b6bd6
chore(release): fix changelog commit hashes 2020-05-27 12:29:49 -04:00
Noah Zinsmeister
b2f0236ee8
Add liquidity callback (#830)
* give add liquidity the reducer treatment

rename setDefaultsFromURL to setDefaultsFromURLSearch

* fix tests and crash

* rework DOM structure to make flow more natural

* allow slippage + deadline setting in add liquidity

* disable token selection in mint

clear input between pairs
2020-05-27 11:42:25 -04:00
Moody Salem
4b57059353
fix(release): fix the dns record update v2.0.8 2020-05-27 09:58:28 -04:00
Moody Salem
6926f9a4ae
fix(flatMap): don't use the native flatMap function, bump release plugin version 2020-05-27 09:29:53 -04:00
Moody Salem
7dec580944
chore(readme): prepare for more ipfs, use the latest version of github tag action 2020-05-27 09:14:12 -04:00
Moody Salem
5cf95680ef
chore(release): fix cf-ipfs url 2020-05-27 09:01:20 -04:00
Moody Salem
f8d6bab4ae
chore(release): limit release to release.yaml changes on v2 branch 2020-05-27 09:00:57 -04:00
Moody Salem
c9721c42bf
perf(reduce call volume): save a bunch of calls to infura when the tab is not focused, change infura IDs for v2 v2.0.7 2020-05-26 13:36:09 -04:00
Moody Salem
4414134bb2
chore(release): Fix release links v2.0.6 2020-05-26 13:17:53 -04:00
Moody Salem
44ba54e44a
chore(release): add cf-ipfs.com 2020-05-26 13:03:50 -04:00
Moody Salem
9ec3109f72
chore(release): release text, convert cidv0 2020-05-26 13:01:38 -04:00
Moody Salem
e75793676a
fix(release): include release changelog v2.0.5 2020-05-26 12:16:00 -04:00
Moody Salem
32006ded21
chore(release): trigger release on changes to release.yaml 2020-05-26 12:06:40 -04:00
Moody Salem
d4f1c579d8
chore(release): remove cancel action because it's confusing 2020-05-26 11:03:52 -04:00
Moody Salem
95f3541807
fix release.yaml script again 2020-05-26 10:30:12 -04:00
Moody Salem
da4ca73a1d
post install scripts are needed for cypress 2020-05-26 10:07:32 -04:00
Moody Salem
e75bf8d003
typo in action name 2020-05-26 10:05:45 -04:00
Moody Salem
236f68a459
Missed a spot in the yarn tests 2020-05-26 09:59:59 -04:00
Moody Salem
9f07baaad2
Move the github action to its own repo 2020-05-26 09:54:33 -04:00
Moody Salem
c75464e1aa
chore(release): only trigger release on tag 2020-05-26 09:43:48 -04:00
Moody Salem
bc80585bb4
chore(release): frozen lockfiles 2020-05-26 09:41:54 -04:00
Moody Salem
ad45b2b7bb
chore(release): speed up install significantly 2020-05-26 09:38:43 -04:00
Moody Salem
63ac89e9f3
chore(release): clean up release.yaml 2020-05-26 09:28:47 -04:00
Moody Salem
1b6ae0d3db
chore(release): trigger a release on tagged commits 2020-05-26 09:16:22 -04:00
Moody Salem
7d67819604
chore(release): Add an action to replace Vercel DNS records 2020-05-26 09:07:09 -04:00
Moody Salem
7b9b332c42
fix(popover): ios safari not showing the popover v2.0.4 2020-05-25 01:39:50 -04:00
Moody Salem
01feae978a
add a discord link (#833) v2.0.3 2020-05-24 04:47:41 -04:00
Moody Salem
2452d51e14
fix(remove swap button): weirdness on firefox 2020-05-23 22:21:20 -04:00
Moody Salem
bbdc258083
fix(search modal): prevent overlapping tooltips, always render lists 2020-05-23 20:14:41 -04:00
Moody Salem
27b103e3f7
fix(search modal): restore style on sort button 2020-05-23 20:10:16 -04:00
Moody Salem
2a751b9892
Workaround for popover placement on elements that move, styling for small amounts of search results 2020-05-23 20:08:12 -04:00
Moody Salem
175e93fbba
chore(release): Update the release text 2020-05-23 16:07:23 -04:00
Moody Salem
0b5fc07ee5
fix(popover): use the same offset 2020-05-23 12:17:39 -04:00
Moody Salem
a0d4710a11
perf(Search modal): performance improvements (#829)
* Search modal performance improvements

* Move more code out of the search modal

* Add the question helper to the search

* Fix a couple lint errors

* Fix the tests, duplicate import text

* Hide the token info on small screens, flex the list

* Fix token sorting, have a link that focuses and shows a tooltip for the search input

* Remove reach tooltip css

* Fix pair balances in the search modal

* Get the arrow working

* Only clear the input when they re-open

* Better way to exclude props

* More small performance tweaks
2020-05-23 12:06:16 -04:00
Moody Salem
63af1a160d
Fix lint errors v2.0.2 2020-05-22 09:43:11 -04:00
Moody Salem
85d52b3480
perf(search modal): refactor before more dramatic changes 2020-05-22 09:36:09 -04:00
Moody Salem
219de1f471
fix(release): remove console.log statement 2020-05-22 08:24:16 -04:00
Moody Salem
f110fa7732
chore(release): update DNS on release 2020-05-22 08:08:11 -04:00
Ian Lapham
513a1b0c4b
add default text on create flow (#825) v2.0.1 2020-05-21 19:16:42 -04:00
Moody Salem
96c9eede18
chore(release): automatically publish daily releases 2020-05-21 15:55:12 -04:00
Moody Salem
f4a97501e5
chore(readme): update the README.md 2020-05-21 15:54:28 -04:00
Moody Salem
2ff5ce62db
chore(package.json): every dependency is a dev dependency, clean up generated release description 2020-05-21 15:47:52 -04:00
Moody Salem
79176dfe79
chore(release): Change the release schedule to daily 2020-05-21 15:38:30 -04:00
Moody Salem
4880e0fb02
chore(release): Deploy v2 to IPFS
BREAKING CHANGE: Trigger a v2.0.0 tag
v2.0.0
2020-05-21 15:36:56 -04:00
Moody Salem
ceea563af5
Try again, fix upload hash output variable, temporarily create release on every push 2020-05-21 14:30:31 -04:00
Moody Salem
992c5a8e54
Try without the if statement 2020-05-21 14:20:09 -04:00
Moody Salem
850e9bb2bd
Try a different syntax 2020-05-21 14:12:49 -04:00