Commit Graph

176 Commits

Author SHA1 Message Date
Moody Salem
745be977ef
fix(lint): clean up the eslint config (#2886)
* fix(lint): clean up the eslint config

* Fix code style issues with ESLint

* fix the linter errors that arose from using the proper config

* clean up the rebass text renames

* fix if statement, use the config

* use the same name prefix for both steps

* `TextPreset` -> `ThemedText`

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-11-30 15:20:59 -05:00
Moody Salem
f7ecdc4332
chore: run linters with auto_fix = false for forks (#2852) 2021-11-28 12:30:58 -05:00
Moody Salem
48cc6811c9
fix: bump to latest token list including ENS token 2021-11-08 23:46:50 -05:00
Zach Pomerantz
23f722cb72
chore: clean up package scripts (#2435)
* chore: clean up package scripts

* fix: respect yarn scripts
2021-09-24 09:24:03 -07:00
Moody Salem
738fac0c84
chore(ci): configure dependabot to automatically update token lists 2021-09-22 12:52:11 -05:00
Moody Salem
19c3983351
chore: update the linter to skip running on forks and update the version 2021-09-21 18:15:59 -05:00
Zach Pomerantz
442ac8936d
chore: use ubuntu-latest for integration tests (#2348) 2021-09-14 10:04:15 -07:00
kun
3ea6f6e0c8
chore(ci): upgrade crust pinner adapt to crust mainnet (#2281)
* Add Pin to Crust workflow

* Upgrade crust pinner adapt Crust Mainnet
2021-09-07 09:37:07 -05:00
Zach Pomerantz
f51335df9d
fix: disable serviceworker in integration tests (#2274) 2021-08-31 11:00:19 -07:00
Moody Salem
a3aa6647e7
chore: set default_bump to false per https://github.com/mathieudutour/github-tag-action/issues/85 2021-08-11 10:19:37 -05:00
Moody Salem
8a7f1d51ce
chore(ci): record integration tests 2021-06-28 15:12:24 -05:00
Moody Salem
ce926e91b7
chore(ci): skip ci on crowdin syncs 2021-06-08 19:29:57 -05:00
Moody Salem
55d5762e39
chore(ci): sync translations from crowdin straight into main 2021-06-01 09:59:27 -05:00
Moody Salem
499ef27722
fix the english translation in build 2021-05-30 13:37:33 -05:00
Moody Salem
637d43621b
chore(ci): undo the if check on yarn install 2021-05-29 20:41:16 -05:00
Moody Salem
40b939df58
chore(ci): skip install step if node modules is cached and remove cache from release 2021-05-29 20:19:49 -05:00
Moody Salem
9df5b536c9
chore(ci): set up the shared cache for all jobs and extract before doing the sync 2021-05-29 20:06:49 -05:00
Moody Salem
63affd9828
add required translation key 2021-05-29 15:48:20 -05:00
Moody Salem
08b74b2524
add the source config key 2021-05-29 15:45:49 -05:00
Moody Salem
ffcea6388e
chore(ci): separate sources upload and translations download workflows 2021-05-29 15:44:26 -05:00
Moody Salem
408a07ebd4
try extracting en-US.po only in the github workflow 2021-05-29 15:32:51 -05:00
Moody Salem
d6db79b8f5
update the commit message since it is used in the pr merge commit 2021-05-29 00:01:51 -05:00
Moody Salem
d719942931
chore: en -> en-US 2021-05-28 23:15:07 -05:00
Moody Salem
ab34645073
chore: pare down the locales directory to let the crowdin sync do the work 2021-05-28 23:06:54 -05:00
Moody Salem
dab3671cfe
fix environment variable 2021-05-28 22:07:15 -05:00
Moody Salem
478cb3afa3
another config change to try 2021-05-28 22:06:15 -05:00
Moody Salem
d56015d750
one more config attempt 2021-05-28 21:57:25 -05:00
Moody Salem
a639e65cee
chore(ci): try inlining the config 2021-05-28 21:55:29 -05:00
Moody Salem
243e14b74e
chore(ci): add a workflow for crowdin.yaml 2021-05-28 21:48:15 -05:00
Moody Salem
458d34d96c
give the check a name 2021-05-18 15:14:33 -05:00
Moody Salem
3d5f5f783c
chore: check pr titles 2021-05-18 13:26:23 -05:00
Moody Salem
897f354202
chore: bump mathieudutour/github-tag-action to latest release version to fix generated changelogs
https://github.com/Uniswap/uniswap-interface/issues/1572
2021-05-14 10:56:57 -05:00
Moody Salem
809902efec
fixes https://github.com/Uniswap/uniswap-interface/issues/1386 2021-05-13 12:17:34 -05:00
Moody Salem
54f59e02fd
add page url to the issue template 2021-05-12 16:17:46 -05:00
Moody Salem
d4562a2373
uncomment release workflow lines (will be disabled manually) 2021-04-21 12:48:43 -05:00
Moody Salem
e13369154d
Merge branch 'main' into v3-main
# Conflicts:
#	.github/workflows/tests.yaml
2021-04-21 12:37:20 -05:00
Moody Salem
77b640c41b
chore(tests): improve the CI (#1370)
* improve the CI

* change triggers

* add pull request target back
2021-04-21 12:35:49 -05:00
Moody Salem
2d4b60b9dd
Merge branch 'main' into v3-main
# Conflicts:
#	.env
#	README.md
#	package.json
#	src/components/TokenWarningModal/index.tsx
#	src/connectors/index.ts
#	src/constants/index.ts
#	src/hooks/Trades.ts
#	src/index.tsx
#	src/state/claim/hooks.ts
#	src/state/user/hooks.tsx
#	yarn.lock
2021-04-19 11:37:33 -05:00
Kun
d70b456855
Add Pin to Crust workflow (#1342) 2021-03-26 10:03:25 -05:00
Jordan Frankfurt
4e17107ac5 upgrade prettier 2021-02-16 03:34:45 -05:00
Jordan Frankfurt
6965707d45 Revert "upgrade prettier"
This reverts commit 5fabe438e52d4844307f86577d1d13a2e571e5f5.
2021-02-16 03:26:53 -05:00
Jordan Frankfurt
5fabe438e5 upgrade prettier 2021-02-14 03:07:58 -05:00
Moody Salem
db886930a0
Update release.yaml 2021-02-12 10:51:31 -06:00
Jordan Frankfurt
0b7846ee1d
fix(discord): correct links (#1315) 2021-02-10 10:56:42 -05:00
Moody Salem
9efd5da1f7
change branch in workflows 2021-02-03 12:56:02 -06:00
Moody Salem
9e140d1214
chore(release): reenable automatic releases 2020-10-01 11:21:48 -05:00
Moody Salem
1ac16586ff
remove npm token 2020-09-24 14:43:08 -05:00
Moody Salem
e2686e0ed1
pull request target instead 2020-09-24 12:18:40 -05:00
Moody Salem
f64b3c2c8f
improve the issues config.yml 2020-09-24 11:55:23 -05:00
Moody Salem
5a579e05e7
add a contact link to discord 2020-09-24 11:52:14 -05:00
Moody Salem
8c4fd0a47d
Some cleanup of workflows
BREAKING CHANGE: trigger a new major release
2020-09-24 11:35:53 -05:00
Moody Salem
7d526c5855
enable manual trigger 2020-09-24 11:31:18 -05:00
Moody Salem
03913d9c0b
UNI 2020-09-24 11:29:31 -05:00
Moody Salem
23c7f4ce38
temporarily disable releases for bugfix 2020-09-09 17:24:35 -05:00
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