Commit Graph

112 Commits

Author SHA1 Message Date
Jaco Greeff
5c3bf740cd
Expand max-nominations badge displays (#3563)
* Expand max-nominations badge displays

* Ignore > 64 in profitable selection

* Indicate oversubscribed

* Show oversubscribed in actions
2020-08-29 09:58:37 +02:00
Jaco Greeff
c35081f6c7
Adjust for new reward desitination (#3540) 2020-08-27 14:45:20 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11:12 +02:00
Jaco Greeff
cdf052724f
Adjust waiting noms extraction (#3432) 2020-08-17 13:03:45 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Thibaut Sardan
4d1c18fec5
Add info about the nominators state (#3420)
* add info about the nominators state

* Apply suggestions from code review

* remove duplicated info

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-14 20:12:00 +02:00
Jaco Greeff
8c07ccc83f
Staking render opt. useEffect/useState -> useMemo (#3408)
* Staking render opt. useEffect/useState -> useMemo

* Targets opt

* Simplify

* Couple more

* Targets useEffect

* Update packages/page-staking/src/Actions/Account/BondExtra.tsx

* Additional

* Cleanup

* Unused state

* Update packages/page-staking/src/index.tsx

* Update packages/page-staking/src/index.tsx
2020-08-13 11:04:10 +02:00
Jaco Greeff
dc5bd4b87b
Small staking cleanups (#3395) 2020-08-11 23:54:47 +02:00
Jaco Greeff
612dbd55b4
Adjust account actions slash indicator (#3394) 2020-08-11 23:35:26 +02:00
Jaco Greeff
e16eb134aa
Validator-only payout toggle (#3386)
* Validator-only payout toggle

* ToggleButton consistency
2020-08-11 13:31:42 +02:00
Jaco Greeff
51b6956301
Add ui--Toggle overlay positioning (#3377)
* Add ui--Toggle overlay positioning

* adjust label classes

* Max bonded to unbond

* Update packages/page-parachains/src/Parachain/Details.tsx

* Update packages/page-parachains/src/Parachain/Deregister.tsx

* Apply suggestions from code review

* Adjust parachains

* Adjust

* Formatting

* Additional
2020-08-09 11:16:37 +02:00
Jaco Greeff
e3f4b4c6df
s/Chilled/Renomination required/ (#3375)
* s/Chillded/Renomination required/

* Keep active/inactive
2020-08-08 12:04:47 +02:00
Jaco Greeff
fd70692193
Non-zero lastZeroSlash (#3364)
* Displayed chilled nominators in waiting

* Non-zero-era slashingSpans
2020-08-07 13:00:20 +02:00
Jaco Greeff
e498669d50
Displayed chilled nominators in waiting (#3361) 2020-08-07 12:21:47 +02:00
Jaco Greeff
7b64762478
Bumps, yarn stale (#3352)
* Bumps, yarn stale

* Bump berry

* WIP

* Rewrite
2020-08-06 15:47:43 +02:00
Thibaut Sardan
a6315aa915
Take unlocking and redeemable into account to bond more funds (#3348)
* take unlocking and redeemable into account

* spacing
2020-08-06 13:35:39 +02:00
Jaco Greeff
d8e1a9a4b2
Align nominate sizing (#3313) 2020-08-01 22:24:53 +02:00
Jaco Greeff
bab644ec82
Nominate trust warning (#3309) 2020-08-01 14:39:41 +02:00
Jaco Greeff
ce49da0029
Remove auto validator defaults (#3306)
* Remove auto validator defaults

* Adjust

* Additional cleanups

* Disable nominate on no target validators

* Remove unused next from targets
2020-08-01 12:34:40 +02:00
Jaco Greeff
43470277e7
Add slashing indicator (#3302)
* Add slashing indicator

* Display slashing on targets page

* Show chilled from before slash

* Sizing
2020-07-31 14:09:28 +02:00
Jaco Greeff
a370da33d5
Randomize same-parent inclusion via nomination (#3295) 2020-07-30 17:16:49 +02:00
Jaco Greeff
7d4b3a71dc
De-dupe nominations, favor different (#3292) 2020-07-30 16:11:01 +02:00
Jaco Greeff
7129c26b42
Sidebar split (#3280)
* Seidebar split

* Update packages/react-components/src/SideBar.tsx

* Rename
2020-07-28 12:20:03 +02:00
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +02:00
Jaco Greeff
65db25b254
Firm up on change controller (#3214) 2020-07-16 18:11:42 +02:00
Jaco Greeff
b1def01f5b
Society bid modal (& unbid, bidder overview counter) (#3194)
* Society bid modal (& bidder counter)

* Add unbid button (when bidder)
2020-07-14 15:41:26 +02:00
Jaco Greeff
a6d81c9530
Hide unbond funds when active is 0 (#3115) 2020-07-03 08:49:19 +02:00
Jaco Greeff
91261a0bc2
Add withdraw action to staking (#3113)
* Add withdraw action to staking

* Add action
2020-07-03 07:47:34 +02:00
Jaco Greeff
d24d2882e4
Don't allow re-{validate, nominate} with active 0 (#3080) 2020-06-28 21:23:33 +02:00
Jaco Greeff
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +02:00
Jaco Greeff
de370cfde6
Adjust AddressMini with media (#3020)
* Adjust AddressMini with media

* Payout tables
2020-06-21 21:15:34 +02:00
Jaco Greeff
26318a2d8f
Best only on elected (#3007) 2020-06-20 21:12:44 +02:00
Jaco Greeff
d30b88b7f4
Adjust staking targets/overview sorting displays (#2999)
* Adjust staking targets/overview sorting displays

* Removce whack eslint bug comment
2020-06-20 14:02:42 +02:00
Jaco Greeff
e6ca9829a0
Check for funded controllers (#2987) 2020-06-19 13:28:20 +02:00
Jaco Greeff
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +02:00
Jaco Greeff
5460da3a48
Extend fund bonding warnings (#2980)
* Extend fund bonding warnings

* Fix warning display
2020-06-18 14:28:16 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
9a62b7d857
Display free balance for bonding (#2844) 2020-05-28 09:44:09 +02:00
Jaco Greeff
11d54e734a
Pass small commission (1 PerBill) (#2815)
* Pass small commission (1 unit)

* Bump API
2020-05-26 15:45:06 +02:00
Jaco Greeff
e9f7b547fd
Extract state interfaces (#2805) 2020-05-25 10:05:14 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
892895b8fa
Disable batching usage without utility pallet (#2760)
* Disable batching usage without utility pallet

* Formatting
2020-05-17 09:17:47 +02:00
Jaco Greeff
2294f39ebf Nominations fix (via NominateInfo) 2020-05-16 17:24:36 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
1171fe6dfb Fix bonding errors 2020-05-15 20:41:34 +02:00
Jaco Greeff
401c147020
New stake steps (#2754)
* New stake steps

* Controller jiggle

* 2 step validation

* Fatal errors on validation

* Cleanups

* Fix auto-select before rewards
2020-05-15 17:05:27 +02:00
Jaco Greeff
e57e5eeb48
Ecdsa pair support (#2751) 2020-05-14 13:40:23 +02:00
Jaco Greeff
4e6824f272
Swap media query classes to numbers (lists) (#2733) 2020-05-13 11:17:45 +02:00
Jaco Greeff
2667dbc56c
Adjust icons for more options (#2698) 2020-05-07 11:28:20 +02:00