Commit Graph

27 Commits

Author SHA1 Message Date
Jaco Greeff
2aea3178bf
Update Api, remove poc-1 compatibility (#318)
* Update Api, remove poc-1 compatibility

* Update deps
2018-09-18 10:31:48 +02:00
Jaco Greeff
935b28c9b9
Adjust staking overview display (#312) 2018-09-14 15:20:15 +02:00
Jaco Greeff
73a2aa6879
Basic transfer app (#293)
* Update dependencies

* Add transfer app skeleton

* Basic transfer app

* Bump versions

* Remove unneeded prop

* Fix app-transfer not found (CI, due to version bump)

* Display reserved balance message

* Misplaced debug log

* Display no-effect warning

* Remove FIXME TODO (done)
2018-09-11 09:08:31 +02:00
Jaco Greeff
c018f66e4d FIXME around RxJs (with types) upgrade 2018-09-07 12:29:24 +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
bf4b3b4ed9
Keyring observable subject around available options (#240)
* Start of keyring observable

* All update operations through observables

* Cleanup create

* onChange -> rxChange for observables

* Options is observable

* Fix swap bug with same params

* Missing onChange -> rxChange

* Cleanups

* Remove extra comment
2018-08-20 17:44:32 +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
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
4484883afc
Basic democracy (Referendum) overview (#216)
* Basic democacry (Referendum) overview

* Summary in-place

* Fix package name

* Proposals & Referendums are showing up

* Some basic Extrinsic formatting. (WIP)

* Basic referendum/proposal summary in place

* Referendum outcome chart

* Voting in place. It works.

* Remove extra console.log/error

* Only show balances as label
2018-08-15 10:35:53 +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
391557dfc2
Detect nonce === null, set as new BN(0) (#213)
* Detect nonce === null, set as new BN(0)

* Cleanup previous hacks for null

* Bump common & api

* Bump dependencies

* Bump dependencies
2018-08-10 15:15:18 +02:00
Jaco Greeff
10358ff4be === null 2018-08-10 13:05:31 +02:00
Jaco Greeff
4d984d9f72
Introduce higher-level ApiObservables, use stakingBalance displays (#210)
* Move observables to ui-react-rx

* Move observables into ApiObservable

* Allow AddressSummary to render passed-in balance(s)

* Render Balance consistently in summaries

* Style Mini balance

* Use ApiObservable via HOC

* Nominee balances expanded

* Render nominators for account

* Add full balance when intending
2018-08-08 14:57:09 +02:00
Jaco Greeff
fb9c0f7f0b
Format stakingBalance as votingBalance + nominatingBalance (#204)
* Format stakingBalance as votingBalance + nominatingBalance

* Fix version number change (revert)

* Bump api 0.15.x: rxjs 6 & class-ified providers

* API bump

* Type cleanup

* Update version of packages

* RxJs 6 style Observable imports

* Remove ZERO const
2018-08-08 02:12:30 +02:00
Jaco Greeff
bf5f75d491
(un)Nominate functionality (#183)
* (un)Nominate functionality

* Small cleanups
2018-08-03 18:55:44 +02:00
Jaco Greeff
cf8a24a8da
Staking overview & actions (#171)
* Staking overview & actions

* Show session countdown

* Accounts with stake/Unstake buttons

* Small layout tweaks

* Cleanup multi-params from storage

* Submission/click works...

* Cleanups

* Render split

* Case sensitivity

* Doc links

* Icon to indicate validating
2018-08-02 17:15:07 +02:00
Luke Schoen
62b1158c69 fix: Fixes #130 latest rust reports chains differently (#133)
* fix: Detect chain specs that enable test environment and dev accounts Issue #130

* test: refactor moving chain checker into meaningful function name

* fix: Detect check specs requiring backward compatibility encoding for Issue #130

* remove comment

* remove comment and restore source maps

* fix: Fix the license information in test files

* refactor: Move cases into array with meaningful array. Cater for numbers

* refactor: Reduce how condensed the code is

* refactor: Use Polkadot isUndefined helper

* refactor: Move RegEx instantiation outside function so not called every time

* refactor: Move new utility functions and associated tests into ui-react-rx/src/util

* fix: Update to cater for renaming of poc-2 to staging

See commit updates since `poc-2` has been renamed to `staging` 3426552c76
2018-07-11 14:50:01 +02:00
YJ
aaf7286042 stricter types (#134) 2018-07-11 08:49:35 +02:00
Jaco Greeff
3fb85094a6
Example & tutorial (#127)
* Add tutorial step 001

* Update LICENSE header

* Query storage via HOC

* Tut 003, read proposals

* Tut 004 replacing HOC

* Pull Intentions & Proposals together

* Add final image

* Cleanup unused methods

* Source links

* Remove unused var
2018-07-09 13:38:31 +02:00
Jaco Greeff
349c35cf41
Fix extrinsic submissions (#111)
* Update parent when values have changed

* Fix linting

* Cast for correct signature

* Cater for correct "Bytes" for submitExtrinsic
2018-06-28 17:19:18 +02:00
Jaco Greeff
f523383216
Add TSLint (#106) 2018-06-27 12:43:07 +02:00
Jaco Greeff
f2d234b591
Fix parameter updates (#105) 2018-06-26 12:10:41 +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
e77363ba1b
Upgrade dependencies (#87)
* Upgrade dependencies

* Update getting started

* Attemp test-case for https://github.com/polkadot-js/apps/issues/81

* Fix small typos
2018-06-11 18:05:23 +02:00
Jaco Greeff
ba36eede0b
Include ui-* packages in repo (development speed) (#65)
* Include ui-* packages in repo (development speed)

* Bump

* Bump

* Cleanup dependencies
2018-05-29 17:33:29 +02:00