Commit Graph

172 Commits

Author SHA1 Message Date
Moody Salem
7cf25ac7c8
feat(lists): allow selecting and adding token lists (#1023)
* more list stuff

Use the selected list instead of the default list, but also use the default list

start list selection code

* move token warning to a modal, fix the install issue

* add/remove/enter key

* handle enter on currency select for ETHER

* change slippage tolerance to be a slider

* make ui closer to the mocks

* commit slider changes

* back to tabs

* copy changes

* bump list version

* some styling for the list select

* bump uniswap default list version

* use contract calls to get ens names and addresses

* show list logo

* fix failing integration test

* .eth.link

* list introduction screen

* remove showSendWithSwap

* fix integration and unit tests

* resolve ENS names

* logos from ens

* fix the lint errors

* some refactoring to better support using a the library provider from the user for resolving ENS names

* load list info from the list url for the introduction page

* make it slightly harder to remove a list

* minor clean up, some help text and links

* remove icon from list update popup

* show added/removed tokens

* add GA everywhere, don't debounce contenthash lookups

* show tags

* fix tag key

* tag display, list rendering, needs optimization

* fix list fetching in firefox, style issue in safari

* sort the lists, clean up styling

* use client provider when possible

* show token warning for url loaded tokens

* improve the warning modal

* some refactoring to fix the list fetching on networks other than mainnet

* fix tests

* some minor improvements

* increase timeout to maybe fix integration tests which pass locally

* build for tests using the dev network url

* reset the lists if we deleted the other two copies

* improve how we handle updating the default list of lists

* fix integration test

* Update token list selection styles

* fix external links, reuse the on click outside code, show add errors

* show the list origin instead of the full url

* fix update list link

* show host instead of hostname
do not automatically dismiss major version upgrades for lists

* fix link to tokenlists.org

* add uma

* clean up styling in list rows

* bump token list version

* bump token list version again

* hover symbol to see currency name

* bump version

* add cmc lists, dharma list

Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-26 08:46:21 -05:00
Moody Salem
e32fd3a8fc
disable blank issues 2020-08-18 10:26:33 -05:00
Moody Salem
057417c666
add a snippet to the issue templates 2020-08-18 10:25:02 -05:00
Moody Salem
3a36ac5538
chore(release): update dns again 2020-07-27 12:33:31 -05:00
Moody Salem
365b429c0b
feat(token lists): implement the uniswap default list as a token list (#983)
* load tokens from url `useTokenList`

* improve performance of the loading

* move the loading to redux and save loaded lists

* lint error

* move the list fetching code to a separate component

* change how token lists are fetched to use the updater and add unit tests

* fix a crash with currencyEquals

* bump sdk version

* token lists should automatically update for minor/patch changes

* nit

* show popups for list updates

* support pointing at localhost

* spuport ipfs/ipns logos

* use the updater to bump list versions

* save the old/new list in the popup for viewing diffs

* improve the list popup

* fix linter error, make sure visibility checking is working

* show list update notifications

* address a couple metamask warnings, linter error

* fix the custom added/default tokens

* refactor some popup stuff to reuse the fader

* linter error

* Revert: refactor some popup stuff to reuse the fader (a7b0f752)

* style improvements, linter

* add to the readme, drop the token-request template

* back to the beta that works with wallet connect

* get the dependencies to a state that works with wallet connect and passes integration tests
2020-07-25 10:41:03 -05:00
Moody Salem
848c7b418b
skip dns update while we work out cloudflare caching issues 2020-07-14 19:37:03 -04:00
Moody Salem
f619cf4353
fix the cf-ipfs url 2020-07-14 11:06:52 -04:00
Moody Salem
344b4340ae
improvement(pool): simplify pool flow, remove pool search modal (#941)
* deleting some code first

* strict, some refactoring

* denser common bases

* more add liquidity refactoring

* add liquidity paths working

* show common bases in the token selects

* fix the ability to select duplicate tokens

* useless rename

* try to handle alllll the duplicate token edge cases

* think i got them all lol

* remove common bases header

* Revert "remove common bases header"

This reverts commit 6ac4565d

* fix and add integration tests

* make gap between rows smaller

* get integration tests actually running again

* try another format of the command, upgrade serve

* frozen lockfile on install

* try the cypress github action

* install cypress in ci

* remove redundant ignore-scripts command

* use a specific github commit for the pinata action

* fix a bug in the multicall reducer, improve token list rendering performance

* improve the enter key on the token search modal

* stop using history.push

* fix linting errors

* position card cleanup before updating to match mock
2020-07-10 15:25:15 -04:00
Moody Salem
c26716047f
chore(release): allow (new) manual trigger of release 2020-07-09 09:57:17 -04:00
Moody Salem
9f3e49b4d8
chore(ipfs migration): point at master branch instead of v2 branch 2020-06-30 13:49:38 -04:00
Moody Salem
d4911d1054
chore(ipfs migration): changes for ipfs url migration
- remove netlify stuff
- update rename to uniswap-interface
- always use hash router
2020-06-30 13:41:51 -04:00
Moody Salem
041c86c04d
fix dns variable 2020-06-24 20:07:50 -05:00
Moody Salem
123373e671
docs in release, trigger another release 2020-06-24 19:33:26 -05:00
Moody Salem
eb1732deee
release text 2020-06-24 19:15:18 -05:00
Moody Salem
3c13321a71
point at a specific audited commit for the cloudflare update action 2020-06-24 19:12:26 -05:00
Moody Salem
58703f31a0
chore(release): update cloudflare's DNS instead of vercel's DNS 2020-06-24 19:09:02 -05:00
Moody Salem
46fc74e90f
chore(deploy): trigger a deploy and also trigger deploys on .env.production changes 2020-06-15 10:19:46 -04:00
Moody Salem
9566fb888e
- do not deploy on weekends
- update text in release body
2020-06-10 13:55:35 -04:00
Moody Salem
7adb4b6bd6
chore(release): fix changelog commit hashes 2020-05-27 12:29:49 -04:00
Moody Salem
4b57059353
fix(release): fix the dns record update 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
4414134bb2
chore(release): Fix release links 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 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 2020-05-25 01:39:50 -04:00
Moody Salem
175e93fbba
chore(release): Update the release text 2020-05-23 16:07:23 -04:00
Moody Salem
f110fa7732
chore(release): update DNS on release 2020-05-22 08:08:11 -04:00
Moody Salem
96c9eede18
chore(release): automatically publish daily releases 2020-05-21 15:55:12 -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
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
Moody Salem
e5bf2d0823
Pin to pinata instead 2020-05-21 14:08:34 -04:00
Moody Salem
2708d26495
Cancel release job if no new commits 2020-05-21 14:01:43 -04:00
Moody Salem
384c3cada4
Add integration test, change ipfs deploy into daily release workflow 2020-05-20 22:31:05 -05:00
Moody Salem
2b4f511b55
Bump release action to a version that has the body parameter, and add logic to whether it's a prerelease 2020-05-20 18:58:19 -05:00
Moody Salem
7d379b796c
yaml error 2020-05-20 18:45:58 -05:00
Moody Salem
4e8777c728
Create a draft release with the IPFS URLs in the body 2020-05-20 18:45:04 -05:00
Moody Salem
2ff8f5a7ff
Master instead of v1 2020-05-20 16:11:56 -05:00
Moody Salem
0b8d05b696
Add a new target for deploying to IPFS (#819)
* Add a new target for deploying to IPFS

* verbose command

* Try the github action
2020-05-20 16:10:26 -05:00
Moody Salem
4398fef38f
Use yarn cache plugin to speed up GitHub test actions 2020-05-12 18:14:39 -04:00
Moody Salem
3b3f281319
Use eslint/prettier for typescript files 2020-05-08 14:50:27 -04:00
Moody Salem
28b24036c6
Cypress (#734)
* Add some basic integration tests and CI in GitHub

* Add push trigger

* Add badge for tests to readme

* Unit tests

* Just use the development infura URL in the tests

* Remove unused webpack config

* Make integration test run on the same port as yarn start

* make test a little bit better

* rename describe
2020-05-08 11:38:33 -04:00
Noah Zinsmeister
518f38421b
add coingecko option
closes #616
2020-02-12 10:46:08 -05:00
Ian Lapham
815f710d80
Remove setup and move to root README 2019-12-12 10:34:28 -05:00
Ian Lapham
8f4825c0d4
Update with secrets 2019-12-11 18:57:06 -05:00
Ian Lapham
b9b17dc1b0
Add release setup 2019-12-11 17:45:31 -05:00
Noah Zinsmeister
fd6594ae71
style edits 2019-10-29 16:02:44 -04:00
Ian Lapham
c8b3e1820c Update issue templates
Updated descriptions wanted for new tokens
2019-10-16 14:55:07 -04:00
Noah Zinsmeister
0fb3565cb8
fix pull request template 2019-08-13 10:32:18 -07:00
Noah Zinsmeister
4e834c4cc7
add PR template 2019-08-13 10:09:31 -07:00
Noah Zinsmeister
8f2c347d07 Update issue templates 2019-05-13 09:49:58 -04:00
Noah Zinsmeister
0b3201372d Update issue templates 2019-04-15 11:08:23 -04:00