Commit Graph

384 Commits

Author SHA1 Message Date
Noah Zinsmeister
fb4b4fd3e2
fix dapp browsers hanging 2019-12-05 16:58:30 -05:00
Noah Zinsmeister
790fe3f327
hot fix for dapp browsers 2019-12-05 16:29:53 -05:00
Noah Zinsmeister
4ef30cc8fd
merge prod into beta (#535)
* block some countries (#534)

* Adds min-width to custom slippage input. (#533)

On Firefox (maybe other browsers as well) the lack of min-width results in the default `input` element min-width which is ~92px.  This results in the flex container overflowing the bounding element.  By setting min-width to 20px, the box will instead grow to fill the available space, which is defined by its parent that has the pink border.  This avoids the overflow issue (as long as the parent doesn't get too small, which it won't at the moment since it is fixed size).
2019-12-05 15:39:35 -05:00
Ian Lapham
794bbd88b2 Update to loading state for injected desktop browsers (#532)
* update injected loading state

* update styles

* update injected connector

* center spinner
2019-12-05 14:58:22 -05:00
Ian Lapham
fe82dcf2e1 Hosted wallets (#531) 2019-12-04 18:48:43 -05:00
Noah Zinsmeister
28672100d0
merge prod into beta (#530)
* add CHAI

* update compound tokens (#527)

* update compound tokens

* Update Tokens.js

* add fortmatic metatag

* add TRYB (#529)
2019-12-04 17:43:14 -05:00
Ian Lapham
015c9f8598 Hosted wallets (#528)
* formnatic setup

* stable with new hosted

* stable version, fortmatic and portis

* fix safari bug

* cleanup

* add white version of arrow

* update options to tabbable buttons

* update injected version

* style tweaks

* style tweaks, remove portis connector
2019-12-04 17:31:56 -05:00
Noah Zinsmeister
a11dc4cd1c
add chai (#526) 2019-12-02 14:55:48 -05:00
Paul Razvan Berg
bcf480e758 Import useWeb3React from the hooks folder (#522) 2019-11-27 10:01:47 -05:00
Paul Razvan Berg
7d9ff637ef Replace networkId with chainId (#521) 2019-11-27 09:33:11 -05:00
Ian Lapham
795caac4fd Wallet Support with web3-react v6 (#514)
* basic support for desktop and mobile, with or without web3

* stable before mobile view update

* mobile modal views

* remove unused modules

* create global context for wallet modal, update to click button to connect

* first pass

* drag with react pose

* try without pose

* replace context with new syntax, basic setup

* stable version on all browser types

* remove dev flags

* fix swap broken

* update to clickable connect button if logged out

* stable, good entry

* fix bugs, exit animations

* prep for merge

* stable version with updated application context

* update animations with correct gesture package

* refactor wallet logic to multi-root

* small fixes

* Style Updates

* remove unused imports

* refactor wallet page
2019-11-25 17:56:31 -05:00
Ian Lapham
116a7f3833 fix bug with a try catch on approval (#516) 2019-11-21 14:10:59 -05:00
Micah Zoltu
04a918eda2 Removes scrollbars when there is nothing to scroll. (#513) 2019-11-20 10:20:23 -05:00
Noah Zinsmeister
b44fc03eb9
add SAN/QSP/SHUF/IOTX/RING (#509)
* add SAN

* add QSP

* add SHUF

* add IOTX

* add RING
2019-11-18 12:47:12 -05:00
Ian Lapham
645484853a Dai Migration - UI Updates (#503)
* skeleton for migration - still need links and adrdess of new contract

* update render conditions

* fix close on click

* updated warning logic

* add mcd to token list

* changes before merge

* remove unused imports

* add checksums
2019-11-18 11:52:27 -05:00
Ian Lapham
5f8c350d86 fix big on linking to add liquidity (#505) 2019-11-15 16:02:16 -05:00
Agustin Aguilar
2c1c076d59 hotfix/trust-icons-change (#501)
* Trust URI scheme, replaced by checksum address

* Run prettier
2019-11-09 11:15:15 -05:00
Noah Zinsmeister
bb4d035012
add tokens (#495)
* reorder LQD, add LEND

* add MBC

* add ENJ

* add AMN

* add SOCKS
2019-11-05 11:37:32 -05:00
Ian Lapham
c2f51f3b3e create warning and disable add liquidity button for broken tokens (#491)
* create warning and disable add liquidity button for broken tokens

* fix mobile styles
2019-10-29 15:56:53 -04:00
Paul Cowgill
2c856d279a Typo fix (#482) 2019-10-21 18:30:47 -04:00
Ian Lapham
829a968008 allow for ETH in output command, zupdate to 6 digits on exchange rate (#464) 2019-10-17 07:39:43 -07:00
Noah Zinsmeister
862958d015
add iDAI
closes #416
2019-10-01 14:41:54 -04:00
Ian Lapham
a33a2d90e1 make balances clickable on add liquidity page (#449)
* make balances clickable on add liquidity page

* update formatting logic

* fix max slippage calculation
2019-09-30 15:24:40 -04:00
CLINT
ea327ff810 New sUSD exchange and removed old sETH exchange (#451)
* New sUSD exchange and removed old sETH exchange

* checksummed sUSD
2019-09-30 10:01:47 -04:00
Noah Zinsmeister
28e449887a
add PAN
closes #443
2019-09-25 16:42:03 -04:00
Noah Zinsmeister
5ffa4baefa
add DATA
closes #415
2019-09-25 16:39:58 -04:00
Noah Zinsmeister
748a817057
add AMPL
closes #401
2019-09-25 16:36:45 -04:00
William Morriss
0693b92e5e True Currencies (TrueAUD, TrueGBP, TrueHKD) (#447)
* Add other TrueCurrencies

* reorder based on ticker
2019-09-18 10:45:01 -04:00
CLINT
6f3ba2ebf8 Migration from old to new sETH exchange (#444)
* Migration from old to new sETH exchange

* checksum addresses
2019-09-17 18:49:19 -04:00
Noah Zinsmeister
1fe266025e
add better testnet support (#446)
* add rinkeby support

* add client-side routing link
2019-09-17 18:47:55 -04:00
William Morriss
1349085cc1 Update TUSD address and add TCAD (#442)
* add TCAD and update TUSD address

* update TUSD uniswap exchange address
2019-09-17 18:47:45 -04:00
Ian Lapham
4f566ab0c2 Add Custom url parameters (#423)
* query params for input and output currencies

* add slippage option

* add slippage cusytom param

* updated for sender address

* add field and amount support

* update params for pool page

* finish basic url support

* update app format

* update error checking to top level

* update for all pages

* fix build

* param updates

* fix slippage to basis points, update theme text, refactor to minimize lookups

* fix code styles

* update theme logic, remove extra setting, update rounding

* remove eslint comment errors

* remove logs, ignore lock

* remove lock
2019-09-17 18:47:32 -04:00
Noah Zinsmeister
61d6556a0d
fix rounding issue (#445) 2019-09-17 18:47:14 -04:00
Noah Zinsmeister
ecd7175315
improve network connectivity (#441) 2019-09-06 19:15:22 -04:00
Ian Lapham
0f20788c78
Merge pull request #432 from ianlapham/ui-updates
Ui updates
2019-08-29 17:47:39 -04:00
ian-jh
cdc0b4070f fix loading issues 2019-08-29 17:44:33 -04:00
Noah Zinsmeister
65e96296ab
refresh bug v2 (#430) 2019-08-27 01:21:22 +02:00
Noah Zinsmeister
35d650e02b
fix refresh error (#429) 2019-08-27 01:02:25 +02:00
Ian Lapham
d18ee78ee7 Fix firefox bugs (#427) 2019-08-24 08:50:43 +02:00
Ian Lapham
de8c9189ce Fix firefox bugs (#424) 2019-08-21 20:22:28 +02:00
Noah Zinsmeister
45a0e93d98
make web3 connection logic more robust 2019-08-20 17:15:13 +02:00
Noah Zinsmeister
9796c04d4f
slow down polling interval (#420) 2019-08-19 11:04:31 -04:00
Noah Zinsmeister
54ef651806
fix re-render bug 2019-08-13 15:07:42 -07:00
Callil Capuozzo
da22c6d69a Style token modal and toggle switch (#413) 2019-08-13 14:42:32 -04:00
Ian Lapham
1c6fa1761f set night mode to default (#412) 2019-08-13 13:34:14 -04:00
Ian Lapham
677537ca31 Updates to Token Modal (#399) 2019-08-12 20:37:32 -04:00
Noah Zinsmeister
be2012cdf5
fix deprecated switch component (#409) 2019-08-12 19:19:03 -04:00
Noah Zinsmeister
f314c75829
update token logo url (#408) 2019-08-12 11:33:31 -04:00
Jackson
8011a02e13 Update SNX to vanity contract address (#405) 2019-08-12 11:04:21 -04:00
Noah Zinsmeister
ae50d269ed
fix ens stuff again (#407) 2019-08-12 11:03:11 -04:00
CLINT
9a1b434568 Update SNX Contract ProxyERC20 Address (#404) 2019-08-08 11:05:13 -04:00
Noah Zinsmeister
cff73c527a
add RCN (#402)
closes #363
2019-08-07 15:45:31 -04:00
Callil Capuozzo
c28884f44b Add theme toggle and footer (#400) 2019-08-07 14:58:29 -04:00
Callil Capuozzo
80da6e0ff6 Dark theme (#380) 2019-07-31 14:11:58 -04:00
Noah Zinsmeister
3a23d84de0
delete package lock
re-invert rates

make slippage parsing more explicit
2019-07-30 15:48:08 -04:00
Noah Zinsmeister
0235bedae5
Merge branch 'combine-swap-send' of https://github.com/ianlapham/uniswap-frontend into ianlapham-combine-swap-send 2019-07-30 14:05:28 -04:00
ian-jh
d90604dacc update code style for build 2019-07-30 10:53:38 -04:00
Noah Zinsmeister
767ce8646f
allowing leading dot slippage (#381) 2019-07-30 10:45:50 -04:00
ian-jh
eef28cf24c fix build errors; 2019-07-30 10:40:00 -04:00
Noah Zinsmeister
8d0b8e32a4
fix ens name typing bug (#378)
* fix ens typing error handling
2019-07-29 18:34:15 -04:00
ian-jh
7a58ca810f resolve conflicts 2019-07-29 16:46:36 -04:00
ian-jh
7304277735 update appjs component structure 2019-07-29 16:03:35 -04:00
ian-jh
e19e150f01 combine swap and send pages into one component 2019-07-29 15:35:28 -04:00
Callil Capuozzo
66604cf47e Add focus styles (#375)
* Add focus styles

* remove periods

* Change copy and button hover state
2019-07-29 15:14:53 -04:00
Ian Lapham
30887ef1fc Add slippage option (#369)
* add custom slippage to /swap
2019-07-26 18:11:35 -04:00
Noah Zinsmeister
12344f74ef
add localstorage support (#374)
* add localstorage support

* remove connect arrow

* invert rates to start
2019-07-26 18:02:48 -04:00
ian-jh
2fef97d0f3 setup initital component merging 2019-07-24 16:33:28 -04:00
ian-jh
1dcec9be38 fix button state bug 2019-07-24 15:00:03 -04:00
ian-jh
8c3b2bff8d update logic for button state 2019-07-24 14:53:36 -04:00
Mounir Benchemled
12ab73d6c9 Feature/ropsten (#370)
* Refactoring AddLiquidity to make gasLimit computation more clear
2019-07-24 10:26:17 -04:00
ian-jh
2ceffda8f9 add error logic and styling 2019-07-23 17:32:26 -04:00
Noah Zinsmeister
2431e26599
add tokens, do some summer cleaning (#368)
* fix suppressClassNameWarning

* remove .md

* update dependencies

* add MLN

closes #367

* add DIP

closes #359
2019-07-23 13:50:31 -04:00
Ian Lapham
eea30fae67 Fix i18n bug (#365)
* fix i18n bug

* fix styles

* update with prettier and include env file
2019-07-22 15:19:15 -04:00
ian-jh
2a6b1e63c4 add initial changes 2019-07-22 15:00:45 -04:00
ian-jh
0bb6bdcd37 fix styles 2019-07-17 10:18:17 -04:00
ian-jh
6be569a2c6 fix i18n bug 2019-07-17 10:10:55 -04:00
CLINT
9fa28f14a7 Update SNX and added sETH liquidity (#361)
* added Synthetic ETH & Update with new SNX Address
2019-07-11 10:27:38 -04:00
Pascal Van Hecke
86c8bef1f2 Adding DGD token tentatively to check on netlify whether the new inte… (#357)
* Adding DGD token
2019-07-09 13:53:12 -04:00
Noah Zinsmeister
94a225b3ea
add dai pool tokens 2019-07-05 13:40:31 -04:00
Noah Zinsmeister
b8035fc82f
add RPL + STORJ + WCK
closes #346
2019-07-05 13:28:31 -04:00
Noah Zinsmeister
668a1c80ee
fix various 0 decimal bugs (#342) 2019-06-21 10:25:13 -04:00
Noah Zinsmeister
54b889794b
add MGN 2019-06-17 12:30:16 -04:00
Noah Zinsmeister
727d289413
modal responsiveness, 1 token addition, token selection (#329)
* improve modal responsiveness

* add MATIC

* fix modal min height reversion

* add token population via route
2019-06-14 10:39:33 -04:00
Noah Zinsmeister
214d12ab85
add pnk and mod (#322)
* add pnk and mod

closes #308 and #321

* checksum
2019-06-04 19:27:21 -04:00
Noah Zinsmeister
cb4e1648d4
bug fixes (#319)
* fix ens name bug

* remove console.log

* add GEN

* fix styling and min display values
2019-05-31 13:39:22 -04:00
Noah Zinsmeister
c36a319982
fix 0 decimals bug (#318) 2019-05-30 17:54:32 -04:00
CLINT
788b6f6f01 Update new SNX exchange and new token address (#316)
* Update new SNX exchange and new token address

* remove whitespace

* checksum exchange address
2019-05-30 13:37:36 -04:00
Callil Capuozzo
d206bd40e2 Feather icons (#314)
* Remove fontawesome
2019-05-28 18:44:46 -04:00
Noah Zinsmeister
ad7b647df9
clear stale network error 2019-05-28 16:57:18 -04:00
Noah Zinsmeister
70e9257c49
fix warnings + bugs 2019-05-28 14:53:47 -04:00
Noah Zinsmeister
f2f960f6fa
various improvements (#313)
* add unchecked signer

* remove focus underline from tabs

* update tokens

* remove console log

* remove snx for now

* make slippage warnings more robust

* memo-ize contexts

* improve slippage styling
2019-05-28 14:10:02 -04:00
Noah Zinsmeister
6579e17f7f
Account improvements (#302)
* begin account migration

* prep for styling

* improve multi-network support

allow deprecated window.web3 providers

* kill old modal

* remove tests

* clean up css

* Style account modal

* kill scss

* bug fixes

* use suspense for code-splitting and i18n

move abis

add ENS support to Web3Status

* Account modal mobile styles

* style tweaks

* finalize migration

* fix account styling

* fix ethereum svg

* fixes

* Split wallet modal into components

* refactor wallet modal and add connect button styles

* removing tap highlights

fix spacing on some mobile browsers

* Styling fixes for account and warning

* clean up injected connector logic

* remove console

* add wrong network copy

* restore border radius

change wallet logo
2019-05-24 16:53:01 -04:00
CLINT
6541f3582f update SNX exchange and token address (#301)
* update SNX exchange and token address

* checksum exchange address
2019-05-22 11:10:09 -04:00
Noah Zinsmeister
25692792fa
fix liquidityMinted bug 2019-05-16 17:03:10 -04:00
Noah Zinsmeister
39312ab8c0
final bug fixes (#293)
* make jazzicon same as metamask

* fix token-token market rate

fix transactions bugs

add new contextual info to send

* fix .1 balance check on add liquidity

fix double click max balance bug
2019-05-16 16:54:15 -04:00
Noah Zinsmeister
e27cd92cd2
Slippage warning (#292)
* add rudimentary slippage warning

fix address checksum bug

debounce address input

alway show tx details if valid trade

* fix estimated copy
2019-05-16 13:21:14 -04:00
Noah Zinsmeister
c6e165eaf7
token search improvement, token addition (#288)
* add lqd

* only search valid keys
2019-05-14 12:05:57 -04:00
Noah Zinsmeister
2f0e2fb234
Beta cleanup (#285)
* improve context logic

* fix font-variant

* add dependencies for later

* fix icon
2019-05-14 10:19:09 -04:00
Noah Zinsmeister
c27cd98b33
fix 0 decimals bug 2019-05-09 20:48:34 -04:00
Noah Zinsmeister
78cdf11b37
Liquidity migration (#279)
* finalize initial migration

* remove redux

* fix token to token rate bug

* finalize initial migration

* fix test
2019-05-07 22:25:55 -04:00