Commit Graph

89 Commits

Author SHA1 Message Date
Jaco Greeff
e20933e68e
Additional set controller checks (#963)
* Cleanup naming (contreoller, stashes)

* Warning for controllers & stashes

* Linting

* Adjust popup to align with react-tooltip colors
2019-04-11 12:39:31 +02:00
kwingram25
fa8e13c562 add last block to staking overview, reposition warning (#959) 2019-04-11 08:30:03 +02:00
kwingram25
51e71dc3ac RecentlyOffline added to Account Actions (#929)
* RecentlyOffline added to Account Actions

* travis-ci

* relocate recentlyOffline state

* comma

* comma
2019-04-10 10:55:14 +02:00
Jaco Greeff
74af106d6a
Re-add blocknumber for validators (#933)
* Re-add blocknumber for validators

* Adjust position

* Small spacing adjustments
2019-04-10 10:40:37 +02:00
Jaco Greeff
12f559dc7b
Filter nominators on the stash (#930) 2019-04-09 14:07:50 +02:00
Jaco Greeff
e3b44abaec
Add help overlay for staking (basic intro) (#922)
* Add help overlay for staking (basic intro)

* Allow webpack *.md imports (without TS complaining)

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>
2019-04-08 18:52:44 +02:00
kwingram25
56aef9398b Add BondedRx component & display bonded value, refactor RecentlyOffline (#923)
* recently offline on own accounts

* wip bonded display

* RxBonded component

* travis-ci

* import mistake

* redo

* RRemove balance (overview) & index (accounts)

* Remove session.validators

* Re-add displaying only the last offline block

* Small setState cleanup (+ State in generic)
2019-04-08 14:01:20 +02:00
Jaco Greeff
85a90e9ac8
2-column staking layout (#920) 2019-04-08 12:46:54 +02:00
Jaco Greeff
37ba6f0338
Fix errant bonded call (with invalid address) (#925) 2019-04-08 12:46:11 +02:00
Jaco Greeff
5e367bb41e
Allow bonding of extra funds (#918) 2019-04-08 08:58:41 +02:00
Jaco Greeff
c3073a7d65
Combine controller/session when the same (#917) 2019-04-08 08:20:01 +02:00
Jaco Greeff
f9f5b39a0e
Display bonded amount on overview (#915) 2019-04-08 00:15:33 +02:00
Jaco Greeff
ed1e58d9a4
Display session key with stashes (#911)
* Display session key with stashes

* Only display node info when connected
2019-04-07 18:20:02 +02:00
Jaco Greeff
0854c78bfa
Display controller on overview (#907)
* Display controller (with stash in overview)

* Styles
2019-04-07 14:05:56 +02:00
Jaco Greeff
f3876d573a
Show session key on controller, before anything (allow selection) (#906)
* Show session key on the controller

* Force session keys on controllers

* Display session

* Padding cleanups
2019-04-07 13:33:14 +02:00
Jaco Greeff
a878d0ca99 Highlight validator stashes 2019-04-07 12:14:03 +02:00
Jaco Greeff
dc4a9318c7
Nominate multiples (#899)
* Nominate multiples

* Swap columns to stashes, pass through targets to nominate

* Nominate Validator -> Nominate Validators
2019-04-06 22:34:17 +02:00
Jaco Greeff
a668d76758
recentlyOffline returns multiple entries per account (#895)
* recentlyOffline returns multiple entries per account

* ed25519 warning (help expansion)

* Use staking_ledger to map to stash
2019-04-06 09:24:16 +02:00
Jaco Greeff
eee4432a0a
Add hover help info for status dialogs (#893)
* Add hover help info for status dialogs

* Cleanup intentions -> waiting (actual nextup count)

* Format offline blockNumber
2019-04-05 11:46:28 +02:00
Thibaut Sardan
195f3b72e3 Add value field to destination dropdown for bonding settings (#888)
* add value field to destination dropdown

* linting
2019-04-04 14:00:31 +02:00
kwingram25
2f6e8c8afe Add recently offline badge to validators (#883)
* Add recently offline badge to validators

* Change formatNumber import (available from util now)

* Typo.

* minor fixes
2019-04-03 14:52:01 +02:00
Jaco Greeff
def0506e1d
formatting utils from @polkadot/util (#878) 2019-04-02 15:12:58 +02:00
Jaco Greeff
5b3619ae1b
Re-add media queries (pertinent info) (#877) 2019-04-02 09:56:01 +02:00
Ross Bulat
4c65729b5e Scrollable summary bar (#850)
* scrollable summary bar

* subtle outline

* subtle plus / article flex / centered labelling

* height -0.1rem

* inset shadow spread

* styled Card / tidy up

* tslint

* webkit scrollbar

* >

* nitpicking
2019-04-02 08:40:59 +02:00
Jaco Greeff
bc77204e62
Don't allow controllers same as stash (#869) 2019-03-29 14:10:16 +01:00
Jaco Greeff
dfdc0fbf3e
Next up list (and API update for improved list support) (#864)
* Next up list (and API update for improved list support)

* Adjust layout slight, remove unused var

* Hide actions with no accounts
2019-03-28 17:41:22 +01:00
Jaco Greeff
91f202cfde
Re-introduce nominators per validator (#856)
* Show validator nominators

* Cleanup errant console.log
2019-03-27 22:37:11 +01:00
Jaco Greeff
9bd7392d73
More informative staking page (buttons based on actions) (#855)
* WIP

* Render nominees

* Staking statics & buttons
2019-03-27 18:26:35 +01:00
Jaco Greeff
50ff4afb5c Allow bond (bondId can be null) 2019-03-27 16:40:57 +01:00
Jaco Greeff
50092a7b74
Rename Stake -> Validate, show controller/stash (#853)
* Rename Stake -> Validate, show controller/stash

* Small styling updates

* account -> controller account
2019-03-27 12:10:12 +01:00
Jaco Greeff
1bea7eb2fd
Be explicit in setting session keys, rework controlling (#852)
* Be explicit in keys

* Bump API
2019-03-27 10:59:01 +01:00
Jaco Greeff
f70c1fcf64
Display controller only if no bonding (#851) 2019-03-27 08:54:29 +01:00
Jaco Greeff
4b85bcf612
Add chill functionality (#847) 2019-03-26 13:32:43 +01:00
Jaco Greeff
24d3c18205
Nominate/Stake for controllers (#846) 2019-03-26 12:51:08 +01:00
Jaco Greeff
fd104ccd45
Add nomination (basic, initially single account) (#845) 2019-03-26 12:30:27 +01:00
Jaco Greeff
5a50b9ba97
Add ability to stake (#844) 2019-03-26 11:57:08 +01:00
Jaco Greeff
798a66d8ca
Allow setting on controllers (#843)
* Allow setting on controllers

* Only allow controller selection from accounts
2019-03-26 11:08:58 +01:00
Jaco Greeff
9ee5280adb
Add bonding preferences (#842) 2019-03-26 10:16:59 +01:00
Ross Bulat
b097ae8f9a <SummaryBox /> styled component (#830)
* <SummaryBox /> styled component

* remove comment

* apps -> ui-app comment

* rolling back to .css

* rm styled

* styled SummaryBox

* indent
2019-03-24 20:59:29 +01:00
Jaco Greeff
0bc26e2078
Fix unnominate (Option causing issues) (#827)
* Fix unnominate (Option causing issues)

* Merge master
2019-03-22 10:14:20 +01:00
Jaco Greeff
338bd517a0
Remove /index imports (swap to bare) (#814)
* Remove /index imports (swap to bare)

* Bump deps
2019-03-14 10:45:58 +01:00
Jaco Greeff
852f3c7918
Hide staking actions (when on bond API) (#792)
* Hide staking actions (when on bond API)

* Remove unused import

* Pull in new API with updated Metadata

* Hide low/high when there are no intentions

* Cleanup linting issues
2019-03-07 13:25:06 +01:00
Jaco Greeff
9adfd46cc3
Bump i18next version (with usage changes) (#736)
* Bump i18next version (with usage changes)

* Remove unneeded i18n wrapping (Unlock)

* Bump semantic-ui version
2019-02-20 10:26:27 +01:00
Jaco Greeff
4889fb7147
Pull in new API (Option<Type> for storage) (#730)
* Pull in new API (Option<Type> for storage)

* staking_nominating is Option

* WIP

* Seems working, however democracy, not happy

* Bump API, Option storage fix

* Pull latest API

* Api version display
2019-02-20 08:45:42 +01:00
Jaco Greeff
cf23041b85
Pull in @polkadot/ui-util (#724)
* Pull in @polkadot/ui-util

* Pull in @polkadot/ui-util

* Skip tests
2019-02-18 14:45:29 +01:00
Jaco Greeff
77cecc81f6
Fix validatorPrefs input (#721)
* Fix validatorPrefs input

* Display summary with value
2019-02-16 17:07:12 +01:00
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports (#711) 2019-02-13 22:49:10 +01:00
Jaco Greeff
d873512ccc
Forward-port low-hanging breaks (#673)
* Pull in media from jg-ui-break

* Test apps, pull in flex-media settings
2019-02-05 08:01:40 +02:00
Jaco Greeff
1e86fb745c
Bump API for hash-value signatures (#665)
* Bump API for hash-value signatures

* Imports, hide tabs, not apps

* Update with derive-fixed API

* Remove unused type import
2019-01-31 21:19:36 +01:00
Jaco Greeff
a8ed300dc4
Small init changes (static state) (#663)
* Small init changes (static state)

* Hide vanity on empty accounts

* Require accounts for apps, cleanup needsApi/needsCalls

* Display InputAddress when disable (but no options)

* Filter toolbox based on accounts

* Accounts gated via app, don't display add

* Cleanup linting

* Validation display & clear on settings types

* Split save for developer & general

* Add Reset button to dev settings
2019-01-31 18:02:47 +01:00