Commit Graph

131 Commits

Author SHA1 Message Date
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components (#4250)
* Remove unused TxModal components

* Cleanups
2020-12-20 17:50:06 +01:00
Jaco Greeff
593b42c275
Save target/overview toggles (#4249) 2020-12-20 12:55:10 +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
530122482d
RxJs/memoizee dep cleanups (use from util) (#4212)
* RxJs/memoizee dep cleanups (use from util)

* Remove 4K runtimeChunk
2020-12-15 11:58:47 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +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
4f3f98f97b
Don't double-up on stashId retrievals (#4157)
* Don't double-up on stashId retrievals

* Remove (onw-unused) useStashIds hook
2020-12-04 14:24:28 +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
ef125783de
Allow useCall to not have .entries as any hack (#4115) 2020-11-30 13:11: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
e6d3c61176
Use type imports from @polkadot/types/interfaces (#4103)
* Move chain params to apps-config

* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +01:00
Jaco Greeff
4e926a2d33
Move chain params to apps-config (#4102) 2020-11-29 18:45:44 +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
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
f8dc3d3641
Introduce useInflation hook (#4084)
* Introduce useInflation hook

* linting
2020-11-26 15:51:59 +01:00
Jaco Greeff
ab00ed377a
Validator chill refresh (#4082) 2020-11-26 13:50:21 +01:00
Jaco Greeff
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +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
64299ebd29
Dev bump (#4012)
* Bump API/Common (esnext exports)

* Bump deps

* Adjust

* Bumps

* Bumps

* repository

* Update dev

* Remove Rococo (for the time being)

* script extension
2020-11-11 15:28:52 +01:00
Jaco Greeff
5b28f2791b
Filter tips with from-query hashes (#3977) 2020-11-05 14:06:56 +01:00
Jaco Greeff
ee7a4de77d
Allow ABI removal on upload (#3869) 2020-10-14 09:15:13 +02:00
Jaco Greeff
9d51e0462a
Fix actual exec (#3842)
* Fix actual exec

* Adjust

* Remove (now unused) api

* Cleanup state on unmounted

* Update

* Use isPayable flag
2020-10-10 21:43:20 +02:00
Jaco Greeff
6bdb12a2ec
Watch contract state (#3838)
* Watch contract state

* Display actual outputs
2020-10-10 11:27:23 +02:00
Jaco Greeff
c4737e77ce
Don't spin when rewards have just been claimed (#3799)
* Don't spin when rewards have just been claimed

* No pre-emptive spinner stop
2020-10-01 11:29:50 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
2c0fff2931
Single-click close for tips & motions (#3669)
* Single-click close for tips & motions

* Protect against non-close chains
2020-09-17 12:44:54 +02:00
Jaco Greeff
e91ed4cf41
Display explorer retrieval errors (instead of spinning) (#3652) 2020-09-10 12:52:38 +02:00
Jaco Greeff
d17efb4014
Display reward destination for isAccount (#3646)
* Display reward desitnation for isAccount

* Allow adjustment of destination
2020-09-09 16:21:59 +02:00
Jaco Greeff
f127e829bc
Align time unit strings (#3622)
* Align time unit strings

* Apply suggestions from code review

* dedup

* Rebuild i18n
2020-09-06 11:05:45 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting (#3603)
* Bump dev, fix linting

* Small zh adjustments

* Remove rpc.* zh
2020-09-03 16:36:24 +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
b69dcc3fb0
Chain/Events calendar (#3505)
* Scaffolding

* next/prevMonth

* WIP

* Day layout

* Something shows

* Scheduler itesm

* Fix clacls, basics are there

* styled localized

* Constant retrievals

* Extraction cleanups

* extraMargin on article.error

* It works.

* Fix council ids

* merge yarn
2020-08-25 11:29:01 +02:00
Wei Tang
f5832feb02
Add Kulupu council config, logo and fix display of block time (#3448)
* Add KULUPU_GENESIS constant

* Add Kulupu-specific thresholds

* Add support for targetBlockTime

* Styling fix

* Init Kulupu logo

* Fix endpoint icon for Kulupu

* Fix linting
2020-08-19 15:39:37 +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
9e664246ed
Parameterize treasury proposal (#3418) 2020-08-14 16:26:06 +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
6aefdd9178
useLoadingDelay for large lists (#3310)
* useLoadingDelay for large lists

* Accounts with isLoading

* sortedAddresses afecting check
2020-08-01 15:29:52 +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
c680d25dd0
Fix pay toggle era filtering (#3291) 2020-07-30 15:21:02 +02:00
Jaco Greeff
1b6d2e9794
Adjust payout toggle with days (#3274)
* Adjust payout toggle with days

* Cleanups
2020-07-27 13:04:42 +02:00
Jaco Greeff
d35b1a1d10
Optional close on council motions (#3252)
* Optional close on council motions

* No close available short-circuit
2020-07-23 12:38:06 +02:00
Jaco Greeff
7531f01a39
Display accountIndex on SideBar (as available) (#3140)
* Display accountIndex on SideBar (as available)

* accountIndex cache

* Cleanup accountIndex re-renders

* Unneeded accountIndex effect dep
2020-07-08 00:17:59 +02:00
Jaco Greeff
e5e46accf6
Cleanup account menus (#3076) 2020-06-28 14:05:35 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +02:00
Jaco Greeff
3d7c08c689
Loading on payout era toggle (#3045)
* Loading on payout era toggle

* Some in-place BN adjustments

* More in-place additions
2020-06-24 22:28:03 +02:00
Jaco Greeff
c19082a113
Toggle for recent vs full era queries on payouts (#3044) 2020-06-24 21:25:14 +02:00