Commit Graph

36 Commits

Author SHA1 Message Date
Jaco Greeff
935b28c9b9
Adjust staking overview display (#312) 2018-09-14 15:20:15 +02:00
Jaco Greeff
d3b6ed447e
Cleanup extra classes(...), additional semantic elements (#249) 2018-08-22 13:48:40 +02:00
Jaco Greeff
90b8f0d5da
Start using semantic elements, cleanup imports (#248)
* Start using semantic elements, cleanup imports

* Typo

* Dark navbar
2018-08-22 12:24:13 +02:00
Jaco Greeff
261e547264
Bring back chain_getBlock checks (disabling on explorer) (#247)
* Bring back chain_getBlock checks (disabling on explorer)

* Update deps, auto-adjust SideBar width

* Simplify info display
2018-08-22 11:02:07 +02:00
Jaco Greeff
3bdcc6ba38
Update sidebar logo, spacing & colours (#243)
* Update sidebar logo, spacing & colours

* Cleanup styles (combine imports)

* Adjust overall base font colour

* Align overall background colours

* Ease out accent colours
2018-08-21 14:32:59 +02:00
Jaco Greeff
4ff1392459
DRY Card display (CardBar component, consistency) (#235)
* DRY Card display (CardBar component, consistency)

* Use SummaryCard on staking

* Simplify summaries (no duplication from explorer)

* Display lateness percentage value
2018-08-20 10:49:52 +02:00
Jaco Greeff
99c9062272
Cleanup JSON recursive formatting (#236) 2018-08-17 15:07:47 +02:00
Jaco Greeff
a6715a974e
Fix encoding to allow both poc-1 & poc-2 blocks (#234) 2018-08-17 10:40:35 +02:00
Jaco Greeff
682331e793
Display justifications for block click-through (#230)
* Display justifications for block click-through

* >25/25 display
2018-08-16 22:52:01 +02:00
Jaco Greeff
39fb78afd4
Retrieve block information (#229)
* Retrieve block information

* Render unknown addresses

* Don't render extrinsics count (getBlock) if not needed

* Fix dep versions
2018-08-16 17:35:32 +02:00
Jaco Greeff
8155e94d05
Simplify routing, redirect to default (#228)
* Simplify routing, redirect to default

* Allow subroutes

* Cleanup unused scripts

* Pass through basePath (router prop)
2018-08-16 10:40:56 +02:00
Jaco Greeff
a817db5fe2
Pull in new subscription API (tracking subs per method) (#227)
* Pull in new subscription API (tracking subs per method)

* Add apiMethods (support checks)

* Quick (not dirty) extrinsic count
2018-08-15 18:16:57 +02:00
Jaco Greeff
46a48539b7
Additional block production overview on explorer (#212)
* Cleanup Card layouts

* Additional block production overview on explorer

* Adjust Card padding for accounts

* Observable calculations into ApiObservable

* DRY-er combineLatest + .pipe(map(...))

* .pipe(map(...))

* Progress takes value + total, auto-colors

* CardSummary with Progress

* Small style updates

* Cleanup withApiObservable (optional value name)

* Cleanup progress props

* Cleanup rpc method use

* Auto-set the prop from withStorage

* Cleanups in observable use

* Cleanups to layout

* Initial bestNumber

* Poll for changes in ApiObservable

* WIP (debug)

* Initial conversion (untested) or subscribeStorage

* s/apiObservable/observable/

* Starting to show stuff (after storage subscriptions). WIP.

* Staking UI works, still WIP on rest.

* Readability

* Storage withObservableDiv, Closes https://github.com/polkadot-js/apps/issues/215

* Add encoding FIXMEs

* 'nominee' on set click

* Align withObservable with others (single line)

* Retrieve ss58 encoded AccountId from storage

* Update with latest api (null/undefined storage distinction)
2018-08-13 12:05:11 +02:00
Jaco Greeff
9b35e1ec79
Introduce Page & Navigation components (consistency) (#211)
* Introduce Page & Navigation components (consistency)

* Staking account border update
2018-08-08 17:18:57 +02:00
YJ
57800cdb83 Fixes #103: Convert functional components to pure (#135)
* ui-signer pureComponentify

* ui-react pureCompify

* Status queue prop

* ui-app Button

* ui-app InputExtrinsic

* apps, app-rpc, ui-app, ui-react

* app-extrinsics, app-explorer, apps

* fixes for tslint

* more linter fixes

* Update index.tsx

* Update index.tsx

* Update Nonce.tsx

* Update index.tsx

* Update Results.tsx

* Update index.tsx

* Update Queries.tsx

* Update NodeInfo.tsx

* Update index.tsx

* Update Item.tsx

* style fixes

* TSLINTs
2018-07-13 07:40:31 +02:00
Jaco Greeff
f523383216
Add TSLint (#106) 2018-06-27 12:43:07 +02:00
Jaco Greeff
078e2e431a
Support enumerable accounts (#102)
Covert to TypeScript
2018-06-25 18:02:47 +02:00
Jaco Greeff
9c89026e6e
Copyright project authors (#95)
* Copyright project authors

* Add contributors
2018-06-13 22:32:49 +02:00
Jaco Greeff
d45642e3f6
Fix address defaultValue/value, hide testing accounts (#66)
* Fix address defaultValue/value

* @flow cleanups

* Remove debug info

* Properly hide dev chain addresses (default)

* Close https://github.com/polkadot-js/apps/issues/68

* Don't allow pre-existing accounts and addr

* Failsafe on conversion check

* Don't try to encode arrays

* Display decoded Proposals as text
2018-05-30 12:07:45 +02:00
Jaco Greeff
a4531a50d6
Update for latest @polkadot/params (#64)
* Update for latest @polkadot/params

* Allow passing in of WS_URL environment

* Cleanup block display

* Update dependencies
2018-05-29 14:34:23 +02:00
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
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
a2fea201ac
Fix block sorting when numbers change (#53)
* Fix block sorting when numbers change

* Formatting

* Update @polkadot/dev (bn.js type fix)
2018-05-17 15:51:43 +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
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
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
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
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
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