Commit Graph

276 Commits

Author SHA1 Message Date
Jaco Greeff
abcb098461 Merge master 2018-08-16 11:17:00 +02:00
Jaco Greeff
6da7153446 Update dependencies 2018-08-16 11:14:18 +02:00
Travis CI
e6b04cbb1c [CI Skip] 0.19.34 2018-08-16 08:46:42 +00: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
Travis CI
6183cc27d6 [CI Skip] 0.19.33 2018-08-15 16:24:22 +00: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
Travis CI
9c3d59284c [CI Skip] 0.19.32 2018-08-15 10:10:01 +00:00
Jaco Greeff
907dc875c5
Adjust header styling (font-weight) (#225) 2018-08-15 12:02:27 +02:00
Travis CI
2c449ae088 [CI Skip] 0.19.31 2018-08-15 08:44:18 +00: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
Travis CI
7768f51639 [CI Skip] 0.19.30 2018-08-13 10:12:14 +00: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
Travis CI
ec869f6f5b [CI Skip] 0.19.29 2018-08-12 15:33:24 +00:00
Chevdor
17f6dd6083
Add .dockerignore
Improve build time of docker images
2018-08-12 17:27:12 +02:00
Travis CI
018310ba9c [CI Skip] 0.19.28 2018-08-10 13:21:09 +00: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
Travis CI
b97226a184 [CI Skip] 0.19.27 2018-08-10 10:38:49 +00:00
Jaco Greeff
fae7b9592a Bump polkadot-identicon 2018-08-10 12:32:19 +02:00
Jaco Greeff
108f629692 Bump polkadot-identicon 2018-08-10 12:30:56 +02:00
Travis CI
04848f092c [CI Skip] 0.19.26 2018-08-10 10:30:31 +00:00
Jaco Greeff
b719d15cac Bump 2018-08-10 12:21:42 +02:00
Travis CI
6b5d7b9ea1 [CI Skip] 0.19.25 2018-08-08 21:00:19 +00:00
Jaco Greeff
46af1e3497
Swap to polkadot-identicon (#207)
* Swap to polkadot-identicon

* Delete index.spec.js

* Delete index.spec.js
2018-08-08 22:54:50 +02:00
Travis CI
72794e83c5 [CI Skip] 0.19.24 2018-08-08 15:26:15 +00: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
Travis CI
6c053761dd [CI Skip] 0.19.23 2018-08-08 13:03:12 +00: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
Travis CI
759ff2d5f0 [CI Skip] 0.19.22 2018-08-08 10:32:22 +00:00
Jaco Greeff
d5bfe7dbc5
Nominating layout fix (CSS-only) (#209) 2018-08-08 12:25:10 +02:00
Travis CI
3e55184e60 [CI Skip] 0.19.21 2018-08-08 09:21:04 +00:00
Jaco Greeff
ec1a110cb2
Add AddressRow component (#208) 2018-08-08 11:15:33 +02:00
Travis CI
e80b3adc2d [CI Skip] 0.19.20 2018-08-08 00:18:42 +00: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
Travis CI
ab26caa399 [CI Skip] 0.19.19 2018-08-06 19:55:43 +00:00
Jaco Greeff
278ca13812
Update util-keyring, pair.hasSecretKey -> pair.isLocked (#200)
* Update util-keyring, pair.hasSecretKey -> pair.isLocked

* Fix decrementing versions manually

* Update deps
2018-08-06 21:48:05 +02:00
Travis CI
21c9979ed8 [CI Skip] 0.19.18 2018-08-06 13:47:21 +00:00
Jaco Greeff
c80956b7f2
Common AddressSummary component, update staking layout (#194)
* Move AddressSummary component into ui-app

* Add children rendering to summary

* User AddressSummary in staking

* Mini summary component

* Show nominating in modal

* Check nomination against intentions (not validators)

* Update input description
2018-08-06 15:40:14 +02:00
Jaco Greeff
9f9c937a41
Format storage entries in a div (#197)
* Format storage entries in div (with icons)

* Update queries to have same alignment
2018-08-06 15:33:21 +02:00
Travis CI
8e21521b30 [CI Skip] 0.19.17 2018-08-06 13:29:46 +00:00
Jaco Greeff
3d10c5d818
Convert u8a pk to address for IdentityIcon (#196)
* Convery u8a pk to address for IdentityIcon

* *sigh* unused vars

* Additional unused var cleanup
2018-08-06 15:25:10 +02:00
Travis CI
86311c074d [CI Skip] 0.19.16 2018-08-03 17:02:10 +00:00
Jaco Greeff
bf5f75d491
(un)Nominate functionality (#183)
* (un)Nominate functionality

* Small cleanups
2018-08-03 18:55:44 +02:00
Travis CI
b78d1296e9 [CI Skip] 0.19.15 2018-08-03 12:20:35 +00:00
Jaco Greeff
4f8c5d3bc4
Storage keys update (polkadot/storage dep update) (#181)
* Update dependencies

* Update chenged storage keys
2018-08-03 14:14:40 +02:00
Travis CI
b0f7558674 [CI Skip] 0.19.14 2018-08-03 11:53:47 +00:00
Luke Schoen
0748a27426 fix: Fixes #94 by adding missing filter for extrinsics timestamp (#165)
* refactor: Rename InputStorage key to method to be consistent with InputExtrinsic

* fix: Add filter to both section and method that considers isHidden prop

* refactor: Move into meaningful private functions

* fix: Fix linting errors

* test: Add Unit Tests to check shouldDisplaySection function

* fix: Remove unnecessary import

* restore file naming

* refactor: Move shouldDisplaySection into utils folder

* refactor: Move more common functionality into util

* remove unused isObject

* restore by removing unnecessary types. propose private type for storage

* fix: Remove explicit passing through the type for storage since its default

* feat: Use shared logic for showing section and methods in InputRpc

* refactor: Move shared types into util folder with section visibility type

* fix: type is public or private

* WIP: methods[name] TypeScript error

Element implicitly has an 'any' type because type '{}' has no index signature

* fix: Fix TSLint errors using jacos solution
2018-08-03 13:46:17 +02:00
Travis CI
30344652d3 [CI Skip] 0.19.13 2018-08-03 07:57:38 +00:00
Jaco Greeff
88b7190c2b Bump deps 2018-08-03 09:50:01 +02:00
Travis CI
6f3059491e [CI Skip] 0.19.12 2018-08-02 15:21:32 +00:00