Commit Graph

134 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
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
Jaco Greeff
3dd77c8393
Contract event decoding (#3914)
* Contract event decoding

* Update packages/apps/src/Content/Status.tsx

* Update packages/react-components/src/Status/Queue.tsx

* Bump API
2020-10-22 16:34:11 +02:00
Jaco Greeff
ca20e2aa70
Allow ascii inputs on Bytes fields (#3908)
* Allow ascii inputs on Bytes fields

* Remove help
2020-10-21 12:33:46 +02:00
Jaco Greeff
5780f92dcf
Adjust contracts with API bump (#3860)
* Adjust contracts with API bump

* Change header for deploy modal

* Override adjustments
2020-10-13 15:28:06 +02:00
Jaco Greeff
ae9ccf3450
Support for ink! v3 (#3828)
* Support for ink! v3

* Update packages/page-contracts/src/shared/Messages.tsx

* Cleanup displays

* Adjust

* Deploy & RPC call

* s/call/read/

* Adapt layout

* Swap to tables

* Update

* Updates to read/exec

* Adjust

* Updates

* Adjust with old code removal

* Update banner

* Adjust modals for dark

* Additional

* Bump API

* typo, case-sensitive

* Remove old types
2020-10-09 19:41:10 +02:00
Jaco Greeff
c6d872d8bc
Use InputNumber for params Amount (#3715)
* Use InputNumber for params Amount

* withLabel

* ? BN
2020-09-18 14:40:12 +02:00
Jaco Greeff
a96c36d158
Registry usage from type (#3709) 2020-09-18 08:07:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
ffeab6a94e
Detect WASM (via util) (#3612)
* Detect WASM (via util)

* Linting

* Cleanups.
2020-09-05 12:26:25 +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
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Jaco Greeff
d450563191
Default to hex detection flag on uploads (#3398)
* Add hex conversion flag

* Add actual default

* Remove converthex flag
2020-08-12 10:15:10 +02:00
Jaco Greeff
51b6956301
Add ui--Toggle overlay positioning (#3377)
* Add ui--Toggle overlay positioning

* adjust label classes

* Max bonded to unbond

* Update packages/page-parachains/src/Parachain/Details.tsx

* Update packages/page-parachains/src/Parachain/Deregister.tsx

* Apply suggestions from code review

* Adjust parachains

* Adjust

* Formatting

* Additional
2020-08-09 11:16:37 +02:00
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +02:00
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