Commit Graph

113 Commits

Author SHA1 Message Date
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
e6eaaec27d
Remove stray log (#4270)
* Remove stray log

* Display numbers as available
2020-12-24 10:57:09 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
1b88b75fa6
Optimize staking overview (#4267)
* Optimize staking overview

* Unused isCommission

* Cleanup log
2020-12-24 09:31:41 +01:00
Jaco Greeff
593b42c275
Save target/overview toggles (#4249) 2020-12-20 12:55:10 +01:00
iiiiiiii
97734a8299
fix media query width (#4233) 2020-12-18 08:11:45 +01:00
Jaco Greeff
e66a521af6
0.71 (#4206) 2020-12-14 13:09:40 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Jaco Greeff
f86cc1a689
Small target opts (incl. non-selected sorting) (#4159)
* Small target opts (incl. non-selected sorting)

* Remove last dangling validatorPayment
2020-12-04 16:21:50 +01:00
Jaco Greeff
e44735fc87
s/replaceAll/replace/ (#4154) 2020-12-03 18:48:06 +01:00
Jaco Greeff
6c61f7e0ea
Calc median comm, num payouts, activity period (don't yet use) (#4150) 2020-12-03 15:31:20 +01:00
Jaco Greeff
63bd0218d1
useIdentities fo id availability retrievals (#4143) 2020-12-03 12:31:32 +01:00
Jaco Greeff
fd086de8ae
Bump API (#4139)
* Bump API

* Name matches

* Bump
2020-12-02 21:06:14 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
78b3680f3c
Rework with useNominations (incl. loading indicators) (#4128) 2020-12-01 13:13:47 +01:00
Jaco Greeff
e1848edd95
Adjust for >75% capacity (#4109)
* Adjust for >75% capacity

* operator wording
2020-11-30 11:32:51 +01:00
Jaco Greeff
837dd58c61
Recent payouts toggle (#4108)
* Recent payouts toggle

* operator exposure

* media--*

* extra toggle padding

* align
2020-11-30 01:50:32 +01:00
Jaco Greeff
118cc51dc3
Human-readable payout (target) descriptions (#4107) 2020-11-30 00:47:24 +01:00
Jaco Greeff
066e5eca04
Display last target payout (#4101)
* Ensure identity filter applies to all targets

* Name filter removes flags

* Revert

* Apply query filters to override toggles

* Display last target payout
2020-11-29 18:34:19 +01:00
Jaco Greeff
f0bf8efcf4
Ensure identity filter applies to all targets (#4100)
* Ensure identity filter applies to all targets

* Name filter removes flags

* Revert

* Apply query filters to override toggles
2020-11-29 16:54:35 +01:00
Jaco Greeff
366c8804d0
Cleanup targets pre-filtering on sort (#4098) 2020-11-29 12:56:13 +01:00
Jaco Greeff
e940117fac
Show nominator return % per target (#4091)
* Show nominator return % per target

* 2 decimals

* Remove commented
2020-11-28 16:32:53 +01:00
Jaco Greeff
4add11e7d7
Display inflation & stakedReturn info (#4085)
* Introduce useInflation hook

* linting

* Display inflation & stakedReturns
2020-11-28 14:29:51 +01:00
Jaco Greeff
c9d9b5022d
Bump API (#4088) 2020-11-28 14:29:12 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
dfdf75ba2b
On-demand Expander rendering (#4039)
* On-demand Expander rendering

* Use indexes, not progress
2020-11-17 15:33:13 +01:00
Jaco Greeff
cdb7a255d7
Limit operator exposure by default (#4036) 2020-11-17 12:45:21 +01:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
c4dbc64dea
Staking chart adjustments (#3659) 2020-09-11 13:01:43 +02:00
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
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
d78770a094
Oversubscriptions by size index (#3573) 2020-08-30 14:25:20 +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
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
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
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
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
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
e16eb134aa
Validator-only payout toggle (#3386)
* Validator-only payout toggle

* ToggleButton consistency
2020-08-11 13:31:42 +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
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
0d6a904144
Adjust staking split displays (#3268)
* Adjust staking split displays

* Additional
2020-07-26 10:36:03 +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