Commit Graph

42 Commits

Author SHA1 Message Date
Jaco Greeff
6fb8916e6f
More functional component conversions (#1640)
* More functional component conversions

* Expose systemVersion on api

* Signer checks

* KeyRing uses local IdentityIcon
2019-09-20 16:08:37 +02:00
Jaco Greeff
3a9d67f398
Add GlobalStyle component (#1638)
* Add GlobalStyle component

* Move all react-component/styles -> styled-components
2019-09-20 12:05:23 +02:00
Jaco Greeff
a66577eda4
More functional component conversions (#1633)
* More functional component conversions

* Cleanups

* functional Elapsed

* Status -> functional

* Couple more

* One more tiny one
2019-09-19 17:57:32 +02:00
Bhanu Teja P
01271da389 Add relevant icons to top-level buttons (#1618)
* Add relevant icons to top-level buttons

* Add some missing icons

* Add some missing icons

* Add missing icons
2019-09-19 12:57:10 +02:00
Jaco Greeff
f35b2d4428
Update fees, mortal & tips (#1590)
* Update fees, mortal & tips

* Linting

* Revert findCall

* Fix fee calculation (take version byte  into account)

* Remove MAX (weights), add weight note

* does not *
2019-09-18 14:53:51 +02:00
Jaco Greeff
fbe68b6c5d
Reset themes, single palette (#1607)
* Reset themes, single palette

* Additional comments

* Bump identicon, darkorange highlights

* Default button colors to $default

* isPrimary for all major (maybe rather shouldn't)

* All input buttons are non-primary

* Toggle to $highlight, links to $primary

* Swap darkorange to Thibaut-orange

* Icon  highlight to non-orange

* Highlight  package bump

* Updates

* Adjust referendum result color (aligning with orig Polkadot)

* Bumpos, button text color
2019-09-18 12:59:56 +02:00
Jaco Greeff
a92335aaf4
Ledger support (#1620)
* Ledger support

* libusb dep for CircleCI

* LedgerSigner for signer app

* Bump ui-*

* Extract ledger query

* Ledger support behind ?ledger=... param

* Fix query-string dep

* Bump deps
2019-09-18 10:37:59 +02:00
Jaco Greeff
84d693d00f
Don't rely on ui-keyring to provide SUI options (#1617)
* Don't rely on ui-keyring to provide SUI options

* functional KeyPair component

* Delete temp.txt

* Bump ui-*
2019-09-16 21:15:29 +02:00
Jaco Greeff
ad7506b83d
Api bump with rpc_methods call (#1616) 2019-09-16 16:39:01 +02:00
Jaco Greeff
16fb349f2a
Select icon type (#1614)
* Select icon type

* Fix edgeware node

* Fix node selection dropdown s/}/)/
2019-09-13 20:28:34 +02:00
Jaco Greeff
72f803926f
Some small component conversions (#1581)
* Some small component conversions

* Default exports

* Squashing

* Some additional components

* Linting
2019-09-13 10:29:44 +02:00
Jaco Greeff
8a77f5f0a6
Add Edgeware selector (#1606) 2019-09-12 23:06:29 +02:00
Jaco Greeff
4a6db79ab9
Chain names updates (#1605) 2019-09-12 21:38:32 +02:00
Lowhearth
4ecdf73ce9 Avoid overflow on staking pages #1502 (#1593)
* Closes #1502

Avoid text overflow on staking app

* adjusted flex ratio
2019-09-09 14:59:41 +02:00
Jaco Greeff
65a9d91ad0
Collapse unbonding, hover expands all at once (#1589)
* Collapse unbonding, hover expands all at once

* Return null (not 0)

* Linting
2019-09-06 15:53:21 +02:00
Jaco Greeff
86b8954b1c
Mobile signer support (via Qr) (#1583)
* Add external accounts via Qr

* WIP on signing

* And we are off to the races

* Add qr state

* Name checks

* Bump deps
2019-09-06 14:35:52 +02:00
Jaco Greeff
cc6763e68d
Bump api (SignerPayload updates) (#1584) 2019-09-04 16:47:42 +02:00
Jaco Greeff
b785c8acf2
genesisHash accounts toggle (#1573)
* genesisHash accounts toggle

* Bump deps

* Adjust toggle colors

* Use Api context

* Add genesisHash to addresses (on by default)
2019-09-03 16:26:03 +02:00
kwingram25
c9790f85d9
useContext instead of withApi (#1579)
* useContext instead of withApi

* types to interface, fixes
2019-09-03 15:00:09 +02:00
Jaco Greeff
ceedb44699
Edgeware support (#1577)
* Add edgeware types to the base

* Fix edgeware type imports

* Swap calcSignLength to BN result

* Don't allow max to go negative
2019-09-03 12:46:05 +02:00
Jaco Greeff
52ab9ac0e3
withApi -> useContext (fixes ref issues) (#1576) 2019-09-03 10:19:50 +02:00
kwingram25
cdf1d88de5 Functional components (apps, react-components) (#1564)
* Functional components (apps, react-components)

* move consts
2019-09-01 14:23:42 +02:00
Jaco Greeff
ec8be875df
typescript-eslint 2 (#1568)
* Setup for typescript-eslint 2

* Cleanup linting

* Bump ui version

* Exclude build folders
2019-09-01 13:34:56 +02:00
Jaco Greeff
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +02:00
Jaco Greeff
c3f0151746
Make setting URL component re-usable (#1556)
* Make setting URL component re-usable

* Adjust toggle

* Center icons

* Cleanups

* Fix linting

* extract label

* Simplify

* More cleanups

* Readability tweaks
2019-08-29 11:47:11 +02:00
Jaco Greeff
f251964843
Swap substrate logo to hexagon (#1558) 2019-08-29 11:24:32 +02:00
Jaco Greeff
9beece08c9
Allow optional params in state/toolbox (#1554)
* Allow optional params in state/toolbox

* RPC calls work with optional
2019-08-28 17:30:11 +02:00
kwingram25
1f51e600d1 Display ReceivedHeartbeats status for staking accounts (#1476)
* Display ReceivedHeartbeats status for staking accounts

* Fix

* linting error

* complete merge

* fix changed event sig

* fix recentlyOnline check
2019-08-28 16:12:24 +02:00
Jaco Greeff
e976d3500d
Add images to chain dropdown (#1553)
* Add images to chain dropdown

* Warp up
2019-08-28 13:54:49 +02:00
Jaco Greeff
fe484dedfe
Cleanup logo consistency (incl. transform) (#1550) 2019-08-28 12:25:14 +02:00
Jaco Greeff
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +02:00
Jaco Greeff
3d43241a5a
Add ChainImg component (#1540) 2019-08-26 14:57:57 +02:00
Jaco Greeff
74738dc6af
Enable links to Polkasscan for Kusama (#1538) 2019-08-26 10:21:18 +02:00
Jaco Greeff
2dde1326df
0.34 (#1530) 2019-08-24 14:14:57 +02:00
Jaco Greeff
8e2551138e
Swap to subscribeNewHeads in API (#1529) 2019-08-24 12:47:26 +02:00
Jaco Greeff
24c7a70526
Bump API, no default label lowerCase (#1515) 2019-08-21 16:31:21 +02:00
Jaco Greeff
48faaf9541
Update for 2.x ValidatorPrefs (#1513)
* Update for 2.x ValidatorPrefs

* Whitepace, linting...

* Type cleanups

* Cater for ValidatorPrefs, no unstake
2019-08-19 21:05:31 +02:00
Jaco Greeff
2fe7483085
Bump API, Babe+Aura block (#1506)
* Bump API, Babe+Aura block

* Update imports
2019-08-16 20:53:23 +02:00
Logan Saether
00c95baf89 Add buttons back (#1505)
* Add buttons back

* Fix buttons in Collection instead

* Remove unneeded buttons from CardGrid
2019-08-16 14:48:40 +02:00
kwingram25
a4b0c494d3 Claim tokens app (#1485)
* Ethereum pk -> address

* [WIP] Claim tokens app

* cleanup

* refactor

* Fixup address extraction

* Use card instead of Inset (UI alignment)

* Tadaaa! Claiming works.

* Uppercase token name

* Claim location (& overall spacing)

* Remove stray console.error

* Some documentation around utils
2019-08-16 00:40:27 +02:00
Jaco Greeff
0946e0e678
Render session hex (#1497)
* Render session hex

* session keys as part of AddressInfo

* fix: 48 bits and remove from the overview

* fix validator prefs and sessionsId.length

* fix #1500 and put block number in for V2
2019-08-14 07:37:48 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00