Commit Graph

165 Commits

Author SHA1 Message Date
Jaco
cd352e5bcf
Remove half-broken typeName overrides (#6485) 2021-11-05 07:56:40 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
30f9eb5535
Bump deps (#6417) 2021-10-26 14:53:53 +03:00
Jaco
2b0a77a61f
Adjust parems for Vec<KeyValue> & RuntimeSessionKeys (#6381) 2021-10-23 15:52:10 +03:00
Jaco
658f2bd12e
Adjust type labels (#6379)
* Adjust tupe labels

* Remove unused param
2021-10-23 13:47:09 +03:00
Jaco
89b585d418
Use typeName from TypeDef (as available) (#6368)
* Use typeName from TypeDef (as available)

* Update packages/react-components/src/Extrinsic.tsx

* Display typeName in labels

* Bump API

* Bump
2021-10-22 15:36:45 +03:00
Jaco
75c05f82b6
Display IdentityIcon when ss58 address in Bytes (#6351) 2021-10-20 13:50:43 +03:00
Jaco
067240185e
Adjust valueToText formatting (no trailing ,) (#6330) 2021-10-18 12:18:58 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
Jaco
c11bf0da53
Teleport on Polkadot 9110 (#6271)
* Teleport on Polkadot 9110

* Adjust type introspection

* Param type formatting

* Reformat
2021-10-12 11:18:30 +03:00
Jaco
b4ea9af9ce
Fix small input-related bugs (#6258) 2021-10-08 12:15:53 +03:00
Jaco
5f9150aaee
Bumps (#6257) 2021-10-08 11:19:36 +03:00
Jaco
ce5e182390
Support lookupName in UI component lookups (#6202) 2021-09-26 15:47:58 +02:00
Jaco
39c559f99b
Adjust UI to cater for latest API (#5945)
* Adjust UI to cater for latest API

* Bump deps

* berry 3.0.1

* types-support import

* Add @polkadot/types-support
2021-08-13 14:01:44 +02:00
Jaco
5430223613
Bump API (#5886) 2021-07-28 16:30:38 +02:00
Jaco
b3e8226263
Bump API (#5850)
* Bump API

* Bump deps
2021-07-19 17:01:25 +02:00
Jaco
63ad91e646
Fix Option isDisabled rendering (#5728) 2021-06-30 17:03:00 +02:00
Jaco
a44faff60d
Bump deps (#5665)
* Bump deps

* Use override

* additional override
2021-06-23 11:21:24 +02:00
Jaco
aa75b6ebc0
Allow 0x input on Bytes (#5651)
* Allow 0x input on Bytes

* Unbreak non-empty inputs

* Adjust to prior order
2021-06-22 09:26:29 +02:00
Jaco
468e17d013
Handle non-codec queryStorage results (#5616)
* Handle non-codec queryStorage results

* Re-use valueToText
2021-06-16 16:57:10 +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
Jaco
24fdf6df1e
DispatchResult expansion (#5318) 2021-05-19 11:30:24 +02:00
Jaco
83d615003c
Allow file to be hashed (#5226)
* Allow file to be hashed

* isInOption

* Double-option wrapping

* Option revert
2021-05-07 17:16:47 +02:00
Jaco
d1389052c4
Update API (Token DispatchError) (#5133)
* Update API (Token DispatchError)

* Cleanups
2021-04-23 21:51:53 +02:00
Jaco
be427824b1
Hex-only for H160/256/512 values (#5071) 2021-04-15 07:44:44 +02:00
Jaco Greeff
fc854757bf
Bump deps (#5044)
* Bump deps

* lockfile

* Bumps

* valueToText (entries for keys)

* Production builds
2021-04-08 12:35:40 +02: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
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
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
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
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
1cf7b5e629
Allow InputAddress with no options (#4227)
* Allow InputAddress with no options

* Update packages/react-params/src/Param/index.tsx
2020-12-17 11:07:08 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +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
7b3bf5fd76
TypeScript 4.1.2 (a bit later than others...) (#4133)
* TypeScript 4.1.2 (a bit later than others...)

* linting

* Bump berry

* dedupe

* linting

* Bump @polkadot/dev

* Adjust

* deps
2020-12-01 21:33:16 +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
ee25db733d
Remove classes utility (#4106)
* Remove classes utility

* Update packages/react-components/src/InputNumber.tsx
2020-11-30 16:01:37 +01:00
Jaco Greeff
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +01:00
Jaco Greeff
f99dcb2b0a
Fonts from new.css (#4071)
* Fonts from new.css

* line-height 1

* h2 adjust

* rm Nunito
2020-11-25 21:42:31 +01:00
Jaco Greeff
bcb36ec4f0
Allow CopyButton on all Hash* fields (#4065) 2020-11-24 15:56:53 +01:00
Jaco Greeff
0e132f2070
Remove AssetId from known (+ rm non-primitives) (#4063)
* Remove AssetId from known (+ rm unused AssetOf)

* Remove all non-primitive for Amount

* Re-add LookupSource

* Remove additional non-primitives
2020-11-24 11:05:25 +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
e10d56d0ec
Bump API (#4017)
* Bump API

* Rebuild i18n

* Fix InputAddress

* Pass through registry where applicable
2020-11-12 15:43:19 +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
Antoine Estienne
31904bf106
Support ethereum addresses for Moonbeam (#3961)
* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* wip repair app with new keyring

* use isDevelopement false for ethereum

* lint

* more formatng

* eth addresses by default for account creation

* added many more types to support moonbeam

* added color

* add h160 to types and components

* add rpc methods to app-config

* lint

* polish

* Update packages/react-params/src/initValue.ts

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

* Apply suggestions from code review

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

* moved ethereum networks to config

* added real rpc method typings

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-10 18:12:11 +01:00
Albert
2215541cd9
Apply Nunito fonts globally (#3882)
* Add nunito fonts

* Apply Nunito fonts globally

* Remove Nunito fonts (600,800)

* Add fontFamily to themes

* Unify font-weight and font-family across app

* Fix linting

* Use Monospace font from theme where required

* Add font-family from theme to buttons

* Revert font-family change in Claim

* Provide enough vertical space for rendering of an account name with verified identity

* Use theme font in transfer and search inputs

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-11-04 14:35:49 +01:00
Jaco Greeff
c36e4ddb97
Ensure bitLength is passed to number inputs (#3918) 2020-10-22 21:00:38 +02:00