Commit Graph

152 Commits

Author SHA1 Message Date
Jaco Greeff
024c03ba9b
Crowdloans (#4613)
* Crowdloans

* update icon

* crowdloads -> crowdloan

* Overview start

* Fund indexes

* Fund displays stucture

* Fund view

* Fund view expanded

* Update packages/page-crowdloan/src/useFundIndexes.ts

* Add skeleton

* useEventTrigger

* Cleanups

* Fund proposal

* Registrar

* Adjust current versions

* Update README.md
2021-02-06 11:24:04 +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
cef6451064
Optional staking module for info queries (#4574) 2021-02-02 09:17:38 +01:00
Jaco Greeff
1a74b927fc
Remove some floating "as any" usages (#4565) 2021-02-01 20:46:31 +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
Jhon
916a925cda
added validator/nominator flags (#4546)
* 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

* updated settings > metadata layout to be more consistent with the rest

* ran linter

* Update packages/page-settings/src/Metadata/Extensions.tsx

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components

* added validator flag

* Update packages/react-hooks/src/useAccountInfo.ts

* Update packages/react-hooks/src/useAccountInfo.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-01 13:26:08 +01:00
Jaco Greeff
6155dbd224
Check isEditable for network swap (#4495) 2021-01-25 15:29:32 +01:00
MiZiet
b09bc9cbc9
Adjust components placement and styling in bounties list (#4460) 2021-01-22 12:06:49 +01:00
Ewa Kowalska
ff616ce89f
Fix #4419 - using bounties without treasury (#4447)
* Fix issue with no treasury

* Apply review suggestions

* Use BN_ZERO instead of api.createType
2021-01-18 20:58:55 +01:00
Jaco Greeff
00563a240b
useCallMulti on parachain proposals (#4436) 2021-01-18 12:48:37 +01:00
Thibaut Sardan
96c5e785e3
Nit, use as LedgerTypes casting (#4425)
* as LedgerType

* import type
2021-01-15 14:07:55 +01:00
Jaco Greeff
53a4ba41c4
Bump deps (w/ ui, hw-ledger) (#4418)
* Bump deps (w/ ui, hw-ledger)

* trigger
2021-01-15 08:58:16 +01:00
Jaco Greeff
19d49f09be
Move to Ledger usage with hook (#4195)
* Move ledgerChains to apps-config

* Swap Ledger capabilities to hook

* Fix type usage

* getLedger returns promise

* Revert promise result

* cleanup

* use has ledger support (#4413)

* use hasLedgerSupport

* Bump common

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2021-01-14 20:58:02 +01:00
Jaco Greeff
fd9110f432
Swap parachain to multi calls (w/ useCallMulti) (#4414) 2021-01-14 18:15:29 +01:00
Jaco Greeff
5f3bd186c7
Add ump/dmp/hrmp queue sizes (#4412) 2021-01-14 14:37:43 +01:00
Jaco Greeff
f93cc49db6
Links to parachains (?rpc=) & best block (#4395)
* Links to parachains (?rpc=) & best block

* Adjust

* Add known types to ParaApi
2021-01-13 17:20:25 +01:00
Jaco Greeff
4b0335533a
Parachain approval (#4374)
* Parachain approval

* trigger date
2021-01-12 10:50:04 +01:00
MiZiet
75023bb4f3
Add bounties summary (#4336)
* Add bounty summary INIT

* Add timed displays

* WIP

* Add locales

* Add chain colors and progress display

* Extract useTreasury hook

* Pull spendPeriod into useTreasury

* Apply review suggestions

* Apply review suggestion

* Add check if activeBounties exists

* Add dark theme to bounty summary

* Add border-radius to HighlightedSection

* Apply review suggestions

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-09 12:46:52 +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
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