Commit Graph

254 Commits

Author SHA1 Message Date
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
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
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
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
Travis CI
b3e6bd113f [CI Skip] 0.19.11 2018-08-02 08:19:20 +00:00
Luke Schoen
df91405d1b fix: Fixes #163 Concat index before value for queries with array response (#172)
Applies to queries to storage @polkadot/storage/ such as staking.ts and session.ts having type ['AccountId'].
2018-08-02 10:13:45 +02:00
Travis CI
2ddff94741 [CI Skip] 0.19.10 2018-08-02 05:40:11 +00:00
Jaco Greeff
1ea1e193c6
sodium-wasm support (#170)
* sodium-wasm support

* Update deps
2018-08-02 07:34:39 +02:00
Travis CI
fb9d0153c2 [CI Skip] 0.19.9 2018-07-31 13:34:50 +00:00
Chevdor
ede7b13c77 Add multistage docker image (11MB) (#164) 2018-07-31 15:29:00 +02:00
Travis CI
ea523021ce [CI Skip] 0.19.8 2018-07-31 09:13:11 +00:00
Jaco Greeff
d8d9564503
Fix yarn run vanitygen (#167) 2018-07-31 11:07:50 +02:00
Travis CI
38502ea04f [CI Skip] 0.19.7 2018-07-30 10:12:09 +00:00
Jaco Greeff
dec2432956 Bump deps 2018-07-30 12:07:04 +02:00
Jaco Greeff
613c10a455 Bump deps 2018-07-30 11:48:29 +02:00
Travis CI
d7a686f109 [CI Skip] 0.19.6 2018-07-29 14:33:22 +00:00