Commit Graph

102 Commits

Author SHA1 Message Date
Jaco Greeff
7b2c5cf5cf
Don't use VecFixed for [u8; <length>] (#3205) 2020-07-16 08:58:20 +02:00
Jaco Greeff
6ef8b14559
Basic fixed-vec breakdown (#3187)
* Basic fixed-vec breakdown

* Update headers to reflect params package
2020-07-14 13:02:38 +02:00
Jaco Greeff
cf5b279110
Display Bytes with ASCII as text (#3155) 2020-07-10 11:01:13 +02:00
Jaco Greeff
a374510c4d
Handlers for OpaqueCall input/display types (#3135)
* Handlers for OpaqueCall input/display types

* Simplify disabled OpaqueCall
2020-07-07 09:30:24 +02:00
Jaco Greeff
eabd540596
Rework nested param extraction (#3070)
* Rework nested param extraction

* useParamsDef extraction

* paramDef in Vector

* Cleanup Vector

* Log error messages

* Don't recurse structs

* Bump API, closer to original definitions
2020-07-01 09:39:44 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
959f576a21
Toggle for file upload (#3060) 2020-06-27 08:06:16 +02:00
Jaco Greeff
97bbf311e3
Simplify AccountName caching (#3057) 2020-06-26 18:52:52 +02:00
Jaco Greeff
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +02:00
Jaco Greeff
364d3b9071
Allow entries() on map/doublemap (#3039) 2020-06-24 15:38:19 +02:00
Jaco Greeff
8804961af5
Split tuple for wrapped components (#2988) 2020-06-19 13:36:25 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
e9f7b547fd
Extract state interfaces (#2805) 2020-05-25 10:05:14 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
d601dfe74e Bytes validation cleanup 2020-05-13 23:18:03 +02:00
Jaco Greeff
610b7bbd5d
Additional params validity checks (#2744) 2020-05-13 22:13:48 +02:00
Jaco Greeff
0ed8bd1611
useCallback for onChange in react-params (#2705)
* useCallback for onChange in react-params

* Use keyed events
2020-05-08 11:50:36 +02:00
Jaco Greeff
e321d43032
Add Russian to language dropdown (#2671) 2020-05-01 20:34:35 +02:00
Jaco Greeff
8cdb813255
InputNumber fix (#2669)
* InputNumber workaround for edit bug

* defaultValue robustness checks
2020-05-01 18:55:55 +02:00
Jaco Greeff
f48581dfef
Cleanup external display (#2591) 2020-04-20 15:23:11 +02:00
Jaco Greeff
d12624a23a
Expand Treasury inline in council proposals (#2588) 2020-04-20 10:36:44 +02:00
Jaco Greeff
0d0b16f709
Adjust formatting of query outputs (JSON) (#2583) 2020-04-19 09:20:58 +02:00
Jaco Greeff
db121c1c37
Check for toHuman before using (#2571) 2020-04-15 07:30:55 +02:00
Jaco Greeff
4950250b0d
Static output formatting adjustments (#2566) 2020-04-14 10:05:14 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
529e253d39
Revert "Add extra Input types to the UI (#2324)" (#2493)
This reverts commit 7a159976f4.
2020-04-01 07:35:11 +02:00
Alexander Popiak
7a159976f4
Add extra Input types to the UI (#2324)
* fix typo

* WIP introduce float input

* remove si dropdown for float input

* assume floats to have si 1 billion

* use correct SI name and parse decimal

* fix linting issues

* remove VecDeque from Vector UI component mapping
2020-03-30 07:31:36 +02:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks (#2463)
* Exhaustive hooks

* selectUrl screw-up

* Adjust name badge

* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Jaco Greeff
ae3839a39f
Additional React.memo exports (#2456)
* Additional React.memo exports

* rm app-transfer artifacts
2020-03-25 12:30:19 +01:00
Jaco Greeff
94a193cd72
Introduce React.memo for react-params (#2403)
* Introduce React.memo for react-params

* Deps
2020-03-17 11:45:26 +01:00
Jaco Greeff
2b534fc1fb
Additional wrappers via React.memo (#2377)
* More React.memo

* Last non-memo functional components in staking
2020-03-12 15:45:59 +01:00
Jaco Greeff
6a9bfd4b31
Claim staking rewards (#2332)
* Claim staking rewards

* setHasUnclaimedRewards

* Staking payouts are batched

* Rework signing dialog with summary

* Remove isFull on password

* Highlight important bits

* Bump api

* Bump

* Direct payout click

* Fix build
2020-03-05 21:53:57 +01:00
Jaco Greeff
c69154e06c
Reformat toHuman outputs (#2319) 2020-03-01 22:41:26 +01:00
Jaco Greeff
6f85ef418a
findError updates (#2312)
* Bump deps

* Re-write yarn.lock

* findMetaError with asModule
2020-02-28 16:16:39 +01:00
Jaco Greeff
4897196262
Bump deps (#2311)
* Bump deps

* Re-write yarn.lock
2020-02-28 16:02:07 +01:00
Jaco Greeff
fb81a16cc8
Adjust treasury threshold to 60% (#2300)
* Adjust threasury threshold to 60%

* Update TypeScript version

* Fix linting
2020-02-23 15:57:32 +01:00
Jaco Greeff
b3d8084748
Bump deps (#2279)
* Bump deps

* Bump to latest

* Current

* Use toHuman display in RPC toolbox

* Format storage output
2020-02-17 13:49:14 +01:00
Jaco Greeff
44e6a32c8e
Fix poposal breakdown (#2272) 2020-02-11 22:31:19 +01:00
Jaco Greeff
15701ce25b
Allow Call as param expansion (like Proposal) (#2260) 2020-02-11 11:45:24 +01:00
Jaco Greeff
042242b60b
Address -> AccountId support for Polkadot/Kusama-next (#2257)
* Address -> AccountId support for Polkadot/Kusama-next

* BalanceLock types for Edgeware & Kulupu
2020-02-10 21:11:52 +01:00
Jaco Greeff
1d8613655f
Convert options & items (tabs) to useMemo (#2207)
* Convert options & items (tabs) to useMemo

* Add missing var in useMemo

* Remove floating isSubstrateV2

* Cleanup staking entry

* Remove unneeded ?
2020-01-28 15:01:18 +01:00
Jaco Greeff
45bc5fc6f1
Apply Vote conviction (#2197) 2020-01-24 16:20:57 +01:00
Jaco Greeff
09e974b777
Handle DispatchError failures gracefully (#2182)
* Handle DispatchError failures gracefully

* Also allow queue display failures
2020-01-23 13:52:18 +01:00
Jaco Greeff
9771dc1644
Remove last css files (all styled-components) (#2168)
* Additional css -> styled

* Apps class prefix renames

* Remove last css files

* Cleanup linked wrapper
2020-01-22 12:36:10 +01:00
Jaco Greeff
5ac86818ca
Remove IdentityInfo override (#2152) 2020-01-19 21:03:11 +01:00
Jaco Greeff
2ea6dd0af3
Display decoded ExtrinsicFailed errors (#2137)
* Display decoded ExtrinsicFailed errors

* Revert debug log

* Bump API (error lookup)
2020-01-16 15:21:02 +01:00
Jaco Greeff
de39bbe297
Additional useTranslation conversions (#2109)
* Additional useTranslation conversions

* quotes

* Bumps

* Cleanup params wit overrides
2020-01-13 13:12:03 +01:00