Crowdin Bot
8c1e9b394b
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-06 22:04:39 +00:00
Moody Salem
cfe590d810
refactor(devx): show a warning when a call fails due to insufficient gas allowed
2021-07-06 16:28:01 -05:00
Noah Zinsmeister
2ee9b16c49
remove a lot of dead code ( #1970 )
2021-07-06 17:08:40 -04:00
Moody Salem
c52cd2c38e
fix(position image): increase the gas required constraint for the token URI
2021-07-06 16:08:20 -05:00
Noah Zinsmeister
43cefbdc6a
no more borderRadius
errors! ( #1968 )
2021-07-06 17:05:19 -04:00
Moody Salem
ae86fefe8b
fix: do not reverse the proposals list in place
2021-07-06 10:17:08 -05:00
Crowdin Bot
8901605c32
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-05 12:05:15 +00:00
Justin Domingue
568829d3b5
fix: invalidate subgraph cache with provideTags ( #1962 )
...
* invalidate queries using tags
* enhance generated api with provide tags
* clean up
2021-07-03 12:56:38 -07:00
Justin Domingue
b0f4b4c735
remove loading indicator from fee tier selection ( #1954 )
2021-07-02 11:00:48 -07:00
Moody Salem
a73d3af4b2
fix: use an arbitrum multicall that returns a better block number
2021-07-02 12:56:12 -05:00
Moody Salem
2c7b431e60
fix: use a multicall that allows limiting gas of the individual calls ( #1953 )
...
* fix: use a multicall that allows limiting gas of the individual calls
* use the latest multicall addresses
2021-07-02 12:25:37 -05:00
Ian Lapham
0805b2d9b8
update defaults ( #1955 )
2021-07-02 13:24:04 -04:00
Moody Salem
6c8fc5a7f6
fix: reduce call retries by specifying a block tag in multicall
2021-07-02 09:25:11 -05:00
Crowdin Bot
702258574d
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-02 06:09:45 +00:00
Crowdin Bot
17bc229a36
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-01 23:07:38 +00:00
Justin Domingue
458a7d90a0
various edits
2021-07-01 15:13:36 -07:00
Crowdin Bot
72877fb0b6
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-01 20:09:52 +00:00
Moody Salem
27f756107e
refactor: logs hook ( #1941 )
...
* feat(logs): add an infrastructure for fetching logs in a declarative way
* use the logs hook in the vote page, first pass
* fix comment
* bit of cleanup
* unused imports
* improve loading indicator on vote page
* some testnet behavior improvements
* fix loader state
* loading state nit
* show correct indexes
* remove the unnecessary retry code
* first pass at the slice
* no throws
* loading indicator should go away if not connected
* use the logs slice for the logs hook state
* style changes per cal's request
2021-07-01 14:44:02 -05:00
Justin Domingue
abfd87c517
feat(pools): fetch pool tick data from uniswap v3 subgraph ( #1932 )
...
* add hooks to fecth ticks data and active liquidity
* cleanup
* add polling interval
* moved ms.macro types to dev deps
* generate graphql schema on build
* added @types/ms.macro
* use clone deep
2021-07-01 11:08:53 -07:00
Crowdin Bot
b3d772bdb5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-01 18:04:48 +00:00
Justin Domingue
d9c82ebf49
feat: add fee tier distribution badge ( #1862 )
...
* integrate with The Graph and auto-select fee tier
* restored
* addressed some design feedback
* add pulsing animation on feeAmount change
* simplify fee tier title
* adjust button radios
* addressed some design feedback
* log ReactGA events
* ignore data while fetching
* update to use new generated queries
* remove deleted file
* add usefeetierdistribution hook
* invalidate cache and standardize the outlined card
* added react ga
* fix show options logic
* address design feedback
* show % select in minified view
* updated merge error
2021-07-01 10:56:27 -07:00
Justin Domingue
5298a5ce29
feat: handle chain id in subgraph api ( #1938 )
...
* build dynamic subgraph url based on chain id
* reset api state (query cache) on chain id change
* removed dependency on rtk-query/graphql
* add error message
2021-07-01 09:50:03 -07:00
Moody Salem
4d3073d2d9
fix(position page): link to the token page of the explorer instead of the address page from the position page
2021-07-01 10:55:28 -05:00
Crowdin Bot
361e0ca8d7
chore(i18n): synchronize translations from crowdin [skip ci]
2021-07-01 10:04:56 +00:00
Justin Domingue
9cfbec4b8b
generated graphql schema and en-US.po on start ( #1930 )
2021-06-29 12:03:47 -07:00
Crowdin Bot
b5ac5d882f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-29 09:04:42 +00:00
Crowdin Bot
130606cab4
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-29 08:04:53 +00:00
Moody Salem
633f65676e
fix(theme): fix the missing background radial gradient
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1925
2021-06-28 19:35:41 -05:00
Moody Salem
9bccb7ae3a
fix(multicall): better use the block number returned from calls, and cancel all calls when a new block comes in
2021-06-28 19:26:47 -05:00
Justin Domingue
1667b56a04
feat(thegraph): auto-generate graphql types ( #1926 )
...
* auto-generate graphql types
* remove introspection
* generated .ts and add to prettierignore
* updated graph url
2021-06-28 16:43:24 -07:00
Justin Domingue
6e995d6c09
feat(pools): integrate with The Graph using RTK Query ( #1924 )
...
* integrate with the graph
* Update src/state/data/slice.ts
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-06-28 15:12:58 -07:00
Moody Salem
f096112716
fix: improve how we use blocks per fetch in the memoization of the listeners ( #1920 )
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1877
2021-06-28 16:39:19 -05:00
Jordan Frankfurt
50c7d36164
replace trustwallet assets repo w/ our fork ( #1922 )
2021-06-28 16:35:31 -04:00
Crowdin Bot
8f59f501cc
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-28 16:04:43 +00:00
Jordan Frankfurt
197947835b
remove unneeded log ( #1917 )
2021-06-27 22:23:46 -04:00
Crowdin Bot
94081b29a3
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-27 05:04:39 +00:00
Moody Salem
69183ed8c2
fix: translate claim modal inputs
2021-06-26 23:58:25 -05:00
Crowdin Bot
05e741b6c9
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-27 00:08:49 +00:00
Jordan Frankfurt
dfe550c43b
add arbitrum-specific L2 designs ( #1912 )
2021-06-26 19:54:30 -04:00
Crowdin Bot
65dfb40e44
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-25 15:04:42 +00:00
Moody Salem
25f5ed9983
fix: scrollbars showing up in modal with mouse connected, use auto instead of scroll
2021-06-25 10:00:25 -05:00
Yuta Sugimura
9b1ef415c6
refactor: remove unneeded react import ( #1801 )
...
* Add rules
* Remove React import
* remove React import
2021-06-25 09:52:49 -05:00
Crowdin Bot
70f481430a
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-25 07:04:27 +00:00
Justin Domingue
942211eb00
fix: typos in modal css ( #1911 )
...
* allow modal scrolling on dekstop
* removed quote and fixed typo
2021-06-24 13:33:11 -07:00
Justin Domingue
6589c41800
allow modal scrolling on dekstop ( #1910 )
2021-06-24 10:04:07 -07:00
Moody Salem
14bac770b6
fix(arbitrum): explorer links and better anonymization of GA events
2021-06-24 11:38:08 -05:00
Crowdin Bot
c9dbe2f0ac
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-24 10:04:51 +00:00
Crowdin Bot
775cf57c30
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-24 09:04:32 +00:00
Moody Salem
f4935e9264
fix(arbitrum): miscellaneous arbitrum network changes
...
- adds the arbitrum rinkeby testnet deployment
- compute usdc prices on arbitrum one
2021-06-23 20:58:03 -05:00
Crowdin Bot
6b3914b7b9
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-23 08:05:03 +00:00
Crowdin Bot
41efb6f617
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-23 06:05:18 +00:00
Crowdin Bot
52df5f14cf
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-22 23:04:56 +00:00
Noah Zinsmeister
b48a7c529f
fix: proposal sorting
2021-06-22 18:47:12 -04:00
Moody Salem
2eca50be93
chore: remove defunct arbitrum kovan testnet
2021-06-22 17:23:40 -05:00
Moody Salem
be2ce18bfa
fix: change polling interval per network ( #1898 )
2021-06-22 17:21:01 -05:00
Crowdin Bot
02aac08489
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-22 21:05:04 +00:00
Crowdin Bot
8f29980b94
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-22 20:05:13 +00:00
Scott Moses Sunarto
bb542ef0fb
feat: Add proposal creation interface ( #1799 )
...
* Make address input panel more generalized
* Add TextInput component
* Allow adjusting AppBody maxwidth
* Add create proposal layout page
* Fix style consistency
* create proposal ui goes brrr
* various fixes
* minor tweaks and bug fixes
* merge conflict clean up + bug fix
* i18n
* always show create proposal button
* adjust proposal title top margin and show ButtonError styling
* use button disable instead of button error when form is not filled
* revert mistaken css change
* default params for address input panel
* Refactor & fixes
- Add missing i18n
- Refactor how some styled-components is done
- ButtonError is now disabled when proposal is true in create proposal interface
- Edit copywriting
- Minor styling adjustments
* Fixed create proposal padding on medium screen
* refactor
* refactor pt. 2
* single column styling
* change AddressInputPanel font color
* Design adjustments
* change route for create proposal
* Add autonomous proposal CTA
* cta text edit
* Add link to docs for custom action
* small cleanup
* work with latest governor
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-06-22 15:51:32 -04:00
Crowdin Bot
c2fe17615f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-22 13:12:10 +00:00
Crowdin Bot
a4cab75d09
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-22 08:04:47 +00:00
Crowdin Bot
882457cfef
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-21 16:05:32 +00:00
Justin Domingue
9a1bb5dbfb
Add missing semicolon in English source
2021-06-21 08:10:00 -07:00
Crowdin Bot
767cc85b3e
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-21 07:07:47 +00:00
Crowdin Bot
47d726e544
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-21 06:04:54 +00:00
Crowdin Bot
32118520cd
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-20 19:05:02 +00:00
Crowdin Bot
ada8a3af92
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-19 07:06:22 +00:00
Crowdin Bot
63694b32c0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-19 06:05:14 +00:00
Crowdin Bot
c9ab94d799
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-19 04:05:38 +00:00
Crowdin Bot
a990c4af70
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-18 21:04:57 +00:00
Crowdin Bot
b5cc33c1f5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-18 20:05:12 +00:00
Justin Domingue
31da6cdb9d
fix: new toggle theme ( #1782 )
...
* new toggle theme
* moved trans to default
* update radius
* fianlize styles
2021-06-18 12:44:14 -07:00
Crowdin Bot
4079d8a517
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-18 16:05:52 +00:00
Crowdin Bot
e93fbfd31b
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-18 15:05:19 +00:00
Crowdin Bot
7817846368
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-17 23:04:59 +00:00
Crowdin Bot
fc6a69a9af
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-17 09:04:49 +00:00
Crowdin Bot
93a774092f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-17 08:05:12 +00:00
Crowdin Bot
55563e9bb2
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-17 07:07:40 +00:00
Crowdin Bot
f44aae2f53
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-17 06:04:53 +00:00
Crowdin Bot
7d674c33e7
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-17 04:05:17 +00:00
Noah Zinsmeister
79e6337629
fix governorIndex
2021-06-16 17:31:24 -04:00
Noah Zinsmeister
3c8e8604b8
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-06-16 17:22:46 -04:00
Noah Zinsmeister
b763659788
restrict governance UI to mainnet only
...
fix governor name bug
revert useContract change
add governorIndex to vote page
only fetch latest useLatestProposalCount
fix useDataFromEventLogs
hardcode proposalIndexes for old governors
2021-06-16 17:22:37 -04:00
Crowdin Bot
1ac2581419
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 20:04:59 +00:00
Crowdin Bot
9f556680ed
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 19:06:17 +00:00
Justin Domingue
3f242f1b44
fix: memoize extendedEther to unnecessary rerenders ( #1869 )
2021-06-16 11:07:16 -07:00
Crowdin Bot
126688c753
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 17:16:00 +00:00
Ian Lapham
374cc361a6
small bg fixes ( #1868 )
2021-06-16 13:14:31 -04:00
Crowdin Bot
0198d0baa1
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 16:05:39 +00:00
Crowdin Bot
da2d7ba648
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 15:05:16 +00:00
Yuta Sugimura
37cf492dd5
fix: Add SwitchLocaleLink to a page where it does not exist ( #1867 )
2021-06-16 07:24:25 -07:00
Crowdin Bot
9e93f809a0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 14:05:04 +00:00
Crowdin Bot
d9bd392e6d
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 12:05:13 +00:00
Crowdin Bot
c48adc519f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 11:05:10 +00:00
Crowdin Bot
9f8983a92e
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 10:05:07 +00:00
Crowdin Bot
c9d3d81768
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 09:05:06 +00:00
Crowdin Bot
c6f73c35ee
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 08:05:22 +00:00
Crowdin Bot
7a2777b814
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-16 03:05:54 +00:00
Jordan Frankfurt
014595cdfb
feat: add multi-contract governance support ( #1860 )
...
* Revert "feat: quick fix for new governor"
This reverts commit 5dd1249dddc3e097c26a68bd5b4157ffa341dd60.
* support multiple governance contracts
2021-06-15 22:36:27 -04:00
Crowdin Bot
c4d12c86a8
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 23:04:42 +00:00
Crowdin Bot
8d2feeb89e
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 19:05:52 +00:00
Crowdin Bot
576b399768
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 18:06:23 +00:00
Crowdin Bot
eb8ce85872
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 15:04:56 +00:00
Justin Domingue
1644e4f9c6
fix(a11y): color contrast changes ( #1803 )
...
* fix: a11y changes
* more a11y fixes
* updated theme colors
* addressed rev4 comments
* address rev5 comments
* addressed rev6
2021-06-15 07:55:38 -07:00
Yuta Sugimura
574fab54d1
fix: props for ResponsiveButtonPrimary ( #1839 )
...
* fix: props for ResponsiveButtonPrimary
* fix ResponsiveButtonPrimary style
2021-06-15 07:55:11 -07:00
Crowdin Bot
8e581c19ff
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 09:05:09 +00:00
Crowdin Bot
8c2fa89e9e
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 08:05:05 +00:00
Crowdin Bot
0ae7452eca
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 07:07:02 +00:00
Crowdin Bot
4589beb789
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 06:04:49 +00:00
Crowdin Bot
55aee86971
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 04:04:55 +00:00
Crowdin Bot
a457af91b6
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 03:07:51 +00:00
Crowdin Bot
e61b5da3c5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-15 00:08:26 +00:00
Crowdin Bot
b4f44744c1
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 23:05:29 +00:00
Crowdin Bot
27f4e2e750
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 22:04:51 +00:00
Crowdin Bot
01159c53d5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 21:04:56 +00:00
Crowdin Bot
8d8d63b873
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 20:05:10 +00:00
Crowdin Bot
da9db4b5f1
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 18:04:48 +00:00
Justin Domingue
1724bee0f5
Update useSwapCallback.ts
2021-06-14 10:24:33 -07:00
Crowdin Bot
48e526554b
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 17:14:33 +00:00
Crowdin Bot
53add345de
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 16:05:45 +00:00
Crowdin Bot
e28faf0da2
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 13:12:25 +00:00
Crowdin Bot
f79dc5fe82
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 12:04:53 +00:00
Crowdin Bot
a6f29cbff8
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 11:04:51 +00:00
Crowdin Bot
68f0d4b725
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 10:04:57 +00:00
Crowdin Bot
111e7dc929
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 09:04:55 +00:00
Crowdin Bot
39d61e4913
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 08:07:59 +00:00
Crowdin Bot
3e6d3ec1b5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 07:07:26 +00:00
Crowdin Bot
3f65530bf4
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 06:04:48 +00:00
Crowdin Bot
dba0d20781
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 05:07:28 +00:00
Crowdin Bot
a0f3bd0dc6
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 04:04:52 +00:00
Crowdin Bot
bef85abfd4
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 03:06:19 +00:00
Crowdin Bot
9934dba805
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 02:21:00 +00:00
Crowdin Bot
72d94b2831
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 01:28:24 +00:00
Crowdin Bot
138697a30a
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-14 00:10:25 +00:00
Crowdin Bot
0add8ae177
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 22:04:40 +00:00
Crowdin Bot
13f7859aaa
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 21:04:46 +00:00
Crowdin Bot
3337b5de22
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 20:04:51 +00:00
Noah Zinsmeister
55ea6616a4
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-06-13 15:15:07 -04:00
Noah Zinsmeister
5dd1249ddd
feat: quick fix for new governor
2021-06-13 15:15:00 -04:00
Crowdin Bot
4ab2bd3474
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 19:06:13 +00:00
Crowdin Bot
9eb20624cb
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 18:05:07 +00:00
Crowdin Bot
25c5cf04e6
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 17:13:27 +00:00
Crowdin Bot
1f70e63cd0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 16:08:49 +00:00
Crowdin Bot
df88b0ddd1
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 15:05:26 +00:00
Crowdin Bot
679759c3a0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 14:05:00 +00:00
Crowdin Bot
9b6003bdc5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 13:12:31 +00:00
Crowdin Bot
2b32824c26
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 12:09:45 +00:00
Crowdin Bot
a4e4cf8ab9
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 11:04:48 +00:00
Crowdin Bot
f08cea1820
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 10:04:50 +00:00
Crowdin Bot
e2d35c56fc
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 09:05:04 +00:00
Crowdin Bot
5f20040107
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 07:06:32 +00:00
Crowdin Bot
9344abd1cf
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 06:05:04 +00:00
Crowdin Bot
426e31230d
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 05:06:53 +00:00
Crowdin Bot
06c48559c5
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 04:05:34 +00:00
Crowdin Bot
0a33ed1a50
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 03:05:54 +00:00
Crowdin Bot
d5c490b871
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 02:19:46 +00:00
Crowdin Bot
099c2adea3
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 01:28:37 +00:00
Crowdin Bot
d387538576
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-13 00:10:49 +00:00
Crowdin Bot
a3a7d01ce9
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 23:05:25 +00:00
Crowdin Bot
549e67bcea
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 22:09:06 +00:00
Crowdin Bot
932992b57f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 21:04:46 +00:00
Crowdin Bot
76a24376d4
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 20:08:09 +00:00
Crowdin Bot
f873b2249f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 19:08:33 +00:00
Crowdin Bot
22452c03b0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 18:05:07 +00:00
Crowdin Bot
14e045b999
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 17:13:55 +00:00
Crowdin Bot
948781f927
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 16:05:42 +00:00
Crowdin Bot
2f72d6b77e
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 15:06:47 +00:00
Crowdin Bot
a78209690d
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 14:04:39 +00:00
Crowdin Bot
98a2f51125
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 13:10:38 +00:00
Crowdin Bot
a1043573af
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 12:07:02 +00:00
Crowdin Bot
63760faa9d
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 11:04:39 +00:00
Crowdin Bot
0566ec28be
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 10:04:55 +00:00
Crowdin Bot
d4c1baba57
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 09:04:49 +00:00
Crowdin Bot
7e41b27cd3
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 08:05:55 +00:00
Crowdin Bot
1d18a5159f
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 07:06:40 +00:00
Crowdin Bot
bb87d2dd03
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 06:04:58 +00:00
Crowdin Bot
0b27528a6a
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 05:06:33 +00:00
Crowdin Bot
5788a273ba
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 04:09:51 +00:00
Crowdin Bot
4d322b17da
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-12 03:09:09 +00:00
Crowdin Bot
cb5b80b558
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-11 16:05:43 +00:00
Crowdin Bot
6964b519bc
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-11 11:04:45 +00:00
Crowdin Bot
ee4ea2a1f0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-11 10:05:12 +00:00
Crowdin Bot
3763ad15e0
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 18:14:56 +00:00
Justin Domingue
557042a88f
add missing translations ( #1842 )
2021-06-10 10:42:07 -07:00
Crowdin Bot
860413dd52
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 17:21:32 +00:00
Crowdin Bot
18d4cdcce4
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 14:05:54 +00:00
Crowdin Bot
55767de484
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 13:15:24 +00:00
Yuta Sugimura
60d5cef69b
fix: untranslated parts ( #1837 )
2021-06-10 07:49:03 -05:00
yj
ad2833a3ed
Translate both text in PositionPage.tsx ( #1838 )
2021-06-10 07:47:59 -05:00
Crowdin Bot
e4a105714a
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 12:05:11 +00:00
Crowdin Bot
3e842d3259
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 10:05:04 +00:00
Crowdin Bot
e9d18acd41
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-10 00:10:42 +00:00
Moody Salem
abeba3d6b6
fix: translate both prices in the rate toggle
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1834
2021-06-09 18:06:42 -05:00
Moody Salem
84c4219c02
fix: proposals not showing up on first load of vote page
2021-06-09 18:04:59 -05:00
Crowdin Bot
50b81c8334
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-09 19:14:47 +00:00
Crowdin Bot
8986b63335
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-09 18:15:03 +00:00
Crowdin Bot
631b4c08b6
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-09 17:20:45 +00:00
Crowdin Bot
b92f0b8d90
chore(i18n): synchronize translations from crowdin [skip ci]
2021-06-09 08:05:19 +00:00
Justin Domingue
4857281a1e
undo testing artifact
2021-06-08 11:49:38 -07:00
Crowdin Bot
d2a872e7d2
chore(i18n): synchronize translations from crowdin
2021-06-08 14:09:11 +00:00
Crowdin Bot
73042f20fd
chore(i18n): synchronize translations from crowdin
2021-06-08 13:16:53 +00:00
Crowdin Bot
29b5e583c5
chore(i18n): synchronize translations from crowdin
2021-06-08 12:05:11 +00:00
Crowdin Bot
d67f3158bd
chore(i18n): synchronize translations from crowdin
2021-06-08 11:07:08 +00:00
Crowdin Bot
817732d62e
chore(i18n): synchronize translations from crowdin
2021-06-08 09:05:31 +00:00
Crowdin Bot
562a54a175
chore(i18n): synchronize translations from crowdin
2021-06-08 08:06:38 +00:00
Crowdin Bot
cd1e0cf378
chore(i18n): synchronize translations from crowdin
2021-06-08 06:12:39 +00:00
Crowdin Bot
0c81b08d66
chore(i18n): synchronize translations from crowdin
2021-06-08 04:21:20 +00:00
Crowdin Bot
2662f8afbc
chore(i18n): synchronize translations from crowdin
2021-06-08 02:38:00 +00:00
Moody Salem
355012eec9
fix: set polling interval back to 15 seconds
2021-06-07 17:52:49 -05:00
Noah Zinsmeister
68518d7ce0
fix[migrate]: use proper slippage check ( #1821 )
2021-06-07 15:01:30 -04:00
Crowdin Bot
2c9c99b868
chore(i18n): synchronize translations from crowdin
2021-06-07 18:48:52 +00:00
ChristophSiegenthaler
7b78dfa2c4
Fix typo ( #1815 )
...
Co-authored-by: ChristophSiegenthaler <csi@gmx.ch>
2021-06-07 11:07:16 -07:00
Crowdin Bot
e6cbab3c72
chore(i18n): synchronize translations from crowdin
2021-06-07 16:21:50 +00:00
Crowdin Bot
144f86bdfd
chore(i18n): synchronize translations from crowdin
2021-06-06 01:33:53 +00:00
Crowdin Bot
6703743aef
chore(i18n): synchronize translations from crowdin
2021-06-06 00:16:18 +00:00
Crowdin Bot
0320083909
chore(i18n): synchronize translations from crowdin
2021-06-05 22:08:28 +00:00
Crowdin Bot
b96f7d27ca
chore(i18n): synchronize translations from crowdin
2021-06-05 21:08:45 +00:00
Crowdin Bot
45e85bc857
chore(i18n): synchronize translations from crowdin
2021-06-05 20:11:50 +00:00
Crowdin Bot
24e1a01b1a
chore(i18n): synchronize translations from crowdin
2021-06-05 19:24:25 +00:00
Crowdin Bot
0e7a94313c
chore(i18n): synchronize translations from crowdin
2021-06-05 18:31:11 +00:00
Crowdin Bot
35e80fa3ed
chore(i18n): synchronize translations from crowdin
2021-06-05 17:29:29 +00:00
Crowdin Bot
4a70d8eb28
chore(i18n): synchronize translations from crowdin
2021-06-05 16:14:07 +00:00
Moody Salem
706d8724c1
README.md already at the top!
2021-06-05 09:47:18 -05:00
Moody Salem
6e363c1ff1
make _README.md into a symlink
2021-06-05 09:46:49 -05:00
Crowdin Bot
27007708ec
chore(i18n): synchronize translations from crowdin
2021-06-04 20:28:49 +00:00
Crowdin Bot
c4739ea963
chore(i18n): synchronize translations from crowdin
2021-06-04 18:41:01 +00:00
Justin Domingue
50954eff0f
Create _README.md
2021-06-04 11:14:15 -07:00
Crowdin Bot
af112765e4
chore(i18n): synchronize translations from crowdin
2021-06-04 14:32:59 +00:00
Crowdin Bot
52b71004d0
chore(i18n): synchronize translations from crowdin
2021-06-04 13:29:48 +00:00
Crowdin Bot
2ba7c857cd
chore(i18n): synchronize translations from crowdin
2021-06-04 12:26:58 +00:00
Crowdin Bot
67f3b40671
chore(i18n): synchronize translations from crowdin
2021-06-04 05:34:23 +00:00
Crowdin Bot
c2acf5c1a8
chore(i18n): synchronize translations from crowdin
2021-06-04 02:49:43 +00:00
Crowdin Bot
51cf8aa0da
chore(i18n): synchronize translations from crowdin
2021-06-04 01:34:22 +00:00
Crowdin Bot
bc0e578610
chore(i18n): synchronize translations from crowdin
2021-06-03 21:28:59 +00:00
Crowdin Bot
1b13cac0fb
chore(i18n): synchronize translations from crowdin
2021-06-03 20:33:14 +00:00
Crowdin Bot
14ed4dbb2e
chore(i18n): synchronize translations from crowdin
2021-06-03 11:25:20 +00:00
Crowdin Bot
dc140901b3
chore(i18n): synchronize translations from crowdin
2021-06-03 07:33:57 +00:00
Crowdin Bot
07a92ba63b
chore(i18n): synchronize translations from crowdin
2021-06-03 06:36:08 +00:00
Crowdin Bot
3f2f46df43
chore(i18n): synchronize translations from crowdin
2021-06-03 05:39:54 +00:00
Crowdin Bot
2dc5c0d386
chore(i18n): synchronize translations from crowdin
2021-06-03 04:58:53 +00:00
Crowdin Bot
38de86f4c9
chore(i18n): synchronize translations from crowdin
2021-06-03 03:01:20 +00:00
Crowdin Bot
b2196e7e48
chore(i18n): synchronize translations from crowdin
2021-06-03 00:24:19 +00:00
Crowdin Bot
30f66f7062
chore(i18n): synchronize translations from crowdin
2021-06-02 23:21:59 +00:00
Justin Domingue
b87430277a
support plurals ( #1798 )
2021-06-02 16:01:16 -07:00
Moody Salem
b4c59cfc6e
chore: fix the double translation of 'For'
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1800
2021-06-02 17:51:54 -05:00
Crowdin Bot
97bf36efbf
chore(i18n): synchronize translations from crowdin
2021-06-02 21:32:30 +00:00
Crowdin Bot
63e9f6e4d2
chore(i18n): synchronize translations from crowdin
2021-06-02 20:50:26 +00:00
Moody Salem
02d80e07dc
refactor(L2): Arbitrum Kovan testnet and Arbitrum One support ( #1716 )
...
* experimental! point at a kovan arbitrum deployment
* remove the unwrapped token from mint hook
* fix explorer links
* Etherscan -> Explorer
* move chains to constant file
* use NETWORK_URLS instead
* temporary fix to the syncing issue
* fix tests
* fix unknown chain id crash
* use a multicall that returns arbitrum block numbers
* lower polling interval for layer 2
* use a better multicall
* remove unused import
* fixed multicall2
* make some v2 code chain specific
* fix build
* line number changes
* update keys
* fix the locale parsing of full locale string
* extract
* fix lint
* add arbitrum one
* add arbitrum one to supported chains
* add missing arbitrum one label
* refactor: remove storybook
* point to the arbitrum explorer address
* fix arbitrum mainnet links
* fix how weth shows up in the interface
* make the usdc price feature more cross chain compatible
* missing translation
* clean up some governance code so it doesn't crash on unsupported networks
* improve how we check for transaction receipts for sequencer networks
* improve it a bit more
2021-06-02 15:14:34 -05:00
Crowdin Bot
ad53da5efe
chore(i18n): synchronize translations from crowdin
2021-06-02 19:58:27 +00:00
Crowdin Bot
29223ce34f
chore(i18n): synchronize translations from crowdin
2021-06-02 18:58:14 +00:00
Crowdin Bot
b88919ed69
chore(i18n): synchronize translations from crowdin
2021-06-02 17:34:57 +00:00
Ian Lapham
ab80910553
fix: add pool find button to v2 pool page ( #1700 )
...
* add pool find button to v2 pool page
* update copy to be v2 specific
* fixed migrate v2 liquidity back arrow
* add missing <Trans>
Co-authored-by: Justin Domingue <judo@uniswap.org>
2021-06-02 10:08:45 -07:00
Crowdin Bot
1cdb8aa6a4
chore(i18n): synchronize translations from crowdin
2021-06-02 16:27:43 +00:00
Crowdin Bot
88976d0294
chore(i18n): synchronize translations from crowdin
2021-06-02 15:21:20 +00:00
Crowdin Bot
b908c81e2b
chore(i18n): synchronize translations from crowdin
2021-06-02 14:34:38 +00:00
Crowdin Bot
5c20d0adb7
chore(i18n): synchronize translations from crowdin
2021-06-02 09:35:14 +00:00
Crowdin Bot
ca6295fcb7
chore(i18n): synchronize translations from crowdin
2021-06-02 07:35:26 +00:00
Crowdin Bot
e8af59198d
chore(i18n): synchronize translations from crowdin
2021-06-02 06:49:31 +00:00
Crowdin Bot
cd4c43b482
chore(i18n): synchronize translations from crowdin
2021-06-02 05:07:18 +00:00
Crowdin Bot
bccda20473
chore(i18n): synchronize translations from crowdin
2021-06-02 03:03:17 +00:00
Moody Salem
bed8dd5110
fix: do not show price data on non-mainnet
2021-06-01 17:33:50 -05:00
Moody Salem
6bcbabec23
refactor: remove storybook
2021-06-01 17:04:26 -05:00
Justin Domingue
71a490f2aa
fix( #1694 ): fix popup item header overlap ( #1783 )
2021-06-01 14:30:08 -07:00
Moody Salem
abcf1f5a5c
fix: background should show up while loading the js
2021-06-01 16:20:31 -05:00
Crowdin Bot
65e5e9c98e
chore(i18n): synchronize translations from crowdin
2021-06-01 20:55:07 +00:00
Moody Salem
fdabb90f0e
fix: fire a GA event when the locale is switched
2021-06-01 15:31:15 -05:00
Crowdin Bot
049054f5bb
chore(i18n): synchronize translations from crowdin
2021-06-01 20:00:20 +00:00
Crowdin Bot
91d0a002c9
chore(i18n): synchronize translations from crowdin
2021-06-01 16:25:05 +00:00
Justin Domingue
305d2e1df9
chore: change inactive
to closed
( #1780 )
2021-06-01 08:23:23 -07:00
Crowdin Bot
6bb7d9d9b2
chore(i18n): synchronize translations from crowdin
2021-06-01 15:03:26 +00:00
Justin Domingue
979686100e
chore: simplify useSelector and useDispatch types using inference ( #1760 )
...
* chore: simplify app dispatch and selector types with ts inference
* update SearchModal to use new types inference
* chore: simplify useSelector and useDispatch types using inference
2021-06-01 07:58:21 -07:00
Moody Salem
a7a1607faa
fix: add a link to switch the locale conditionally ( #1776 )
...
* add a link to switch the locale conditionally
* make it smaller
* add the locale labels
* language labels from the internet
* fix the heart in the claim popup
* undo the conditional change
* remove todo
* updated Chinese locale name to office-365 language ids
* added missing <Trans>
Co-authored-by: Justin Domingue <judo@uniswap.org>
2021-06-01 09:54:43 -05:00
Hart Lambur
5125cbb1a3
fix(uma): UMA/UNI June expiry call option routing ( #1777 )
...
This would allow for direct routing from UMA tokens to June expiry UMA and UNI covered call option tokens (specifically [UMA 25 Call [30 June 2021]](https://etherscan.io/address/0xb46f57e7ce3a284d74b70447ef9352b5e5df8963 ) and [UNI 50 Call [30 June 2021]](https://etherscan.io/address/0xe0360a9e2cdd7d03b9408c7d3001e017bac2ecd5 )), in the same manner as the May expiry call tokens allowed.
2021-06-01 07:28:21 -05:00
github-actions[bot]
e89387bb26
chore(i18n): synchronize translations from crowdin ( #1775 )
2021-06-01 05:57:18 -05:00
Moody Salem
f7896db5aa
fix linting error, fix header responsiveness in non-english languages, try to fix the background color issue on safari
2021-05-31 22:08:48 -05:00
Moody Salem
0a0053c6f1
fix: prevent the interface from flashing the wrong locale temporarily on load
2021-05-31 21:36:56 -05:00
github-actions[bot]
9e10abbf97
chore(i18n): synchronize translations from crowdin ( #1773 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-31 21:11:08 -05:00
Moody Salem
c38771a6aa
refactor: remove the fixed global style component ( #1772 )
...
* chore: remove the fixed global style component
* move it to a more appropriate place
* move some css around
* add an element that triggers the font to immediately load
* some more nit refactoring
* style
* move the radial gradient into the index.css file
* try overriding the font display attribute of the inter family
* remove font-display rule
2021-05-31 21:10:36 -05:00
Moody Salem
8e364680b6
chore(deps): remove some unused code and dependencies
2021-05-31 20:15:59 -05:00
Henry Zhu
04c25685f7
fix: add space to backToV3 swap button ( #1769 )
2021-05-31 19:35:53 -05:00
github-actions[bot]
be1e184d88
chore(i18n): synchronize translations from crowdin ( #1766 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-31 16:55:57 -05:00
Moody Salem
b485b14395
chore(i18n): add id-ID
2021-05-31 09:55:01 -05:00
github-actions[bot]
44ef0138de
chore(i18n): synchronize translations from crowdin ( #1762 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-31 09:54:06 -05:00
github-actions[bot]
a1142cc7af
chore(i18n): synchronize translations from crowdin ( #1761 )
2021-05-30 22:00:29 -05:00
Moody Salem
089280ddf0
fix: clean up the charts navigation link
2021-05-30 18:44:34 -05:00
Moody Salem
f3c2a6eaea
more translations in the swap page
2021-05-30 18:40:36 -05:00
github-actions[bot]
54dc5b1f19
chore(i18n): synchronize translations from crowdin ( #1757 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-30 18:28:19 -05:00
Justin Domingue
61d9dfe127
chore: simplify redux types with ts inference ( #1758 )
...
* chore: simplify app dispatch and selector types with ts inference
* update SearchModal to use new types inference
2021-05-30 14:32:57 -07:00
Henry Zhu
d990dfdec7
fix: add padding to price outside of range ( #1752 )
2021-05-30 14:51:15 -05:00
github-actions[bot]
4336e08233
chore(i18n): synchronize translations from crowdin ( #1755 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-30 14:49:57 -05:00
Moody Salem
3840daf365
few more missed spots
2021-05-30 14:15:55 -05:00
Moody Salem
1104bdcefc
use trans macro instead of t wherever possible
2021-05-30 14:05:37 -05:00
github-actions[bot]
1ea0769ba3
chore(i18n): synchronize translations from crowdin ( #1751 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-29 20:49:44 -05:00
Moody Salem
637d43621b
chore(ci): undo the if check on yarn install
2021-05-29 20:41:16 -05:00
Moody Salem
9831cda290
more i18n for errors
2021-05-29 20:36:43 -05:00
Moody Salem
62d4bb8b51
fix linting error, one more missing key
2021-05-29 20:32:31 -05:00
Moody Salem
58a1be8421
chore(i18n): add a few more translations
2021-05-29 20:29:49 -05:00
github-actions[bot]
3ccecc5ca1
chore(i18n): synchronize translations from crowdin ( #1749 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-29 20:13:31 -05:00
Moody Salem
4b72d757c5
chore: add a bunch of missing translation keys
2021-05-29 16:02:43 -05:00
github-actions[bot]
135f9dc219
chore(i18n): synchronize translations from crowdin ( #1748 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-29 15:47:37 -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
7f837810e0
chore: reduce png image sizes
2021-05-29 15:22:00 -05:00
github-actions[bot]
57a7a4995a
chore(i18n): synchronize translations from crowdin ( #1747 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-29 12:27:29 -07:00
Moody Salem
cfea3723a2
remove setting the locale from using the active locale
2021-05-29 07:14:26 -05:00
Moody Salem
7d0fb9cc10
workaround for the url locale not sticking
2021-05-29 00:29:17 -05:00
github-actions[bot]
8633dc7a50
chore(i18n): synchronize translations from crowdin ( #1746 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-29 00:21:49 -05:00
Moody Salem
f340537544
add a bunch of missing translations to the swap page
2021-05-29 00:16:57 -05:00
Moody Salem
3e9289dc35
couple of missing translations in the currency list
2021-05-29 00:11:10 -05:00
Moody Salem
4eb5c3cac8
fix the forced re-render on locale change
2021-05-29 00:07:42 -05:00
github-actions[bot]
cfadd3b165
chore(i18n): synchronize translations from crowdin ( #1745 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-29 00:03:15 -05:00
Moody Salem
6007527ce0
couple more missing keys
2021-05-28 23:58:23 -05:00
Moody Salem
06c8db917f
chore: handle a couple missing translation keys
2021-05-28 23:46:55 -05:00
Moody Salem
3394bc738f
fix the locale parsing of full locale string
2021-05-28 23:43:15 -05:00
Moody Salem
32b56ba0fd
just pick the first occurrence of an abbreviated locale in the locale parsing
2021-05-28 23:30:29 -05:00
github-actions[bot]
f97ce35cee
chore(i18n): synchronize translations from Crowdin
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-28 23:27:19 -05:00
Moody Salem
0dafd3e7ba
chore: update to the top 30 locales
2021-05-28 23:25:32 -05:00
Moody Salem
d719942931
chore: en -> en-US
2021-05-28 23:15:07 -05:00
github-actions[bot]
62b9b5d527
New Crowdin translations by Github Action ( #1743 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-05-28 23:10:02 -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
Justin Domingue
70174140bc
chore: refactored locale management hook ( #1737 )
...
* chore: refactored locale management hook
* use useMemo instead of useState
2021-05-28 17:36:37 -07:00
Justin Domingue
4fede9df36
removed custom keys, part 2 ( #1740 )
2021-05-28 17:10:56 -07:00
Justin Domingue
46f539c604
chore(i18n): wrapped English text around <Trans> component ( #1714 )
...
* feat(i18n): wrapped English text around <Trans> component
* cleanup
* synced
* regenerated locales
2021-05-28 16:25:50 -07:00
Justin Domingue
ad65b63868
remove custom keys ( #1739 )
2021-05-28 15:33:40 -07:00
Moody Salem
d85dccd01a
chore: remove list update popup code
2021-05-28 11:08:04 -05:00
Justin Domingue
04878e095c
feat(i18n): save and load locale from redux store ( #1723 )
...
* wrap sock around function component to get re-renders
* removed sourcelocale since we are using custom ids
* load locale data dynamically
* undo dev change
* ran yarn i18n:extract
* store locale in redux
* added support for redux
* restored header
* refactor
* addressed pr feedback
* specify type
* added navigator locale fallback to generic dialect
* make locale array const and typed
* addressed pr feedback
* fixed various
* addressed pr feedback
* make supported locales constant uppercase
* add back toUpperCase removed during refactoring
* removed lingui/detect-locale
* run yarn
2021-05-28 09:03:53 -07:00
Moody Salem
14a6953b90
fix: useCallback is not necessary
2021-05-28 09:44:05 -05:00
Moody Salem
d866d79578
fix: anonymize outbound link events sent to google analytics
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1729
2021-05-28 09:08:53 -05:00
Moody Salem
7f1def300d
fix: usdc prices shouldn't reload when v3 prices reload
2021-05-27 15:28:45 -05:00
Justin Domingue
8930627064
delete old locales/ folders ( #1725 )
2021-05-27 12:10:42 -07:00
Justin Domingue
69cc728d43
fix(i18n): various fixes and improvements ( #1718 )
...
* wrap sock around function component to get re-renders
* removed sourcelocale since we are using custom ids
* load locale data dynamically
* undo dev change
* ran yarn i18n:extract
* make SOCK component lower case
* fixed unmerged conflicts
* regenerated po for wallet.socks
* added loadLocaleData
2021-05-27 09:38:37 -07:00
Moody Salem
a6bc7775bc
chore(i18n): single directory for locales
2021-05-27 10:52:17 -05:00
Moody Salem
3452be9a45
chore(i18n): remove line numbers from extracted po
2021-05-27 10:37:15 -05:00
Justin Domingue
be6e2fe74a
chore(i18n): convert old locale file to new format ( #1715 )
...
* added supported locales
* added vi locale
* deleted old locale files
* add catalogues to i18n.tsx
* remove fallbackLocales
* add fallback
2021-05-26 18:58:00 -07:00
Justin Domingue
c4846c8832
feat(i18n): improve i18n ( #1692 )
...
* replaced i18next with lingui
* integrate lingui in i18n and update dev setup
* updated components to @lingui
* fix compile error after rebase
* detect locale
* add all previous languages to linguirc
* address pr feedback
* remove it for now
* ignore generate *js files, various fixes
* added more translations
* fixed yarn build command
* wrapped more hardcoded english around <Trans>
* finished second round of translations
* added support for pseudo-en locale
* improvements
* moved copy.tsx to different branch
* moved extra files to different branch
* regenerated po
* clean up
* more fixes
* regenerate po
* remove messages.js
* clean up
* addressed pr feedback
* regenerated po
2021-05-26 13:34:52 -07:00
Moody Salem
dbbffd17a6
fix: improve cancel/retry detection
2021-05-25 13:48:23 -05:00
Moody Salem
85d8b1e514
fix: improve privacy of the claim popup ( #1698 )
...
* fix: improve privacy of the claim popup
fixes https://github.com/Uniswap/uniswap-interface/issues/1337
* fix unhandled rejection
* clean up the claim code a bit more
* working claim fetch
* working claim fetch
* trigger some events on the claim popup
2021-05-24 18:15:12 -05:00
Moody Salem
e9148b30c9
chore: bump v3-sdk
2021-05-21 20:21:41 -05:00
Moody Salem
6e46f25bd4
improvement: use the block number in receipts to update the app state ( #1681 )
2021-05-21 19:55:44 -05:00
Justin Domingue
02269e9376
fix: handle usdc directly in useUSDCPrice ( #1683 )
2021-05-21 16:45:39 -07:00
Moody Salem
9822e68d5a
remove console.log accidentally committed to swap
2021-05-21 14:35:48 -05:00
Justin Domingue
9d1556b777
feat(pool): add toggle to hide inactive positions ( #1676 )
...
* feat(pool): add toggle to hide inactive positions in pools page
* cleanup code
* keep positions sorted, but move zero liquidity positions to end
* simplified sorting logic
2021-05-21 12:22:40 -07:00
Justin Domingue
858b6afb2f
improvement(swap): hide swap placeholders to reduce visual complexity ( #1678 )
...
* resolve #1646 : hide swap placeholders to reduce visual complexity
* use empty string over space
2021-05-21 10:44:41 -07:00
Moody Salem
3aaa3fef89
fix: wrap/unwrap should not show computed trade details
2021-05-21 10:09:11 -05:00
Moody Salem
bc243e1c07
refactor: some clean up of the common bases code, add WETH
2021-05-21 10:01:58 -05:00
Moody Salem
679a58daf4
unwrapped token is not needed
2021-05-21 09:39:32 -05:00
Moody Salem
eff512deb8
bump sdk-core
2021-05-21 09:34:46 -05:00
Moody Salem
562b402293
feat: use multicall for argent wallets in swap and v3 add liquidity ( #1387 )
...
* use argent wallet contract in swap callback
* maybe working swap callback
* chore(v3): trigger a breaking release
BREAKING CHANGE: trigger a major release for the uniswap interface to indicate it now supports swapping and liquidity provision against uniswap protocol v3
* fix the value
* improve the error coverage
* retry more frequently, couple more error nits
* the is argent call was being sketchy
* get it working for add liquidity
* `0x0` for v2 swaps too
* small nits in position page
* fix import
* fix compiler error
2021-05-21 09:30:07 -05:00
Moody Salem
99ad4ae44c
feat: ETH2x-FLI to ETH2X pair routing ( #1644 )
2021-05-20 23:53:28 -05:00
Moody Salem
6e52a43584
fix: remove the click to flip price on the position list item
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1436
2021-05-20 23:09:14 -05:00
Moody Salem
d4c5d3e8c8
chore: run eslint
2021-05-20 20:14:55 -05:00
Moody Salem
a6e46623ad
chore: bump ethers and regenerate lockfile ( #1666 )
...
* bump ethers
* regenerate lockfile
* update code style
* Fix code style issues with ESLint
* remove unused useRef
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-05-20 20:11:32 -05:00
Justin Domingue
9353c7838c
fix: catch errors from Pair.getLiquidityMinted ( #1668 )
2021-05-20 16:14:23 -07:00
TeaTwo
816249b4b1
fix: replace jazzicon to @metamask/jazzicon ( #1659 )
2021-05-20 15:10:39 -07:00
Moody Salem
70292a5512
do not ask for approve for argent wallet migrate
2021-05-20 16:36:51 -05:00
Justin Domingue
ecdbb4a49f
revert: "fix: handle insufficient input amount error in v2 add liquidity ( #1652 )" ( #1665 )
...
This reverts commit 307a995a50c0ec39c9d4f43937081c67e5e33505.
2021-05-20 11:08:07 -07:00
Justin Domingue
536a5d99de
fix: fix typo is getLiquidityMinted catch ( #1663 )
2021-05-20 10:11:42 -07:00
Noah Zinsmeister
ffc2015595
invalidate stale requests in useV3PositionFees
2021-05-20 12:31:46 -04:00
Moody Salem
5e30a4b4ad
refactor: bump to latest sdk ( #1657 )
2021-05-20 11:21:40 -05:00
Moody Salem
b14da2844d
chore: remove all tick lens stuff that is not used
2021-05-19 17:35:59 -05:00
Justin Domingue
d3c04b7246
fix: stabilize fiat value by fixing max hop and increasing USDC out to 100k ( #1651 )
...
* stablizie fiat value by fixing max hop and increasing USDC out to 100k
* move maxHops and singleHopOnly to parameter of useV2TradeExactOut
* remove single hop param
2021-05-19 13:21:27 -07:00
Justin Domingue
307a995a50
fix: handle insufficient input amount error in v2 add liquidity ( #1652 )
...
* handle insufficient input amount error in mint/hooks
* use error.isInsufficientInputAmountError
* fixed typo
2021-05-19 13:18:32 -07:00
Justin Domingue
1ac36c7b6b
fix: display pool shares < 10% ( #1639 )
...
* fix: display pool shares < 10%
* set bips to 1/10_000
2021-05-18 17:07:06 -05:00
Moody Salem
8e055df447
refactor: make the price computation in v2 add liquidity a little safer
2021-05-18 16:06:54 -05:00
Moody Salem
02ecd727eb
fix: do not crash when user switches eth -> weth in add ( #1637 )
...
* fix: do not crash when user switches eth -> weth in add
* linting error
2021-05-18 16:52:34 -04:00
Justin Domingue
6a4fa0c9bf
fix: division by 0 error when both reserves are 0 ( #1632 )
...
* set pair to invalid if both reserves are 0
* consider reserve0/1=0 as no liquidity
2021-05-18 12:50:28 -07:00
Moody Salem
7fc9a655fc
fix: improve rendering of fee dollar values
2021-05-18 14:35:02 -05:00
Moody Salem
8d3babd015
refactor: more separation by chain of addresses
2021-05-18 14:33:03 -05:00
Moody Salem
75ed4c5dae
fix: missed a memo for fetching v2 pairs ( #1635 )
2021-05-18 14:21:06 -05:00
Justin Domingue
58dfadb13c
handle custom token overflow ( #1634 )
2021-05-18 11:32:09 -07:00
jab416171
ecb7132843
Add etherscan links for the two tokens in the pool on the NFT page ( #1593 )
...
* Add etherscan links for the two tokens in the pool on the NFT page
* moving linked tokens to a function
added arrow to show that it's a link
added check for eth
* clean up impl
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-18 13:34:20 -04:00
Justin Domingue
980eb8a518
Leverage Trade api for USDC price with v2 & v3 support ( #1610 )
...
* calculate usdc price using trade exact out
* fix typo
* add support for non-mainnet
* use fromRawAmount instead of tryParseAmount
2021-05-18 10:07:37 -07:00
Noah Zinsmeister
a11e89c0e1
hide WETH toggle for non-WETH pairs ( #1633 )
...
* only show weth toggle for eth pairs
* revert unwrappedToken change
2021-05-18 12:58:42 -04:00
Moody Salem
3efe5268ae
refactor: break down some constants files and move some stuff around
2021-05-18 10:31:22 -05:00
Ian Lapham
cccf149568
fix: update tick parsing to handle min/max prices ( #1613 )
...
* update tick parsing to handle min/max prices
* remove fee tier step
2021-05-17 20:19:15 -04:00
Justin Domingue
604ea49567
Revert "lazy load uncommon routes to reduce initial bundle size ( #1597 )" ( #1611 )
...
This reverts commit 4c0c6dfde698ccc94ed196a229e1e6e2cf084d05.
2021-05-17 11:24:31 -07:00
Justin Domingue
4c0c6dfde6
lazy load uncommon routes to reduce initial bundle size ( #1597 )
2021-05-17 11:03:49 -07:00
Noah Zinsmeister
e86946b104
bump to sdk version that fixes mint slippage bug
...
closes #1573
2021-05-17 11:54:06 -04:00
Moody Salem
ae27e245b4
replace the message when we fail to parse an error
2021-05-14 14:13:13 -05:00
Moody Salem
4745052f0e
fix: break words in swap error messages (fixes https://github.com/Uniswap/uniswap-interface/issues/1462 )
2021-05-14 10:50:55 -05:00
Moody Salem
5bc5d6504e
improve the text slightly
2021-05-14 08:45:17 -05:00
Moody Salem
7a0b85bf41
improvement: estimated amounts instead of minimum/maximums ( #1570 )
...
* estimated amounts instead of minimum/maximums
* missed a spot
* fix linting error
2021-05-14 07:15:53 -05:00
OMGspidertanx
534afb3278
fix: tweak element sizing/wraping in approve button ( #1569 )
2021-05-14 07:15:41 -05:00
Moody Salem
7d71af353e
perf: debounce localStorage save
2021-05-14 07:10:25 -05:00
Moody Salem
af6098bfe5
feat: allow walletconnect on testnets ( #1389 )
...
* try walletconnect multinetwork
* clean up environment variables for multinetwork
* remove irrelevant config
* move some stuff around
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-13 17:46:30 -05:00
Moody Salem
fce29bb36f
fix: division by 0 when computing the USDC value of tokens that do not have a v2 pair (fixes https://github.com/Uniswap/uniswap-interface/issues/1566 )
2021-05-13 17:27:34 -05:00
Noah Zinsmeister
4517af39ba
don't jump on mouse exit ( #1565 )
2021-05-13 17:06:25 -04:00
Noah Zinsmeister
b40163ce05
allow fee collection/liquidity removal in weth ( #1553 )
...
* add dummy flags for burn/collect as weth
* add toggles
* clean up toggle position
* only show weth toggle if collection is possible
2021-05-13 14:49:54 -04:00
Moody Salem
cd37b7533d
put the error reason in the message so we can differentiate between unrecognized errors
2021-05-13 11:16:37 -05:00
Justin Domingue
c0cd6a1c8d
handle ape= query parameter ( #1555 )
...
* handle expert_mode= and ape= query parameters
* removed console log
* use useParsedQueryString
* only handle setting ape mode
2021-05-13 12:01:58 -04:00
Moody Salem
f6245d1093
retry more frequently, couple more error nits
2021-05-13 10:51:06 -05:00
Moody Salem
83c784f7c0
improve the error coverage
2021-05-13 10:51:06 -05:00
Moody Salem
3d95b1a33b
fix access of undefined property
2021-05-13 09:37:04 -05:00
Moody Salem
5c96942922
fix: show better errors
2021-05-13 09:02:48 -05:00
Justin Domingue
d27c83b382
use styled-components/macro to display className in dev builds ( #1541 )
2021-05-13 09:15:13 -04:00
Moody Salem
b2f88965a9
handle errors better
2021-05-12 22:05:00 -05:00
Moody Salem
95db44e0fc
add a little state to the automatic issue body
2021-05-12 18:20:16 -05:00
Moody Salem
7d45ff5ca8
fix 0 decimal tokens error
2021-05-12 17:29:02 -05:00
Moody Salem
8964cf86aa
nit with how we convert percent to negative value
2021-05-12 17:13:40 -05:00
Moody Salem
0e9f23ed56
hover text nit
2021-05-12 17:12:16 -05:00
Moody Salem
e08e597655
show list in import token dialog
2021-05-12 17:01:20 -05:00
Moody Salem
744db49803
do not show duplicate token results, and stop searching as soon as possible
2021-05-12 16:54:05 -05:00
Moody Salem
54f59e02fd
add page url to the issue template
2021-05-12 16:17:46 -05:00
Ian Lapham
dd33205bf6
update string in token amount formatting ( #1539 )
2021-05-12 14:19:01 -04:00
Moody Salem
397a20b9ec
fix the issue title
2021-05-12 13:14:02 -05:00
Moody Salem
0aac0b43aa
clean up the error boundary
2021-05-12 13:11:10 -05:00
Ian Lapham
702500794d
truncate and format large numbers ( #1518 )
...
* truncate and format large numbers
* update truncation shorthand
* update logic for detecting small amount
2021-05-12 14:08:05 -04:00
Moody Salem
8bea95fab2
fix the transaction deadline errors
2021-05-12 13:01:31 -05:00
Moody Salem
27094c87f2
clean up price impact formatting
2021-05-12 12:39:21 -05:00
Justin Domingue
bede9171c3
add header background on scroll body overlap ( #1531 )
...
* add header background-color on scroll overlap
* slide background in/out on scroll
* remove unused import
Co-authored-by: Justin Domingue <domingue.justin@gmail.com>
2021-05-12 13:19:43 -04:00
Justin Domingue
251d7c0bc2
Fix NFT SVG performance issue in browser ( #1509 )
...
* only animate NFT SVG on hover by using a canvas
* handle high dpis
* animation transition between canvas and img
* set start state to not animated
* removed animations that were causing issues on Firefox
* simplify code
* remove debugger statement
* remove useEffect in favor of an event handler
* hide canvas without unmounting to avoid blinking
* fix lint error
* fix flicker on hover by leaving canvas always visible
* add comment about z-index
Co-authored-by: Justin Domingue <domingue.justin@gmail.com>
2021-05-12 13:02:52 -04:00
Moody Salem
285e4f28f5
fix bug in fiat value price impact display
2021-05-12 11:56:18 -05:00
Moody Salem
3aa045303a
remove a few unused isToken calls
2021-05-12 11:43:30 -05:00
Noah Zinsmeister
e0a7c3794e
bump gas margin to 20%
2021-05-12 12:35:46 -04:00
Noah Zinsmeister
f5fc5da341
fix erroneous addition of tokensOwned{0,1} ( #1533 )
...
only pass tokenId to useV3PositionFees
2021-05-12 12:20:20 -04:00
Moody Salem
bea5c0484b
fix lint errors, show source list in extra tokens
2021-05-12 09:32:24 -05:00
Moody Salem
27960532ca
refactor: use new sdk version ( #1472 )
...
* do not construct tokens for wrapped token info
* some cleanup of the wrapped token info
* back to extends, bump sdk core version via v2/v3 sdk updates
* Revert "back to extends, bump sdk core version via v2/v3 sdk updates"
This reverts commit 92cc5073
* update the sdk version
* fix some more uses of instanceof
* finish the refactor
* mess with the currency list performance
* start replacing with the latest v3/v2 sdks
* raw -> quotient
* more cleanup
* finish the refactor
* clean up currency list refactor
* fix list rendering
* perf(token lists): improve app performance when there are large inactive token lists (#1510 )
* improve inactive token lists performance
* cleanup before larger changes to combine inactive lists
* only do the search if the query does not match any active lists, limit the number of results
* more performance improvements
* search inactive lists more aggressively
2021-05-12 08:52:17 -05:00
Ian Lapham
37a4e2f6e3
More UI bug fixes ( #1515 )
...
* fix for error token map parsings
* update varios UI styles
* update padding on & amounts
2021-05-11 22:29:25 -04:00
Noah Zinsmeister
22c1ddf393
swaps to .5% slippage
2021-05-11 15:00:51 -04:00
Noah Zinsmeister
b44ae1a267
clean up parseCurrencyFromURLParameter
2021-05-11 14:19:56 -04:00
Ian Lapham
418dcf0cb2
Various bug fixes ( #1501 )
...
* fix for error token map parsings
* fix error on formatting sig figs
* fix various bugs
* no hover cursor
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-11 14:03:02 -04:00
Noah Zinsmeister
58a508c9d6
.25% -> .30% slippage for v3 swaps
2021-05-11 13:53:15 -04:00
Jorropo
3198129af2
feat(routing): support mirror protocol routing as additional bases ( #1375 )
...
* feat(routing): support mirror protocol routing as additional bases
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-05-11 13:28:50 -04:00
John Shutt
89d484d882
feat(uma): uma call option routing ( #1385 )
...
* feat(uma): uma call option routing
Signed-off-by: John Shutt <john.d.shutt@gmail.com>
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com>
2021-05-11 13:25:51 -04:00
Callil Capuozzo
fa4688d96c
UI improvements ( #1505 )
...
* Change price ratio using slash to "per"
* Fix header, toggle copy and increase copy
* Add clearer V2 and migrate buttons
* Fix link
* fix account modal background color
* tweak sig figs
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-11 13:25:04 -04:00
Moody Salem
7ee761a59e
feat: automatic slippage tolerance ( #1463 )
...
* automatic slippage tolerance start
* get it compiling
* out of range/in range behavior of slippage tolerance in add
* small useDerivedSwapInfo refactor
* improve useSwapSlippageTolerance
* fix unit test
* thread placeholder slippage through
* small improvement to slippage input behavior
* fix the display bug
* fix tx settings modal ux
* don't pass props unnecessarily
* switch back to static swap slippage for now
bump migrate slippage to .75%
* fix font size
* add flag for auto slippage migration
validate version updates even more
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-11 13:00:42 -04:00
jochenboesmans
78e95f6073
Add App-level error boundary, referring users to GitHub issue creation ( #1464 )
...
* Add App-level error boundary, referring users to GitHub issue creation on page crashes. (#1452 )
* Class component is used as boundary since catching errors is apparently not yet possible with hooks.
* EventListener in window was removed and replaced by error boundary's error catch, which now fires a GA exception. The fields it passes are slightly different because React uses slightly different error types.
* Pre-filling issues with dynamic data is possible with POST requests to GitHub's API, but the GH web client seems to only support pre-fill based on templates. Therefore users still need to copy error info themselves.
* Prefill GitHub issues with crash data.
* Added package 'react-device-detect' to include device data such as OS, browser etc. in crash report.
* Included error stack in issue body.
* Used <code> html tag for displaying stack to user.
* Slightly reduce vertical padding on code block.
* Add ua-parser-js for parsing user agent.
* Revert react-device-detect to ^1.6.2 (which is used for mobile detection etc. in components)
2021-05-11 12:09:01 -04:00
Noah Zinsmeister
c67e57505a
make price sig figs more consistent
2021-05-11 10:17:06 -04:00
Justin Domingue
30f7385db7
optimize sandtexture.png with .webp ( #1502 )
...
Co-authored-by: Justin Domingue <domingue.justin@gmail.com>
2021-05-10 21:32:53 -04:00
Noah Zinsmeister
c0f58ae810
don't use a signer for callStatic contract
2021-05-10 16:59:11 -04:00
Noah Zinsmeister
54dd5476ca
fetch fees directly from collect via callStatic ( #1500 )
...
* fetch fees directly from collect via callStatic
* don't clear state
2021-05-10 16:30:02 -04:00
Moody Salem
57786335df
fix calculateSlippageAmount ( #1497 )
2021-05-10 14:22:26 -05:00
Joe Butler
948e01a196
Fix typo ( #1454 )
2021-05-10 14:01:35 -04:00
Moody Salem
4d3f870b93
add a test for calculating slippage amounts
2021-05-09 12:31:45 -05:00
Moody Salem
452f2dc3c0
fix slippage amount bug https://github.com/Uniswap/uniswap-interface/issues/1473
2021-05-09 11:30:56 -05:00
Ian Lapham
b6bd59f2b1
Fix bug on formatted token amounts when decimals < sig fig ( #1479 )
...
* fix for error token map parsings
* fix error on formatting sig figs
2021-05-07 16:52:00 -04:00
Noah Zinsmeister
0190b5a408
bump sdk to fix add/remove slippage
2021-05-06 18:20:36 -04:00
Noah Zinsmeister
d6030dcd45
add settings tab to migrate
2021-05-06 17:44:05 -04:00
Moody Salem
f0e2a491dc
fix(slippage settings): improve slippage tolerance warnings
2021-05-06 11:19:36 -04:00
Moody Salem
021aab6547
fix(wallet): workaround the ethers bug to fix other wallets
2021-05-06 11:10:45 -04:00
Noah Zinsmeister
81af31eec1
estimate gas in migrate v2
2021-05-06 10:40:19 -04:00
Moody Salem
d3898cf900
fix(wallet): workaround for coinbase wallet / fortmatic
2021-05-06 10:09:41 -04:00
Moody Salem
b8f61d5f90
fix(positions list): base/currency ordering
2021-05-06 09:57:12 -04:00
Moody Salem
6c880d29a6
fix(position fee computation): incorrect sub underflow
2021-05-05 22:54:30 -04:00
Lint Action
a8baa6d6a5
Fix code style issues with ESLint
2021-05-05 21:56:49 +00:00
Callil Capuozzo
00a1dee073
Merge branch 'main' of https://github.com/Uniswap/uniswap-interface into main
2021-05-05 17:54:47 -04:00
Callil Capuozzo
a6de7d7846
add links
2021-05-05 17:54:33 -04:00
Moody Salem
e1a81a9996
uniswap protocol disclaimer
2021-05-05 17:40:22 -04:00
Noah Zinsmeister
0770bab032
try manual approve if erc712 doesn't work ( #1397 )
...
* initial impl
* fix async logic
2021-05-05 17:36:07 -04:00
Callil Capuozzo
e5404dbf97
Fix some links
2021-05-05 16:04:40 -04:00
Noah Zinsmeister
78e41848f2
another copy fix
2021-05-05 14:26:53 -04:00
Noah Zinsmeister
77c090534b
copy hotfix
2021-05-05 14:26:02 -04:00
Moody Salem
05acbfee88
fix(swap): do not throw an error in the routing if we cannot construct a pool
2021-05-05 14:22:57 -04:00
Callil Capuozzo
64dd2f9ed1
update button styles
2021-05-05 13:58:37 -04:00
Callil Capuozzo
09f30ce0f7
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 13:41:47 -04:00
Callil Capuozzo
a49d5382db
UI tweaks
2021-05-05 13:41:46 -04:00
Ian Lapham
3affcb8d32
small ux style updates ( #160 )
2021-05-05 13:18:47 -04:00
Moody Salem
56e759ff78
fix unit test
2021-05-05 13:10:19 -04:00
Callil Capuozzo
f73a166d92
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 13:07:26 -04:00
Callil Capuozzo
e1e52c06db
update copy
2021-05-05 13:06:26 -04:00
Moody Salem
ca4d915903
fix it everywhere
2021-05-05 13:04:50 -04:00
Moody Salem
bdb6327c13
set initial allowed slippage to 10 bips instead of 50 bips
2021-05-05 13:03:39 -04:00
Noah Zinsmeister
ce81dd5a79
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-05 12:47:47 -04:00
Noah Zinsmeister
73f29eea2c
don't show approve for both assets...
...
...in the single-sided liquidity provision case
2021-05-05 12:47:41 -04:00
Moody Salem
92193076c5
fixes https://github.com/Uniswap/v3-interface/issues/161
2021-05-05 12:45:29 -04:00
Moody Salem
1aab086693
Swap interface tweaks ( #159 )
...
* fix some nits in the swap interface
* remove some unused css
* tweak the info icon a bit
2021-05-05 12:29:33 -04:00
Noah Zinsmeister
8057cb9fbe
fix rate toggle clearing add liquidity state
2021-05-05 12:19:21 -04:00
Ian Lapham
1b798889af
add default increment behavior ( #157 )
...
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-05 12:12:23 -04:00
Connor Martin
1e54b97693
changed to v3 docs links ( #138 )
2021-05-05 12:05:13 -04:00
Noah Zinsmeister
02c21ef720
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-05 12:03:29 -04:00
Noah Zinsmeister
b39aeeb805
fix for inactive positions
2021-05-05 12:03:20 -04:00
Callil Capuozzo
8401a4b9b4
Update styles, change warning modals
2021-05-05 11:43:47 -04:00
Callil Capuozzo
3b27ee94d7
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 11:42:04 -04:00
Noah Zinsmeister
660c355273
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-05 11:19:02 -04:00
Noah Zinsmeister
cd3c48462d
separate v2 + v3 mint reducers
...
reset v3 mint state on migrate mount/unmount
2021-05-05 11:18:54 -04:00
Moody Salem
acfd5c2720
fixes https://github.com/Uniswap/v3-interface/issues/123
2021-05-05 10:23:45 -04:00
Callil Capuozzo
a5ed12bfc7
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 00:08:15 -04:00
Noah Zinsmeister
40f0e619cc
fix additional base currency toggle bugs
2021-05-04 22:43:36 -04:00
Noah Zinsmeister
bd817083c9
actually fix isNotUniswap logic
2021-05-04 22:32:01 -04:00
Callil Capuozzo
699bcc25b6
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-04 20:52:27 -04:00
Callil Capuozzo
e88a8effef
style tweaks
...
- bring back gradient background
- improve header
- improve light mode
2021-05-04 20:52:25 -04:00
Ian Lapham
2339817170
multiple bug fixes ( #141 )
...
* multiple bug fixes
* remove unused local
* disable currency select on bottom liquidity
2021-05-04 20:17:19 -04:00
Moody Salem
4220cafbd3
fix the usdc permit
2021-05-04 18:22:45 -05:00
Noah Zinsmeister
a61df58599
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-04 19:15:46 -04:00
Noah Zinsmeister
1b35128035
clarify migrate ui
2021-05-04 19:15:29 -04:00
Moody Salem
ab5114c5f5
move the compute price impact function out to a utility file
2021-05-04 17:55:51 -05:00
Moody Salem
28c7cfa1f1
formatted price impact
2021-05-04 17:52:23 -05:00
Moody Salem
509b307b67
show some price impact in the interface
2021-05-04 17:51:01 -05:00
Ian Lapham
1e5519de3f
add dark mdoe toggle, update some styles ( #134 )
2021-05-04 18:25:20 -04:00
Noah Zinsmeister
e8587396d3
hide collect fees if not owner
...
link to owner
2021-05-04 17:48:54 -04:00
Noah Zinsmeister
d69b194ffb
close #127
2021-05-04 17:32:24 -04:00
Noah Zinsmeister
1325443025
fix ratio bugs
2021-05-04 17:03:17 -04:00
Moody Salem
1607f8919a
code in the mainnet addresses
2021-05-04 14:44:55 -05:00
Moody Salem
873cf9760e
fix addresses
2021-05-04 14:39:02 -05:00
Noah Zinsmeister
b39f2fe055
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-04 14:58:53 -04:00
Noah Zinsmeister
516e783be6
hot fix for asset composition formula
2021-05-04 14:58:29 -04:00
Callil Capuozzo
9a326fa023
Add liquidity styles ( #98 )
...
* Start styles
* Add liquidity styles & consistency
* clean up styles
* remove un-used element
* New styles
* fix errors
2021-05-04 14:57:57 -04:00
Noah Zinsmeister
7178746023
highlight 100% position composition
2021-05-04 14:04:30 -04:00
Moody Salem
2efe8250ae
rename gorli to goerli
2021-05-04 12:31:51 -05:00
Moody Salem
24d8b4abc9
latest deploy
2021-05-04 12:23:07 -05:00
Noah Zinsmeister
aec18b7eb1
closes #107
2021-05-04 13:22:26 -04:00
Noah Zinsmeister
0c37e81d97
closes #108
2021-05-04 13:20:52 -04:00
Noah Zinsmeister
624c3678c7
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-04 13:18:27 -04:00
Noah Zinsmeister
cdae20f2ed
fix weth/eth bug
...
closes #47
2021-05-04 13:18:21 -04:00
Ian Lapham
042967502e
recreate bug fixes ( #109 )
2021-05-04 12:43:43 -04:00
Ian Lapham
eedba9795e
Mobile styles ( #100 )
...
* mobile styles
* remove unused local
* update react imports
* fix imports
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2021-05-04 11:05:26 -04:00
Moody Salem
300dd70804
show currency values and price impact in the confirmation modal (fixes https://github.com/Uniswap/v3-interface/issues/92 )
2021-05-04 08:38:47 -05:00
Lint Action
f4e994867e
Fix code style issues with ESLint
2021-05-04 01:40:43 +00:00
Moody Salem
7ca79ff12b
fix unit tests
2021-05-03 20:39:03 -05:00
Moody Salem
4903258b7c
Merge branch 'main' into v3-main
...
# Conflicts:
# src/pages/Vote/VotePage.tsx
# src/pages/Vote/index.tsx
2021-05-03 20:37:44 -05:00
jochenboesmans
fe35ca9db8
use enum for enumerateProposalState #1166 ( #1381 )
...
* Use ts enum for ProposalState in state/governance/hooks.ts (#1166 )
* Use ProposalState enum in Vote/styled.tsx for determining colors of state text etc. (#1166 )
2021-05-03 20:33:34 -05:00
Moody Salem
4bc1b8eb5c
Merge branch 'main' into v3-main
2021-05-03 20:30:46 -05:00
AmagiDDmxh
7801695180
fix(block number): Update polling block number breathing behavior ( #1379 )
2021-05-03 20:30:32 -05:00
Moody Salem
ee69357305
some minor refactoring with price impact functions
2021-05-03 20:25:23 -05:00
Moody Salem
ce7f94f16a
hide max button appropriately
2021-05-03 20:17:15 -05:00
Moody Salem
124b83ae56
some clean up in showing the route
2021-05-03 20:13:52 -05:00
Moody Salem
0dcd5743c8
fix price impact handling/coloring
2021-05-03 20:05:20 -05:00
Moody Salem
9fec8dbe93
show percentage difference in price on swap
2021-05-03 17:13:05 -05:00
Noah Zinsmeister
549d4e38c6
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-03 17:43:49 -04:00
Noah Zinsmeister
3af6781821
add % breakdown for assets in range
...
closes #64
2021-05-03 17:43:39 -04:00
Moody Salem
fbccb83edb
Merge branch 'main' into v3-main
2021-05-03 16:30:04 -05:00
Moody Salem
ff12b7be10
refactor the fiat values
2021-05-03 16:29:45 -05:00
Callil Capuozzo
4c2cb5b0c1
Swap polish 02 ( #93 )
...
* rework swap UI
* Add v2/v3 route toggle UX
* improve button and progress styles
* put optional route in swap header
* Further refinements
* Alt swap layout
* clean up
* Tweak route ui
* merge main
* update swap header
* adjust currency select ui
2021-05-03 16:32:40 -04:00
Callil Capuozzo
d7785942b1
Update migration styles ( #78 )
...
* re-work migrate page
* Layout Tweaks
* cleanup
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-03 15:55:30 -04:00
Noah Zinsmeister
ed801deb15
add fiat value of liquidity + fees
2021-05-03 15:19:59 -04:00
Noah Zinsmeister
c34727641d
add basic sushi support ( #87 )
2021-05-03 14:48:30 -04:00
Ian Lapham
807860aac6
refactor review modals ( #60 )
2021-05-03 13:37:41 -04:00
Ian Lapham
5a9034fe95
fix for error token map parsings ( #1384 )
2021-05-03 13:34:01 -04:00
Ian Lapham
ee0db4f2aa
fix list parsing on broken tokens ( #85 )
...
* fix list parsing on broken tokens
* revert to most recent changes
2021-05-03 13:28:55 -04:00
Ian Lapham
6d5625a1f8
Hot fix for token error parsing ( #1382 )
...
* hot fix for token list parsing
* revert tsconfig
2021-05-03 12:11:27 -04:00
Callil Capuozzo
1619386ab4
Position styles ( #55 )
...
* Better position list layout WIP
* Position list updates
* add badge data and current price hover
* merge cleanup
* fix missing library
* position page improvements
* Clean up position page and overview
* layout and color updates
* Clean up page
* Clean up position page
* clean up errors
* Add icons
* Merge main
* Position styles tweaks
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-03 11:50:54 -04:00
Moody Salem
93d33947da
fix bug in remove
2021-04-30 22:57:55 -05:00
Moody Salem
91f3e21bd4
some list code cleanup
2021-04-30 22:56:19 -05:00
Moody Salem
e9a432b58e
fix a bug in v3 trade routing returning the wrong trade type for output trade
2021-04-30 22:43:29 -05:00
Moody Salem
1f41587ba9
fix the swap notification
2021-04-30 22:38:24 -05:00
Moody Salem
9b639bee65
invalidate signature data for old nonce
2021-04-30 21:23:16 -05:00
Moody Salem
eaddc9e6f8
dai style permit
2021-04-30 21:20:39 -05:00
Noah Zinsmeister
e83a1ec923
undupe migrate menu
2021-04-30 15:55:53 -04:00
Noah Zinsmeister
8021315f87
fix rates in add liquidity
2021-04-30 15:40:39 -04:00
Noah Zinsmeister
0540012bb9
WETH -> ETH in migrate
...
fix rates in migrate
fix migrate link
2021-04-30 15:12:00 -04:00
Moody Salem
3f6bf607dd
replace uniswap.info links
2021-04-30 13:14:31 -05:00
Moody Salem
828f7ee446
Use permit in swap ( #65 )
...
* add a usePermit hook
* semi working
* Fix code style issues with ESLint
* don't override gas, some cleanup in the permit function
* fix permit validity
* some more permit fixes
* nits
* another nit
* use the erc20 permit hook everywhere
* unused exports
* handle missing version
* replace everywhere
* add DAI and todos
* woopsie bug
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-04-30 12:50:57 -05:00
Noah Zinsmeister
432d17bdfd
only show buttons if nft is owned
2021-04-29 15:55:39 -04:00
Noah Zinsmeister
9743b211e7
change migration threshold to 2
...
fix starting price bug
2021-04-29 15:39:44 -04:00
Noah Zinsmeister
dce187e433
fix price bug
2021-04-29 14:18:15 -04:00
Moody Salem
8859ff6979
fix gas estimate bug
2021-04-29 11:56:02 -05:00
Moody Salem
f566a72b06
fix a bug in the logo not passing style down
2021-04-29 11:31:34 -05:00
Moody Salem
e39e5908e7
drop the card in the position page
2021-04-29 11:18:56 -05:00
Moody Salem
c5424d2dcc
some tweaks to the token logo
2021-04-29 10:26:12 -05:00
Noah Zinsmeister
8b4bc167c5
add multicall mainnet address
2021-04-29 11:01:53 -04:00
Moody Salem
43bceb232e
label nit
2021-04-28 21:23:22 -05:00
Moody Salem
c3909bc1d0
improve the better trade link logic
2021-04-28 20:03:38 -05:00