Commit Graph

234 Commits

Author SHA1 Message Date
Jaco Greeff
230938b6b7
Align slashing layout with the rest (#3614)
* Align slashing layout with the rest

* Adjust

* Adjust banners

* Extra...
2020-09-05 11:28:56 +02:00
Jaco Greeff
2ee471bd4a
Adjust max payout batch size based on staking payout constant (#3609) 2020-09-04 12:49:35 +02:00
Jaco Greeff
506cec434b
Add cancel all to slashes page (#3607) 2020-09-04 11:15:25 +02:00
Jaco Greeff
90fab7f29b
Individual slash cancel (#3605)
* Individual slash cancel

* Optional buttonrow
2020-09-04 10:26:39 +02:00
Jaco Greeff
6a8d26f411
Cleanup average calcs for targets (#3604) 2020-09-03 23:22:58 +02:00
Jaco Greeff
ce084ccacc
Align overstaked on actions with red color (#3577) 2020-08-30 18:04:27 +02:00
Jaco Greeff
eba24d5ca4
Remove 64 fallback (#3575)
* Remove 64 fallback

* toString

* Protection

* No slice-and-dice when in-range

* linting

* Ref for labels
2020-08-30 16:30:52 +02:00
Jaco Greeff
1525ce71dc
Show over nominators in staking overview (#3574)
* Show over nominators in staking overview

* Only summary red

* Non badge on exactly 64
2020-08-30 15:17:26 +02:00
Jaco Greeff
d78770a094
Oversubscriptions by size index (#3573) 2020-08-30 14:25:20 +02:00
Jaco Greeff
2448b7f883
Hooks with useMemo (no extra re-renders) (#3567)
* Hooks with useMemo (no extra re-renders)

* Extract defaults

* sorted targets

* Linting
2020-08-29 13:16:27 +02:00
Jaco Greeff
28dbe3d104
Staking ledgend v1 (#3564)
* Staking ledgend v1

* Re-add clickable icon spacing
2020-08-29 10:56:10 +02:00
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
295829af8e
Use external icon links (#3545)
* Use external icon links

* Adjust opacity

* Cursor
2020-08-27 16:35:19 +02:00
Jaco Greeff
f71e1ff922
Adjust links with full names (#3537)
* Adjust links with full names

* Add provider logos

* Unsafe assignment

* Linting
2020-08-27 15:36:34 +02:00
Jaco Greeff
c35081f6c7
Adjust for new reward desitination (#3540) 2020-08-27 14:45:20 +02:00
Jaco Greeff
a425e81f0e
Small tip-related tweaks (#3536) 2020-08-27 11:19:14 +02:00
Jaco Greeff
ea63c8eb53
Bulk media tips (#3535)
* Bulk media tips

* lint
2020-08-27 11:03:54 +02:00
Jaco Greeff
b16f54d8bc
Small sorting optimizations (#3529) 2020-08-26 19:39:44 +02:00
Jaco Greeff
26881b4c1c
Extra payouts info on claiming (#3501) 2020-08-24 08:51:04 +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
880527f540
Adjust staking media sizing (#3481)
* Adjust media sizing for staking

* Adjust boundary
2020-08-23 11:06:36 +02:00
Jaco Greeff
33892a2e31
Nav re-imagined (#3422)
* Playthrough with top navigation

* Sycky, but navigation works...

* Adjust

* grouping

* It works, but is not great

* Cleanups

* Cleanups

* hover color

* Highlights

* Highlights, part 2

* Background to body

* Small adjustments (size, items)

* Localize Modal/route switching

* Remove light/full mode

* Flatter single-entry menus

* Adjustments for single-enrties (e.g. Kulupu)

* Display NodeInfo

* Misc

* Content & Tabs sizing

* Tab counters as bubbles

* Alignment

* Tabs styling

* Adjust font color to defaults

* Small tabs menu color adjustments

* ... the previous, again, adjusted

* Display Wiki/Github links

* ar motions

* Adjust Endpoints location

* Ensure content grows to available height

* Adjust tabs

* Menu background adjustment

* Adjust popup colors

* Adjust highlights

* Sligh breathing room

* Adaptive header background

* 2/3

* Adaptive is ok... for now.

* Back to black... erm, gray

* Lighten

* Touchups. Stop playin, it is ok...

* Sides readability

* Cleanups.

* Adjust.

* Overall adjustments (theme). Fix Tag yellow.

* Ok. Done.

* Ship it.
2020-08-20 17:50:30 +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
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