Commit Graph

200 Commits

Author SHA1 Message Date
Jaco Greeff
cdf7c280ac
Fix controller validation (#1763)
* Fix controller validation

* Rework newError determiniation
2019-10-25 14:29:33 +02:00
Jaco Greeff
1c3a4c937a
Update balance total to be free, reserved & bonded (#1748) 2019-10-21 12:58:12 +02:00
Jaco Greeff
fb35cbf375
Staking Address func. (incl. performance improvements) (#1744)
* Staking Address func. (incl. performance improvements)

* Skip unneeded re-renders

* Use reducer

* Get rid on transform-only state

* Don't re-create empty objects
2019-10-21 11:40:51 +02:00
Jaco Greeff
bdceb5e2bd
Set session key mismatch (#1730)
* Set session key mismatch

* Cleanup 0 render

* 0 checks
2019-10-16 11:36:23 +02:00
Jaco Greeff
a6d2dcaf72
Expose and use StatusContext (#1725) 2019-10-15 10:07:54 +02:00
Jaco Greeff
5d7c2f1433
Fix typos (#1724) 2019-10-15 10:06:58 +02:00
Eswara Sai
2a4d761e0f Added parser to extract i18n strings (#1710)
* Added parser to extract i18n strings

* Fixed issues with eslint for config file

* Moved i18n locales to apps/public folder

* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Jaco Greeff
5328d54294
Limit nominees to 16 (#1717) 2019-10-11 10:56:55 +02:00
Jaco Greeff
ed4229c6f2
Don't allow unknown nominate add (#1714) 2019-10-11 08:50:15 +02:00
Jaco Greeff
024a55e3d0
Fix nominate display, add commission display (#1703)
* Fix nominating display, Closes https://github.com/polkadot-js/apps/issues/1701

* Add commission display on staking overview
2019-10-07 15:27:43 +02:00
Jaco Greeff
7c1ff04500
Add insert key functionality (#1683) 2019-10-02 14:24:02 +02:00
Jaco Greeff
1440d83545
Additional functional components (#1668)
* Additional functional components

* Additional

* SideBar

* Sign & Verify

* Small Signer modal updates

* Formatting

* Remove staking css (external file)

* Defaults in props

* Small adjustments
2019-10-01 16:22:23 +02:00
Jaco Greeff
0e70ce1b8b
Some more css -> styled conversions (#1677) 2019-10-01 14:29:56 +02:00
Jaco Greeff
f67058e4c0
Cleanup InputAddress export, proper props (#1673) 2019-09-27 12:29:30 +02:00
Jaco Greeff
ba8d55c1f1
Fix nomination selection (multi) (#1671) 2019-09-27 10:15:57 +02:00
Jaco Greeff
5ee21ae275
Staking performance updates (#1670)
* Staking performance updates

* More default on props
2019-09-26 22:21:16 +02:00
Jaco Greeff
c3ce788215
More functional components (#1667)
* More functional components

* sudo setKey

* Additional  components
2019-09-26 17:16:56 +02:00
Jaco Greeff
f5b0247270
Additional func. component conversions (#1659)
* Additional func. component conversions

* rendering function cleanups (pre-convert)

* Additional

* Forks to functional
2019-09-26 16:16:07 +02:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) (#1649) 2019-09-24 10:00:05 +02:00
Jaco Greeff
ff5b5c2a3f
Remove unused balances props (#1647)
* Remove unused balances props

* Comment CSS horribleness

* Extra {

* Merge master
2019-09-23 15:21:11 +02:00
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
a9cd43c8f0
Some more func component conversions (#1639) 2019-09-20 12:04:58 +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
4a6db79ab9
Chain names updates (#1605) 2019-09-12 21:38:32 +02:00
Jaco Greeff
514d99894d
Bump deps (#1603) 2019-09-12 16:32:40 +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
f19202c81e
Extra warning & no max on isUnsafeChain (#1588) 2019-09-06 11:43:05 +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
kwingram25
2752bedc6e
Functional components (app-*) (#1559)
* Functional components (app-*)

* refactor

* refactor

* refactor

* refactor

* refactor

* Revert "refactor"

This reverts commit 300a12ed7de5b1000f32f5269dff67f5ee1c1515.

* onRemove
2019-08-29 17:45:02 +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
d5e34157b5
Kusama CC1 -> Kusama (bond override) (#1536)
* Kusama CC1 -> Kusama (bond override)

* Kusama logo for W3F nodes
2019-08-26 09:15:06 +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
1323886c2c
Cleanup waiting count (direct from next list) (#1527) 2019-08-24 08:34:08 +02:00
Jaco Greeff
9908f0721e
Render validators based on stashId or address (#1525)
* Render validators based on stashId or address

* Fix waiting count

* Start call subscriprion  with setTimeout

* Remove stray debug log

* Ignore controller error when setting

* Update Kusama chain name
2019-08-23 15:41:09 +02:00
Jaco Greeff
b8cb835b32
Only warn for controller === stash (Dev, Kusama) (#1519) 2019-08-21 21:41:13 +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
a841ee9f64
Bump API (Offences) (#1507) 2019-08-17 11:53:31 +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
Jaco Greeff
2b3617236d
Bump API, Keys -> Tuple (#1486) 2019-08-09 10:07:29 +02:00
Jaco Greeff
87351fdd1d
Import session keys for author_rotateKeys (#1484)
* Session keys input

* Impoirt session keys for author_rotateKeys

* Bump API

* Defaults
2019-08-08 16:16:57 +02:00
Jaco Greeff
35a316f861
Swap session inputs to address (matches rotate RPC for 2.x) (#1475)
* Swap session inputs to address (matches rotate RPC for 2.x)

* Naming for v1/v2

* Use sessionIds

* Update for keys in triplicate

* Bump API
2019-08-07 22:12:47 +02:00
Lowhearth
27292b9794 Adjusted article padding and corrected Row's buttons position (1465) (#1469)
* Adjusted article padding and corrected Row's buttons position. Fixes #1465

* Corrected name-input overlapping account's id when editing

* Adjusted Row-buttons to keep bottom margin consistent and added name ellipsis.

* Removed buttons height to prevent bottom div displacement.
Adjusted text-wrap to work with spaces
2019-08-06 11:24:45 +02:00
Jaco Greeff
c7b6e26e45
Session keys for 2.x (#1461) 2019-08-02 13:52:01 +02:00
Jaco Greeff
b4de745cda
Support latest api (with dynamic types) (#1447)
* Make a start, halfway down with issues found...

* Around  80% through untangling  the linter

* Seems linted...

* Adjust latest

* Update for latest (Moment -> u64)

* Method -> Call

* Bump api from npm

* formatNumber (no unwrap needed)

* Update to latest ui packages

* Revert internal version downgrades
2019-07-29 12:24:43 +02:00
Thibaut Sardan
64e2f8e99c Fix account wrongly seen as current validator (#1446)
* fix(): current validators

* fix(): return null
2019-07-26 12:20:37 +02:00
Jaco Greeff
8bb35dd9ff
Complete eslint swap (#1407) 2019-07-16 11:56:40 +02:00