Vignesh Mohankumar
bdeb62ad64
fix: center NetworkSelector circles ( #3867 )
...
center NetworkSelector circles
2022-06-01 11:46:09 -04:00
Rachel-Eichenberger
e42effdbfd
fix: Update graph link ( #3876 )
...
Update graph link
2022-06-01 11:34:37 -04:00
Clayton Lin
c0a5adf43d
docs: remove unnecessary WalletModal comment ( #3879 )
...
fix: remove unnecessary comment
2022-06-01 11:25:48 -04:00
Clayton Lin
fd0489e654
feat: Suppress the account modal after connect ( #3848 )
...
fix: Suppress the account modal after connect
2022-06-01 11:01:11 -04:00
Crowdin Bot
caa0a2967d
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-24 21:07:29 +00:00
Clayton Lin
11ec2333dd
style: standardize fonts ( #3844 )
2022-05-23 13:48:04 -05:00
Tott0
251339a9ef
feat: changes usdcPrice formatting to fixed decimals ( #3849 )
...
* change usdcPrice in swap modal to use fixed decimals instead of significant formatting
* change text for fiatValue as well
* change decimal points condition to 1.05
* (m) missed one value
2022-05-23 13:47:18 -05:00
Eugene Sokovikov
148e415fe8
fix: handle non existing inputCurrency from url #3056 ( #3857 )
...
- fix: handle non existing inputCurrency from url
oppening an url swap?inputCurrency=not_existing_address
cause a state where you are not able to change input currency
2022-05-23 08:59:49 -05:00
Jordan Frankfurt
fd964c5b74
feat(google-analytics): add tx hash to swap events ( #3854 )
2022-05-19 15:30:04 -05:00
Jordan Frankfurt
83b6eec271
fix(copy-icon): makes copy icon configurable for different uses ( #3853 )
2022-05-19 15:09:29 -05:00
Noah Zinsmeister
cd76fffbbe
fix build warning
2022-05-17 10:53:48 -04:00
Noah Zinsmeister
2c0ac56296
Revert "fix build warning"
...
This reverts commit f836e3ca324dc5120f51710a082f22aafcf9aa4c.
2022-05-17 10:53:01 -04:00
Noah Zinsmeister
f836e3ca32
fix build warning
2022-05-17 10:48:29 -04:00
Crowdin Bot
1733fbb378
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-17 10:11:18 +00:00
Crowdin Bot
78142270a8
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-16 21:07:07 +00:00
Noah Zinsmeister
db5a14387f
perf: constrain log-fetching block ranges ( #3846 )
...
* first pass
* don't re-fetch historical logs
* hide cancelled proposals by default
2022-05-16 16:45:27 -04:00
Crowdin Bot
5dc7d36669
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-13 23:06:42 +00:00
Tott0
a3cbe672c7
feat: changes wallet connect terms of service layout ( #3835 )
...
Reformat ToS text and remove unneeded links
2022-05-13 18:44:39 -04:00
DhruvJain1122
dc368ed7ac
feat: Adding Tally Ho wallet with name & logo for Tally Ho Users ( #3820 )
...
* changes
* add tally
2022-05-13 18:38:35 -04:00
Crowdin Bot
b109248b4c
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-12 18:11:13 +00:00
Crowdin Bot
74f6a4ef3f
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-11 16:12:13 +00:00
Clayton Lin
f468001404
style: build new error connect state ( #3831 )
...
* style: build new error connect state
* use usecallback for resetAcountView
* remove fontSize props
2022-05-11 11:48:53 -04:00
Crowdin Bot
f26ec2ff1b
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-10 21:06:48 +00:00
Zach Pomerantz
61d1036d28
chore: rm widget code ( #3810 )
...
* chore: rm widget tooling
* chore: rm widget components
* chore: rm widget theme
* chore: rm widget assets
* chore: rm widget business logic
* chore: rm widget meta
* chore: update yarn.lock
* chore: mv type to usage
2022-05-10 13:49:04 -07:00
Crowdin Bot
e11d2080a4
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-10 15:12:51 +00:00
Clayton Lin
da33423719
style: build new connecting pending state ( #3825 )
...
* style: build new connecting pending state
* use currentcolor rather than direct theme text1
* remove unnecessary margin usage
2022-05-10 10:18:51 -04:00
Simeon Kerkola
bd4545538d
Chore: Use optional chaining ( #3795 )
...
Use optional chaining to check `window.ethereum` object chain.
2022-05-09 14:57:55 -05:00
Crowdin Bot
4274db67d5
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-09 19:06:52 +00:00
Clayton Lin
28498706cb
style: add learn more about wallets link ( #3821 )
...
* web-91: add learn more about wallets link
* move externallink outside
* fix trans usage
2022-05-09 14:50:11 -04:00
Crowdin Bot
68c71a67dd
chore(i18n): synchronize translations from crowdin [skip ci]
2022-05-09 17:18:03 +00:00
Noah Zinsmeister
86b85e25a5
fix proposal formatting
2022-05-09 10:34:25 -04:00
Jordan Frankfurt
0ea635ce15
chore: remove hostname check on risk screen ( #3805 )
2022-05-04 21:35:24 -05:00
Christine Legge
99ab581a87
refactor: migrate state/user to createSlice ( #3779 )
...
* use slice in transactions reducer
* update transaction reducer tests
* update user reducer to use slice
* fix merge conflicts
2022-05-02 15:37:44 -04:00
Will Hennessy
fc571d0f63
chore: update compliance email test ( #3788 )
2022-05-02 14:37:51 -04:00
David Mihal
2de43a8cdb
feat: take tick range from URL ( #3208 )
...
* Take tick range from URL
* Keep minPrice/maxPrice in the URL
2022-05-02 12:10:27 -05:00
Jordan Frankfurt
5383436c88
feat(widgets): empty token list on network alert ( #3627 )
...
* feat(widgets): empty token list on network alert
* make it work
* pr review
* split dialog header out of tokenselect
* correctly filter token list case
* find -> some
* pr feedback
* clean up query hooks
2022-05-02 10:47:27 -05:00
Jordan Frankfurt
521f3aae04
chore(monitoring): trm cleanup ( #3783 )
...
* remove old monitoring code
* cleanup
* remove unneeded .then
2022-04-29 15:42:09 -05:00
0xlucius
9318c1204b
feat: Add on-hover tooltips for tx details ( #3178 )
...
* Add on-hover tooltips for tx details
* Change tooltips to use <Trans> macro instead of t
* fix: remove info tooltip on transaction popup
* fix: update getting the nativeCurrencyVariable
* use getNativeCurrency() instead of chainInfo const
Co-authored-by: Christine Legge <christine.legge@uniswap.org>
2022-04-25 12:43:41 -04:00
Jordan Frankfurt
5055695b9b
feat(optimism): update to new bridge app ( #3771 )
2022-04-25 10:44:00 -05:00
Christine Legge
ae8c0377de
refactor: move state/transactions to createSlice ( #3758 )
...
* use slice in transactions reducer
* update transaction reducer tests
* chore: move state/transactions types into their own folder
* fix: fix broken transaction/reducer tests
2022-04-25 09:22:31 -04:00
Jordan Frankfurt
8eaf1f4964
feat(analytics): add a GA event on risk block ( #3768 )
...
* feat(analytics): add a GA event on risk block
* Update src/hooks/useAccountRiskCheck.ts
Co-authored-by: Will Hennessy <hennessywill@gmail.com>
Co-authored-by: Will Hennessy <hennessywill@gmail.com>
2022-04-21 21:44:34 -05:00
Zach Pomerantz
dcbd4e475d
chore: rm "with no slippage" ( #3752 )
2022-04-19 13:13:33 -04:00
Jordan Frankfurt
b704bdac94
feat(compliance): risk screening ( #3714 )
...
* feat(compliance): risk screening
* add api endpoint
* hosted app only
* add help center link and click-to-copy email address
* only show on app.uniswap.org and fix spacing nits
* 12px for bottom section
2022-04-19 10:12:28 -05:00
Zach Pomerantz
00d3df95c0
fix: rm console logs ( #3743 )
2022-04-15 15:19:34 -04:00
Ian Lapham
251b8b703a
update list ( #3737 )
2022-04-15 15:19:11 -04:00
Zach Pomerantz
ef8432437d
fix: missing token img ( #3727 )
2022-04-15 14:19:38 -04:00
Christine Legge
71aebf33db
fix: remove unused var ( #3736 )
2022-04-14 16:26:42 -04:00
Mark Carbajal
acb0c2056e
chore: Remove Portis ( #3693 )
...
* Removed portis
* Removed portis
* Removed portis
* Update src/components/WalletModal/index.tsx
Co-authored-by: Bruno Crosier <bruno.crosier@gmail.com>
* regenerate yarn.lock
* revert translation changes
Co-authored-by: Bruno Crosier <bruno.crosier@gmail.com>
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2022-04-14 15:23:31 -04:00
Christine Legge
0a4bcb62da
add 1bp fee tier to polygon ( #3724 )
2022-04-14 15:11:58 -04:00
Zach Pomerantz
f50bcbdb2d
fix: initial transitions ( #3719 )
...
* fix: rm action fade
* fix: disallow stale swaps
* fix: fade in buttons
* fix: fade in input text
* fix: standardize border handling
* fix: transition token button width
* fix: cleanup transitions
* fix: use transition for button
* chore: cleanup
2022-04-13 11:45:29 -07:00
Christine Legge
cbe421ee23
fix: Reload the app when there is a javascript error and a new version of the app ( #3715 )
...
* reload the app when encountering a javascript error if there is an update
* remove console.logs
* Add more comments
2022-04-13 13:53:54 -04:00
Zach Pomerantz
3439786c38
feat: display connecting state ( #3713 )
2022-04-13 09:21:28 -07:00
Zach Pomerantz
6294915be6
fix: convert token list to context ( #3712 )
...
* fix: convert token list to context
* fix: cosmos
2022-04-12 14:53:50 -07:00
Zach Pomerantz
984c742d0e
fix: use context for block number ( #3708 )
...
* fix: use context for block number
* fix: check for valid BlockNumberContext
2022-04-12 10:10:57 -07:00
Zach Pomerantz
00b151d7fa
fix: activation frames ( #3711 )
2022-04-12 09:23:19 -07:00
guil-lambert
5967cf5d9d
fix: bug where user cannot burn lp position if fetching fee values fails. ( #3633 )
...
* fix: can burn position even if fetching fees fails.
* Revert "fix: can burn position even if fetching fees fails."
This reverts commit a96f7178e55a264c32a3cf8c1b6562785cbd50d4.
* recover more gracefully from failed fee fetch
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2022-04-12 11:41:31 -04:00
Zach Pomerantz
e480f0ebe5
chore: simplify swap info ( #3710 )
...
* fix: prevent unnecessary TokenImg renders
* fix: prevent unnecessary trade renders
* fix: simplify swap info computation
2022-04-11 17:09:11 -07:00
Zach Pomerantz
f6ceecbc5e
fix: update hook deps to improve ref equality checks ( #3707 )
...
* fix: prevent unnecessary TokenImg renders
* fix: prevent unnecessary trade renders
2022-04-11 16:57:53 -07:00
Zach Pomerantz
e4b37cffcc
fix: skewed swap info state ( #3695 )
...
* fix: skewed swap info state
* fix: typings
2022-04-08 13:11:19 -07:00
Zach Pomerantz
dd69cccf91
fix: always run global updaters ( #3694 )
2022-04-08 12:38:39 -07:00
Zach Pomerantz
f91fc3c6a6
fix: defer layout effects ( #3687 )
...
* fix: use effect for color
* chore: clean up token defaults
* fix: condition updaters on active tokens
2022-04-08 10:27:10 -07:00
Zach Pomerantz
bc1c61b63a
fix: omit document ref ( #3685 )
2022-04-07 15:05:11 -07:00
Alex Dorsch
446ad3e0d4
fix: missing token balance ( #3661 )
...
* increase gas required to read token balance
* set token balance gas requirement to 185_000
2022-04-07 15:00:03 -07:00
Zach Pomerantz
65e58a08cf
fix: show i18n keys while messages load ( #3683 )
...
* fix: show i18n keys while messages load
* fix: i18n initialization check
2022-04-07 14:55:09 -07:00
Zach Pomerantz
71b20b432c
fix: block number stability ( #3684 )
...
* fix: block number stability
* fix: chainBlock logic
2022-04-07 14:26:50 -07:00
Zach Pomerantz
6c94a0f585
fix: swap validator ( #3682 )
2022-04-07 11:23:21 -07:00
Zach Pomerantz
600aeaaff1
fix: polling memory leak ( #3676 )
...
* chore: clarify stale callback
* fix: polling memory leak
2022-04-06 17:21:44 -07:00
Zach Pomerantz
84f76e34b2
fix: do not fetch wrap price ( #3673 )
...
* fix: do not fetch wrap price
* fix: abort trade computation for wraps
2022-04-06 13:04:16 -07:00
Zach Pomerantz
b965bed865
fix: token input height ( #3672 )
2022-04-06 12:14:15 -07:00
Zach Pomerantz
60d35b46f3
fix: simplify validation ( #3665 )
...
* fix: simplify widget validation
* test: update cosmos to trigger edge cases
* fix: simplify swap validation
2022-04-06 09:21:50 -07:00
Ian Lapham
3d422cf707
update address list ( #3669 )
2022-04-06 11:48:47 -04:00
Zach Pomerantz
de3a33dfcb
fix: stale data edge cases ( #3657 )
...
* fix: stale chain block
* chore: simplify atom usage
* fix: support single-token chain
* fix: avoid extra rpcs
* chore: rename isDisabled
* fix: simplify useUSDCPrice
* fix: simplify useComputeSwapInfo
* chore: include type
* fix: guard hasAmounts
2022-04-05 10:45:21 -07:00
Zach Pomerantz
99a084f230
fix: JsonRpc url wrapper ( #3662 )
...
* fix: JsonRpc url wrapper
* chore: finish renaming
2022-04-05 10:00:17 -07:00
Zach Pomerantz
bbf43fcd27
fix: walletconnect numeric chain id ( #3643 )
2022-04-01 10:57:11 -07:00
Noah Zinsmeister
7201944bc2
Revert "fix(error handling): try reloading the app when encountering a javascript error ( #3435 )"
...
This reverts commit 5cf9e84db5a5edac1a68ed8e321d02abe3f42a6a.
2022-03-31 17:24:47 -04:00
Noah Zinsmeister
b0ff0f83b0
fix crash ( #3634 )
2022-03-31 16:41:01 -04:00
Moody Salem
5cf9e84db5
fix(error handling): try reloading the app when encountering a javascript error ( #3435 )
2022-03-31 16:39:31 -04:00
Zach Pomerantz
c0bdb8db12
fix: break unnecessary hierarchical deps ( #3629 )
2022-03-30 21:23:33 -07:00
Zach Pomerantz
2d8f767d74
feat: upgrade web3-react ( #3628 )
...
* chore: upgrade web3-react
* feat: use a JsonRpcConnector
* chore: rm @ethersproject/experimental
* fix: assert Web3Provider in app
* fix: type providers more loosely
* chore: reinstall experimental for testing
2022-03-30 20:45:43 -07:00
Zach Pomerantz
1303416eca
feat: lazy load the lib's smart-order-router ( #3624 )
...
* feat: lazy-load the smart-order-router
* chore: guard against regression
2022-03-30 14:09:18 -07:00
Zach Pomerantz
124f6420a5
fix: lazy load en-us ( #3626 )
2022-03-30 13:32:49 -07:00
Zach Pomerantz
ec831f8433
chore: destructure json imports ( #3622 )
2022-03-29 12:00:42 -07:00
Crowdin Bot
56bd9b68d7
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-29 06:07:44 +00:00
Crowdin Bot
865d21f039
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-28 23:07:52 +00:00
Jordan Frankfurt
dceadf8472
chore(docs): add widgets info to the repo README ( #3600 )
...
* add widgets info to the repo README
* pr feedback from z
* pr feedback from w and z
* separate README.md and INTERFACE_README.md
* Update WIDGETS_README.md
Co-authored-by: Will Hennessy <hennessywill@gmail.com>
Co-authored-by: Will Hennessy <hennessywill@gmail.com>
2022-03-28 11:35:14 -05:00
Crowdin Bot
cd3a91bca8
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-25 07:06:55 +00:00
Connor McEwen
de1f5d1adc
feat: migrate to GA4 ( #3599 )
2022-03-24 21:44:48 -04:00
Crowdin Bot
b5d403768f
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-24 20:07:03 +00:00
Zach Pomerantz
33c24a3f05
fix: trade displays ( #3594 )
...
* fix: show syncing over insufficient balance
* fix: mv anti-janking up a level
* feat: add error caption for completeness
* chore: clarify naming
2022-03-24 16:02:20 -04:00
Zach Pomerantz
afe38a2d10
fix: tick before returning quote ( #3598 )
2022-03-24 12:33:35 -04:00
Zach Pomerantz
16b0b1530d
fix: memoize client side v3 router call data ( #3595 )
...
* fix: memoize client side v3 router call data
* fix: rm log
2022-03-24 10:30:28 -04:00
Zach Pomerantz
abb2696f40
fix: upgrade @web3-react/eip1193 to fallback to eth_accounts ( #3590 )
2022-03-23 20:45:49 -04:00
Zach Pomerantz
772178fc86
fix: add web3 debug log ( #3587 )
2022-03-23 20:45:22 -04:00
Crowdin Bot
9f1378f635
chore(i18n): synchronize translations from crowdin [skip ci]
2022-03-23 19:09:22 +00:00
Zach Pomerantz
84275dcce1
fix: action button jank ( #3582 )
2022-03-23 14:32:45 -04:00
Zach Pomerantz
a76ece6ce3
feat: prompt for interaction "in your wallet" ( #3585 )
...
* feat: prompt approval in wallet
* feat: prompt wrap in wallet
* feat: prompt confirm in wallet
* fix: animations
* fix: test typing
2022-03-23 14:12:58 -04:00
Zach Pomerantz
334e137fb3
fix: empty toolbar for empty input ( #3584 )
2022-03-23 14:07:56 -04:00
Zach Pomerantz
eb6c4d464a
fix: do not allow zeroes ( #3583 )
2022-03-23 14:07:41 -04:00
Zach Pomerantz
24734e6a34
Revert "fix: retain permit validity for lesser amounts ( #3580 )" ( #3586 )
...
This reverts commit f1bcee3c089bdcf77f500b5f628af8caf8536c54.
2022-03-23 10:33:50 -04:00
Zach Pomerantz
f1bcee3c08
fix: retain permit validity for lesser amounts ( #3580 )
2022-03-23 09:56:07 -04:00