Commit Graph

238 Commits

Author SHA1 Message Date
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
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
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
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
a0290721e9
Update IdentityInfo (#2052)
* Update IdentityInfo

* Remove test data

* Bump API (fixed decodable Data)
2019-12-15 10:18:49 +01:00
Jaco Greeff
19103c9eb3
Basis IdentityInfo input component (#2048) 2019-12-14 11:32:44 +01:00
Jaco Greeff
6dab5e1295
Rollback latest (something went wrong) (#2039)
* Revert "[CI Skip]  0.38.0-beta.64"

This reverts commit 632c224df4.

* Revert "Apply useToggle as appropriate (#2036)"

This reverts commit 62f74422f2.

* Revert "[CI Skip]  0.38.0-beta.63"

This reverts commit 635f61637c.

* Revert "Small updates for V2 democracy (#2038)"

This reverts commit 32db955f8c.

* Revert last bumps
2019-12-13 11:25:50 +01:00
Jaco Greeff
62f74422f2
Apply useToggle as appropriate (#2036)
* Apply useToggle as appropriate

* Update inset
2019-12-13 10:05:54 +01:00
Jaco Greeff
406a505871
Add ErrorBoundary component (#2026)
* Add ErrorBoundary component

* Decode call via effect

* Cleanups
2019-12-10 11:30:40 +01:00
Jaco Greeff
5b9be93aa7
Bump API (Polkadot frame-identity types) (#2024)
* Bump API (Polkadot frame-identity types)

* Typo
2019-12-09 21:13:39 +01:00
Jaco Greeff
dafea25972
Allow voting on treasury page (#2019)
* Allow voting on treasury page

* More re-usable voting components (a start)

* Ficup imports

* Adjust modals

* Bump API
2019-12-09 17:54:57 +01:00
Keith Ingram
c6fecbf98f Fix contract deploy crash (#1998)
* tuple deploy crash

* lint
2019-12-04 20:11:03 +01:00
Keith Ingram
9bc6194265
Replace TxComponent and TxModal (base) (#1951)
* essentials

* cleanup

* versions

* rv file

* useForm function refs

* restore button ref

* adjust TxModalNew

* refactor

* useTx

* arg

* rework

* linting

* restore changed comps
2019-12-02 13:42:49 -08:00
Jaco Greeff
533c8a72d8
Bump API, fixup storage types (#1933) 2019-11-23 23:03:48 +01:00
Keith Ingram
bebe957612 Fix Vec<u8> issue (#1924)
* fix vec<u8>

* api version

* console

* lint

* fix struct display

* registry

* arg order
2019-11-23 16:18:24 +01:00
Jaco Greeff
3a7d11a3eb
Bump API, latest substrate types (#1928)
* Bump API, latest substrate types

* ^ for package, not pinned
2019-11-23 13:18:02 +01:00
Jaco Greeff
e1464b85f9
Adjust with API with explicit registry (#1922)
* Update for latest API (explicit registry)

* Edgeware adjusted types

* Bump API
2019-11-21 17:04:54 +01:00
Jaco Greeff
b141b696f9
Revert broken struct (#1918)
* Revert broken struct

* Align deps
2019-11-20 12:32:03 +01:00
Keith Ingram
8dfd36ffa1 Fix Vec<u8> issue (#1916)
* fix vec<u8>

* api version

* console

* lint
2019-11-20 07:47:45 +01:00
Jaco Greeff
0cadbf9d1f
Bump API (derive memo) (#1864)
* Bump API (derive memo)

* Linting, caused by common changes
2019-11-11 14:56:35 +01:00
Keith Ingram
afdc1a243a
react-params prioritize displayName (#1846)
* constructor index bug

* Contract fixes

* lint

* console

* console

* prioritize displayName params

* linting
2019-11-06 12:25:33 +01:00
Jaco Greeff
2a874e4dd9
Support electionsPhragmen (#1768)
* Support electionsPhragmen

* Base voting

* Allow voting
2019-10-26 18:52:21 +02:00
Jaco Greeff
c7fa8a0b9e
Rework Vector to use Params (like Struct, Tuple) (#1739)
* Rework Vector to use Params (like Struct, Tuple)

* Cleanup default values
2019-10-21 12:11:09 +02:00
Jaco Greeff
5c2440146a
Updates for parachains (#1740)
* Updates for parachains

* Split result conversion, linting

* Pass through convertHex

* Cleanup event specification
2019-10-18 12:17:37 +02:00
Jaco Greeff
6ffc1653db
Fix Tuple rendering (in same vein as Struct) (#1737) 2019-10-17 17:26:08 +02:00
Jaco Greeff
dbb2b159d0
Split Params internal rendering (#1733) 2019-10-16 15:16:57 +02:00
Jaco Greeff
171bd77909
Enum, Struct & Tuple as func. components (#1727)
* Enum, Struct & Tuple as func. components

* type.type

* Fix linting

* default export
2019-10-16 12:42:58 +02:00
Eswara Sai
2a4d761e0f Added parser to extract i18n strings (#1710)
* Added parser to extract i18n strings

* Fixed issues with eslint for config file

* Moved i18n locales to apps/public folder

* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Jaco Greeff
87ead2bf39
Democracy propose invalid Bytes disabled (#1715) 2019-10-11 10:57:27 +02:00
kwingram25
81c925f3d7 UI support for v2 ABI (#1602)
* ui support for v2 ABI

* drop v1 support

* update ABI display

* changes

* buttons

* update ABI display

* ABI v1 error message

* fix key warning

* Bump deps

* Bump deps

* Updates for merge

* default gas and endowment
2019-10-10 21:37:07 +02:00
Jaco Greeff
01e4c0e60f
Allow ss58 input on Bytes fields (#1691)
* Allow ss58 input on Bytes fields

* Remove stray debug logs
2019-10-03 09:38:58 +02:00
Jaco Greeff
b0ae9ff24e
Swap Option to default None (#1687) 2019-10-02 16:03:23 +02:00
Jaco Greeff
7c6a4b1b07
Add Option handler to param inputs (#1686)
* Add Option handler to param inputs

* Remove stray debug log

* Linting cleanups

* Bump deps
2019-10-02 14:06:25 +02:00
Jaco Greeff
f67058e4c0
Cleanup InputAddress export, proper props (#1673) 2019-09-27 12:29:30 +02:00
Jaco Greeff
f5b0247270
Additional func. component conversions (#1659)
* Additional func. component conversions

* rendering function cleanups (pre-convert)

* Additional

* Forks to functional
2019-09-26 16:16:07 +02:00
Jaco Greeff
8148047e96
Fixes for Option<enum/struct> rendering (#1653)
* Fixes for Option<enum/struct> rendering

* Update Struct.tsx

* Update Struct.tsx
2019-09-24 15:57:49 +02:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) (#1649) 2019-09-24 10:00:05 +02:00
Jaco Greeff
6fb8916e6f
More functional component conversions (#1640)
* More functional component conversions

* Expose systemVersion on api

* Signer checks

* KeyRing uses local IdentityIcon
2019-09-20 16:08:37 +02:00
Bhanu Teja P
01271da389 Add relevant icons to top-level buttons (#1618)
* Add relevant icons to top-level buttons

* Add some missing icons

* Add some missing icons

* Add missing icons
2019-09-19 12:57:10 +02:00
Jaco Greeff
93a1882903
Values & components for H{256, 512} & i{8, 16, 32, 64, 128} (#1634) 2019-09-19 12:46:51 +02:00
Jaco Greeff
fbe68b6c5d
Reset themes, single palette (#1607)
* Reset themes, single palette

* Additional comments

* Bump identicon, darkorange highlights

* Default button colors to $default

* isPrimary for all major (maybe rather shouldn't)

* All input buttons are non-primary

* Toggle to $highlight, links to $primary

* Swap darkorange to Thibaut-orange

* Icon  highlight to non-orange

* Highlight  package bump

* Updates

* Adjust referendum result color (aligning with orig Polkadot)

* Bumpos, button text color
2019-09-18 12:59:56 +02:00
Jaco Greeff
72f803926f
Some small component conversions (#1581)
* Some small component conversions

* Default exports

* Squashing

* Some additional components

* Linting
2019-09-13 10:29:44 +02:00
Xiliang Chen
688231ca05 GenericAsset Transfer app (#1452)
* Initial GenericAsset Transfer app

* Basic Assets page

* improve assets page a bit

* Make asset id dropdown in transfer

* fix linter issues

* update with new packages
2019-09-09 11:59:35 +02:00
kwingram25
c9790f85d9
useContext instead of withApi (#1579)
* useContext instead of withApi

* types to interface, fixes
2019-09-03 15:00:09 +02:00
kwingram25
5f49e6c8d6 Functional components (react-query, react-params, misc) (#1567) 2019-09-01 14:24:14 +02:00
Jaco Greeff
ec8be875df
typescript-eslint 2 (#1568)
* Setup for typescript-eslint 2

* Cleanup linting

* Bump ui version

* Exclude build folders
2019-09-01 13:34:56 +02:00
Jaco Greeff
c3f0151746
Make setting URL component re-usable (#1556)
* Make setting URL component re-usable

* Adjust toggle

* Center icons

* Cleanups

* Fix linting

* extract label

* Simplify

* More cleanups

* Readability tweaks
2019-08-29 11:47:11 +02:00
Jaco Greeff
9beece08c9
Allow optional params in state/toolbox (#1554)
* Allow optional params in state/toolbox

* RPC calls work with optional
2019-08-28 17:30:11 +02:00
Jaco Greeff
cc2f442245
Input Uknown types as hex (underlying) (#1551) 2019-08-28 13:11:00 +02:00
Jaco Greeff
e90614e76e
Fix KeyValue[] input (eg. system.setStorage) (#1546) 2019-08-28 08:30:40 +02:00
Jaco Greeff
f98229acbd
Fix Key component (aka killStorage) (#1545)
* Fix Key component (akak killStorage)

* Remove extra logging
2019-08-27 17:06:11 +02:00
Jaco Greeff
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +02:00
Jaco Greeff
0f8deec75b
Bump API, storage dup. fix (#1504) 2019-08-14 21:55:35 +02:00
Jaco Greeff
82e5269a47
Display Data/Keys params as hex (#1496)
* Display Data/Keys params as hex

* Treat Keys as opaque in query output

* session.queuedKeys output also works

* Bump API (block 0 fix)
2019-08-12 14:58:54 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00