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
Jaco Greeff
144c8bbd85
eslint fixes (round 2) ( #1401 )
...
* eslint fixes (round 2)
* ui-params converted
* Tiny.
* Classes fix
* Some type cleanups
* Cleanup traling ,
* < 1k
* Small additions
* <750
* Mini updates modifiers
* More ui-app cleanups
* 312 problems (182 errors, 130 warnings)
2019-07-15 23:17:19 +02:00
Jaco Greeff
ea829237de
eslint cleanup (as unknown as State -> Pick<State, never>) ( #1405 )
2019-07-15 12:36:17 +02:00
Jaco Greeff
0e2265ff70
Some initial pre-eslint cleanups ( #1383 )
...
* Some initial cleanups
* Make it lint
* Small s/type/interface/ additions
* Small minor s/type/interface/
* More type -> interface
* Add lint:new rule
* Some small updates
* Cleanup dangling tslint issues
* Small updates
* ui-signer cleanups
* ui-reactive updated
* Make lint:new run
* Mini ui-params cleanups
* Some additions
* Tiny... and done for now.
* 1950 problems (1241 errors, 709 warnings)
* 1829 problems (1181 errors, 648 warnings)
* 1674 problems (1181 errors, 493 warnings) (no any... for now)
* Small additions.
* Array<T> -> T[] (all)
2019-07-14 22:27:12 +02:00
Thibaut Sardan
679219fe97
Staking compatibility with v2 ( #1397 )
...
* compat v2
* nits
* array synthax for eslint
* array synthax for eslint
* array synthax for eslint
* isSubstrateV2 in ui-api
2019-07-14 17:32:55 +02:00
Thibaut Sardan
42e0baf332
Bonded and available as labelExtra in Staking > bond more funds ( #1371 )
...
* bonded and available
* alphabetical ordering
* keep only available, +10% opacity for label and labelExtra
* lint
2019-07-09 17:25:06 +02:00
Jaco Greeff
68a523a778
Beauty is in the eye of the beerholder ( #1328 )
...
* Beuty is in the eye of the beerholder
* Signer dialog
* .multiple with address
* Transfer wrapper
* Multiple input height
* 2rem -> 1.75rem
* Adjustments for invalid
* Break IdentityIcon out of box
* Small layout adjustments
* Row adjustment
* Remove commented styles
* Remove commented code
* Remove unneeded padding
* Remove unused i81n
* Display messages with input-like styling
* InputFile & Messages overrides
* Adjust input margins (non-flex)
* Center icon
* Adjust labelExtra placement, staking dropdown
* Combine linked lists into one
* Fix developer settings
2019-07-08 22:33:57 +02:00
Thibaut Sardan
a2d6a61d0e
Fix "query.staking.bonded Bonded expect one argument" ( #1361 )
...
* fix 1069
* remove that automatically imported import
2019-07-07 18:40:15 +02:00
Thibaut Sardan
27135475fa
Stray log ( #1356 )
2019-07-02 16:26:21 +02:00
Thibaut Sardan
d16a4282ee
Support 1.x setKey & 2.x setKeys ( #1322 )
...
* setKeys
* new one first
* use same sessionId with both keys
2019-06-29 10:11:45 +02:00