Commit Graph

129 Commits

Author SHA1 Message Date
Jaco
cb60c73daa
0.105.1 (#6931)
* 0.105.1

* maxNominations
2022-02-07 09:01:29 +02:00
Dmytro Filippov
a9ff87ebf0
Targets page: fix validators sorting (#6886)
Co-authored-by: dmitry@fleetonomy.io <dmitry@fleetonomy.io>
2022-01-26 14:00:35 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
a7a48c1140
Extract derive.accounts.* into own hooks (#6755)
* Extract derive.accounts.* into own hooks

* useAccountApi as applicable

* Rename step 1

* useSystemApi
2021-12-30 10:02:41 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
b8daf379e7
Bump dev (w/ lint fixes) (#6006)
* Bump dev (w/ lint fixes)

* Additional

* Bump ui/extension
2021-08-26 12:16:11 +02:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one (#5914)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
Jaco
d91bdcd191
Warn on staking min bond (#5674)
* Warn on staking min bond

* Warn on min validator amount
2021-06-24 13:46:09 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco Greeff
e2687701ff
Bump deps (#5055) 2021-04-12 10:30:28 +02:00
Jaco Greeff
a86bc3284a
Flatten modal columns (#4841)
* Flatten modal columns

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust tests

* No bids outside ending

* s/winners/bids/

* Adjust

* lease offsets
2021-03-14 14:36:49 +01:00
Jaco Greeff
ba4d14a836
Filter targets by blocking status (#4800) 2021-03-10 09:47:31 +01:00
Jaco Greeff
c1ed355706
Adjust staking max filter (#4600) 2021-02-04 19:24:16 +01:00
Jaco Greeff
332cd6bc3b
Add min staked to targets (#4599)
* Add min staked to targets

* token on total staked
2021-02-04 17:57:23 +01:00
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
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