Commit Graph

212 Commits

Author SHA1 Message Date
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
Jaco Greeff
8cb2933860
Show lowest stake on targets (#3423)
* Show lowest stake on targets

* Non-zero total for usage
2020-08-15 16:23:13 +02:00
Mario Pino
c4251631cf
Add Polkastats validator and intention links (#3421)
* add polkastats validator and intention links

* add new columns in table headers
2020-08-15 12:46:41 +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
Thibaut Sardan
b8e553800f
add info about the nominators state (#3417) 2020-08-14 17:06:15 +02:00
Jaco Greeff
811352d8fd
Dispaly staked average (#3416)
* Disaply staked average

* Rework avg
2020-08-14 13:43:01 +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
8ec9fe31d7
useMemo on payouts (#3400) 2020-08-12 13:10:41 +02:00
Jaco Greeff
41d6303f6f
Adjust table consistency (#3397)
* Adjust table consistency

* Header transparent

* Non-transparent summary
2020-08-12 09:39:50 +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
7b360da193
Slash enact countdown (#3393)
* Slach enact

* Update packages/page-staking/src/Slashes/Header.tsx
2020-08-11 23:02:42 +02:00
Jaco Greeff
1e2fe08801
Summary table header (#3392)
* Symmary table header

* Nominator count
2020-08-11 22:11:11 +02:00
Jaco Greeff
881c020b5b
Reformat unapplied tables (#3390)
* Reformat unapplied tables

* Payout total
2020-08-11 19:42:01 +02:00
Jaco Greeff
e3e63e1fa5
Cumulative slash, desiredRunnersUp (#3389)
* Cumulative slash, desiredRunnersUp

* era cumulative
2020-08-11 18:16:36 +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
88d1806695
Small payout cleanups (#3384) 2020-08-10 21:26:24 +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
3e12436623
Adjust slashes tab availability with counter (#3325) 2020-08-03 18:29:28 +02:00
Jaco Greeff
0b49db56a0
Cleanup slashing display (#3316)
* Cleanup slashing display

* Dedupe headers
2020-08-02 10:49:43 +02:00
Jaco Greeff
597dfd0a44
Slash breakdown (#3315) 2020-08-02 10:06:37 +02:00
Jaco Greeff
d8e1a9a4b2
Align nominate sizing (#3313) 2020-08-01 22:24:53 +02:00
Jaco Greeff
6df29eadb0
De-dupe account filters (staking & components) (#3311) 2020-08-01 16:09:03 +02:00
Jaco Greeff
6aefdd9178
useLoadingDelay for large lists (#3310)
* useLoadingDelay for large lists

* Accounts with isLoading

* sortedAddresses afecting check
2020-08-01 15:29:52 +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
c680d25dd0
Fix pay toggle era filtering (#3291) 2020-07-30 15:21:02 +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
1b6d2e9794
Adjust payout toggle with days (#3274)
* Adjust payout toggle with days

* Cleanups
2020-07-27 13:04:42 +02:00
Jaco Greeff
0d6a904144
Adjust staking split displays (#3268)
* Adjust staking split displays

* Additional
2020-07-26 10:36: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
818668e9de
Small CardSummary adjustments (#3263)
* Small CardSummary adjustments

* Adj.

* Spacing
2020-07-24 21:17:03 +02:00
Jaco Greeff
7af66875b9
Proper angle/percentage calc from BN (#3261) 2020-07-24 19:38:14 +02:00
Jaco Greeff
65db25b254
Firm up on change controller (#3214) 2020-07-16 18:11:42 +02:00
Jaco Greeff
0c5f2754cf
Native toggle component (#3209) 2020-07-16 13:30:34 +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
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

* Default to isTooltip with hover set
2020-07-09 13:40:46 +02:00
Jaco Greeff
f5efb7769b
Name query filter on targets (#3144)
* Name query filter on targets

* s/name/filter

* Apply ?filter=<string> on all Filtered wrappers
2020-07-08 13:03:35 +02:00