Commit Graph

28 Commits

Author SHA1 Message Date
Jaco Greeff
540a39ff48
Use apiSupport & apiConnected from withApi (#63) 2018-05-28 22:31:24 +02:00
Jaco Greeff
4790214a24
Support both poc-1 & latest encodings (#62)
* Support both poc-1 & latest encodings

* v.
2018-05-28 18:43:14 +02:00
Jaco Greeff
004824dbec
Be explicit in State returns (#58)
* Be explicit in State returns

* Cleanup Param properties

* Cleanup casting

* Cleanup type manipulations

* Don't allow null for InputAddress defaultValue
2018-05-25 17:57:51 +02:00
Jaco Greeff
99b188bf5d
Update dependencies, cleanup app-rpc results (#55)
* Align with upstream types

* Fix app-rpc outputs
2018-05-24 18:04:49 +02:00
Jaco Greeff
397dd0c983
Update jsonrpc dependency tree (#54)
* Use tyopeToString from @polkadot/params

* Upgrades... before checks

* Cleanups... WIP.

* more WIP.

* Expand defaultValue & handlers

* Cleanups

* CodeClimate cleanups

* Additional CodeClimate cleanups

* Base for app-rpc

* Initial split into ui-signer

* Signer operational (extrinsics)

* Decode extrinsic method

* RPC progress...

* RPC class works again

* @flow cleanups
2018-05-23 18:01:42 +02:00
Jaco Greeff
6753dc0ad2
Use @babel 7 (#52)
* Use @babel 7

* Use @babel 7

* Use custom webpack config

* Minify input css

* Remove @flow header form webpack.config

* Webpack config re-usable

* Split with vendor/main bundles

* Use hash for main entry, specify chunkHash

* Import base postcss config

* Hashing uses blake2

* Align number formats

* Use contenthash fro extracted css

* Format number directly

* Split runtime (better caching)
2018-05-17 14:51:41 +02:00
Jaco Greeff
5f884c4b65
Add utility/toolbox app (#51)
* Upgrades

* Add & use Output component

* Render app in content

* Use update @polkadot/dev-react

* Add app-toolbox

* DRY className concat

* Hashing in place

* Verify signature operational

* Entry updates

* Verification operational

* Final cleanups before PR

* Bump version
2018-05-15 16:58:32 +02:00
Jaco Greeff
a940292287
Convert to @polkadot/param formatters (#49)
* Convert to @polkadot/param formatters

* WIP

* Renderinbg operational

* Update with checks

* Show 'empty' with no array values

* Pass-through label properly

* Pass through isDisabled property
2018-05-14 17:43:22 +02:00
Jaco Greeff
ea50c4f1fe
Pull in ui-app components only (#46)
* Pull in ui-app components only

* Undefined check

* Small overall layout updates (buttons)

* Password hide/unhide icons

* Automatically assign name to inputs
2018-05-12 15:05:41 +02:00
Jaco Greeff
b11a6981a2
Optimise components (#39)
* ui-react-app -> ui-app

* CopyButton, Input & Password components

* Convert all to use ui-app/{Input, Label}

* Change to PureComponent where we have onChange listeners

* Cleanup layouts

* Swap dropdown components, remove uselexx constructors

* Allow address/account forget

* Bump

* Searching with headers operational

* flex grow/shrink for icon + account add

* Fix balance & transaction display (account/address management)

* Adjust balance layout

* Equalise padding
2018-05-11 18:08:10 +02:00
Jaco Greeff
0eab4f6f22
Basic address management app (#38)
* Update vanity regex (no 'I')

* Allow copy of generated seed

* Update connecting info

* ui--form -> ui--row

* Cleanup layouts with ui--row

* negative -> default (non-removal)

* Embedded rows don't have padding

* Allow ability to hide address

* Adjust button layouts

* Make account edit/create (slightly) prettier

* @flow fixes

* Some spacing adjustments

* Outline ofg the addressbook app

* Address create & edit operational

* @flow fixes

* Small UI cleanups, done as a first round
2018-05-11 09:20:44 +02:00
Jaco Greeff
38c02cd666
Allow unlock on locked accounts (extrinsics) (#37) 2018-05-10 13:57:49 +02:00
Jaco Greeff
6006749297
Split UI-specific keyring into own package (#36)
* Swap to using split-out ui-keyring

* First part of split into ui-keyring complete

* Create/Edit account operational

* Cleanup keyring display

* InputAddress defaultValue
2018-05-10 09:52:49 +02:00
Jaco Greeff
e02b971998
Allow external address input (#34)
* Allow external address input

* Remove hold-over debug log
2018-05-09 17:54:17 +02:00
Jaco Greeff
dfaddef7eb
Basic account management app (#29)
* Basic account management functions

* Allow dividers

* Use dividers to split menu

* Bump

* Basic cleanups
2018-05-08 17:47:34 +02:00
Jaco Greeff
724e1e1b3d
Basic parameter passing with storage (#28)
* Basic parameter passing with storage

* Add GH link

* Cleanup param formatting
2018-05-07 17:36:32 +02:00
Jaco Greeff
19495e590e
Use ui-react-rx & api-rx packages (#27)
* Use ui-react-rx & api-rx packages

* Install
2018-05-07 12:54:51 +02:00
Jaco Greeff
072c5d73f1
Simplify app using setState (#23)
* Remove extra subjects from app-explorer

* Use bs58 addresses

* Base upgrades subject -> onChange

* app-storage & app-explorer works

* Remove useless placeholder

* Progres...

* Rename Submission -> Selection

* Baby steps... things display now...

* setState operational

* Explicit onChange

* Work around eslint issues (!!!)

* @flow fixes

* Small styling updates

* Small app content styling updates

* Simplify
2018-05-07 11:37:06 +02:00
Jaco Greeff
49cd48a07b
Use bs58 address display format (#22)
* Remove extra subjects from app-explorer

* Use bs58 addresses
2018-05-05 21:36:05 +02:00
Jaco Greeff
da5c28faa6
Fix extrinsic proposals (#15)
* Fix file upload size

* Extrinsics should extrinsic again
2018-05-05 13:20:23 +02:00
Jaco Greeff
a5607ac90e
App for realtime storage queries (#11)
* Create app-storage structure

* Split shared components into ui-react-app

* Cleanup @flow issues

* Rename apps classes

* Split with ui-react-app operational

* Import es semantic-ui

* Selection section/key split into 2

* Basic storage queries (no-params) in-place

* Upgrades

* No-param queries operational

* Default values operational (dropdown)

* Additional cleanups, constrolled value

* @flow updates

* @flow fixes

* Move Params to ui-react-app (future-use in app-storage)

* Fix final @flow issues

* Query removal

* Cleanups

* Update README

* Upgrades

* Fixup cached components

* Bump @polkadot/rx-react

* Simple explorer animations

* Additional (final) cleanups
2018-05-04 15:07:44 +02:00
Jaco Greeff
2206d30f69
Allow setCode file uploads (#10)
* File upload (setCode)

* Cleanup Param types
2018-04-30 11:35:23 +02:00
Jaco Greeff
a514337b9b
Small tweaks to hash input (#9) 2018-04-30 08:50:52 +02:00
Jaco Greeff
b71e029cc8
Round out available extrinsic methods (#8)
* Expand methods

* Remove extra params label

* Move shared extrinsic definitions

* Split extrinsics into own packages

* Update entry location

* Include all method calls

* Expand to include all extrinsics

* Cleanup extrinsic definitions

* Build folder change
2018-04-29 16:52:55 +02:00
Jaco Greeff
79dcf5ab54
Expand available extrinsic methods (#7)
* Public/Private extrinsics

* Better dropdown displays

* Expand definition with name

* Pass actual full selected extrinsic around

* Create param layout from parameters

* u32 encoding

* Re-introduce Params component

* Proposal & params display operational

* Parameter-drive method construction

* s/Method/Extrinsic/

* Cleanup locations
2018-04-27 16:15:20 +02:00
Jaco Greeff
ad5cf04b07
Update rx-react/rx-api packages (16.3 compliant) (#4)
* Update rx-react/rx-api packages (16.3 compliant)

* onChange & subject is optional

* Cleanup translations

* Clean up logging

* Upgrades

* Use yarn on Travis

* install -> add

* No lerna global install

* Ignore engines

* Update dev

* Final dependency bumps

* Simplify travis.yml more
2018-04-25 16:45:14 +02:00
Jaco Greeff
6631261ed9
Connecting overlay (#3)
* NotFound translatable

* Connecting overlay

* Update rx-react (proper state management)

* Use i18n-next everywhere

* @flow updates
2018-04-24 17:02:44 +02:00
Jaco Greeff
d589964bf2
Simple block exploration app (#2)
* Updates

* s/app-testing/app-extrinsics/

* Run components as apps using url

* Redirect to /home

* Expand Portal with NotFound app component

* New block numbers & hashes are being shown

* Only display best block once

* best block -> best

* TODO for calcHash

* Explorer aligns with blockNumber/hash

* Break signing into seperate modal

* Cleanups with @flow

* Adjust Dropdown for methods

* Remove (for now) unused app-home

* Update deps
2018-04-23 17:25:00 +02:00