Commit Graph

367 Commits

Author SHA1 Message Date
Jaco
97d2866e6e
Use useCollectiveModule for all collective locations (#5762)
* Use useCollectiveModule for all collective locations

* staking useCollectiveModule

* Bounties useCollectiveModule

* Mock collective

* Adjust

* useMember -> useCollectiveMembers
2021-07-05 08:03:27 +02:00
Jaco
42cb6b84d3
Rework collective queries (#5732)
* Rework collective queries

* members derive

* All via derive

* Adjust society useMembers

* Adjust optional consts

* Detect council module locations

* Adjust tech comm with module locations

* Rework loading

* Unused type import
2021-07-02 10:42:13 +02:00
George Angelopoulos
1a1dfeaaf5
typo fix (#5704) 2021-06-29 05:58:40 +02:00
Jaco
aab27ca80f
Also display total nominator count (#5699)
* Also display total nominator count

* counter, not threshold
2021-06-27 06:23:50 +02:00
Jaco
5fafe37213
Bump API & common (#5692) 2021-06-26 11:49:35 +02: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
299c95eb3d
Remove Substrate 2.0 generation payouts (#5612)
* Remove Subtrate 2.0 generation payouts

* Display available totals

* Empty available

* No need to check for batch availability

* Adjust headers

* Adjust views
2021-06-17 08:27:19 +02:00
Jaco
84091bd600
Adjust payout button groups (no content shift) (#5494) 2021-06-08 08:25:29 +02:00
Jaco
b5a3de5730
0.92 (#5475) 2021-06-07 11:40:04 +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
Chris Ganga
d22c82455f
use selected theme in the validator stats page (#5391)
* use selected theme in the validator stats page

* use table theme variables in validator stats page
2021-05-31 07:29:18 +02:00
Jaco
6dced3fe6b
Adjust Tabs usage (#5388)
* Adjust Tabs usage

* text
2021-05-29 07:53:02 +02:00
Jaco
e32c48755d
Display ideal staked (#5346) 2021-05-22 09:52:53 +02:00
Jaco
ece5999bea
Inflation adjustment (based on auctions) (#5326)
* Inflation adjustment (based on auctions)

* Adjust

* Adjust

* Apply adjustment after inflation

* Update packages/react-hooks/src/useInflation.ts
2021-05-22 09:34:33 +02:00
Jaco
f618d8b4b5
Adjust/simplify validator list rendering (#5345) 2021-05-22 08:43:36 +02:00
Jaco
f8490a6924
Hide para indicator on non relays (#5344) 2021-05-22 07:19:18 +02:00
Jaco
430cfc54d3
Badge for selected para validators (#5341) 2021-05-21 22:10:05 +02:00
Jaco
92443b64b8
Adjust focus for Validate/Session partials (#5321) 2021-05-19 10:19:41 +02:00
Jaco
7d1c12a0d4
Adjust slash creation for staking pages (#5311) 2021-05-18 12:06:35 +02:00
WoeOm
07af3f6279
Adapt Darwinia, Crab Network types (#5218) 2021-05-07 06:47:45 +02:00
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco
3f34af239b
Add check for reward destination existence (#5180)
* Add check for reward destination existence

* Align checks
2021-05-01 06:46:52 +02:00
Krzysztof Jelski
6bac862800
Check if accounts are loaded before hiding a tab (#5177) 2021-05-01 06:45:34 +02:00
Jaco Greeff
ecd6c5e53f
Tips & old-payouts via useBatchTx (#5056) 2021-04-12 13:06:24 +02:00
Jaco Greeff
e2687701ff
Bump deps (#5055) 2021-04-12 10:30:28 +02:00
Jaco Greeff
7c9aba6e4d
Extract batch creation into hook (#5005)
* Extract batch creation into hook

* Adjust

* Adjustfallback weight (just in-case...)

* Batch
2021-04-03 08:37:05 +02:00
SimonKraus
8463b8619a
fix(staking): fix typo (#4926)
fixed #4925

Co-authored-by: Simon Kraus <simon.kraus@tag24.de>
2021-03-25 08:36:00 +01:00
Jaco Greeff
d3482e638b
Adjust menubar (& overview naming) (#4922)
* Adjust menubar (& overview naming)

* Slight padding adjustment
2021-03-24 13:14:46 +01:00
Jaco Greeff
2d97581b17
Flatten tabs (#4883) 2021-03-21 09:31:43 +01:00
Nikos Kontakis
7c8ad1cbe8
fix typo in InputValidationController and in translations (#4881)
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-03-20 22:41:45 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +01: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
2bf88c5860
Use theme via css vars (#4789)
* Extract global CSS vars (non-theme specific)

* Use theme via css vars

* All text colors

* Additional

* All vars (excluding name...)

* Additional

* linting

* css linting

* Update Card css
2021-03-10 11:04:14 +01:00
Jaco Greeff
ba4d14a836
Filter targets by blocking status (#4800) 2021-03-10 09:47:31 +01:00
Jaco Greeff
7d2d1842d1
Update deps (& berry) (#4765)
* Update deps (& berry)

* linting

* Additional

* Bumps

* jest babel helpers esm
2021-03-03 11:52:39 +01:00
Jaco Greeff
8226471cdd
Allow validator removal of nominators (#4747)
* Allow validator removal of nominators

* Updates

* Blocking

* Revert Dropdown

* Expand blocked

* typo

* Kick modal

* kicking operational

* Retrieve exposure
2021-03-01 13:45:03 +01:00
Jaco Greeff
adbf73eabb
Adjust calcs 2021-02-13 19:58:50 +01:00
Jaco Greeff
9b9cc54724
Add warning to bond, not send (#4656)
* Add warning to bond, not send

* Refresh update
2021-02-11 18:48:38 +01:00
Jaco Greeff
1a5f8fa4e1
Protect against overflows in target calcs (#4633) 2021-02-09 10:44:17 +01:00
Jaco Greeff
91bd4bb842
Check nomination amount on intial set (#4603) 2021-02-05 09:07:39 +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
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
WoeOm
1af085e642
Overrides types for Crab, Darwinia (#4543) 2021-01-30 08:41:22 +01:00
Jaco Greeff
2747c7a6ad
Staking warn inactive (#4511) 2021-01-27 14:19:57 +01:00
Jaco Greeff
2542c017bf
Incremental staking rendering (#4503)
* Incremental staking rendering

* Apply suggestions from code review
2021-01-26 18:30:36 +01:00
Jhon
81935050ec
"isolate opacity change to format balance error text" (#4484)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter

* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'

* ran linter

* isolate opacity change to format balance error text
2021-01-24 19:05:03 +01:00
Jhon
8be67fc5e1
Identicon and error red shading adjustments for dark theme (#4483)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter
2021-01-24 17:50:30 +01:00
Jaco Greeff
dd994a67be
Split parachain proposals (#4423) 2021-01-15 11:07:22 +01:00