Commit Graph

348 Commits

Author SHA1 Message Date
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
Jaco Greeff
d8b2bab912
Warning & Error with exclamation triangle (#4331)
* Warning & Error with exclamation triangle

* Fix lint

* Apply suggestions from code review
2021-01-10 08:37:51 +01:00
Jaco Greeff
2d1da5332c
Staking fixes (comm, entries) (#4329)
* Staking fixes (comm, entries)

* Flatten
2021-01-06 11:15:19 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
947d3305e3
Use maxBlock value for weight limits (#4287) 2020-12-29 12:17:08 +01:00
Jaco Greeff
5e3c9185d7
Fix bond more isDisabled check (#4278) 2020-12-28 21:28:54 +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
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
593b42c275
Save target/overview toggles (#4249) 2020-12-20 12:55:10 +01:00
Jaco Greeff
582d0a18cc
Warn on non-atomic batches (#4242) 2020-12-19 16:46:29 +01:00
iiiiiiii
97734a8299
fix media query width (#4233) 2020-12-18 08:11:45 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
e66a521af6
0.71 (#4206) 2020-12-14 13:09:40 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
Jaco Greeff
ab67bdcac6
Fix payout size calculation (#4179) 2020-12-08 21:37:26 +01:00
Jaco Greeff
338a77fbdf
Detect system.blockWeights vs system.maximumBlockWeight (#4176)
* Detect system.blockWeights vs system.maximumBlockWeight

* small formatting update

* division
2020-12-08 19:41:58 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +01:00