Commit Graph

164 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
Travis CI
b97226a184 [CI Skip] 0.19.27 2018-08-10 10:38:49 +00: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
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
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
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
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
Travis CI
6f3059491e [CI Skip] 0.19.12 2018-08-02 15:21:32 +00: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
Travis CI
ea523021ce [CI Skip] 0.19.8 2018-07-31 09:13:11 +00: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
Jaco Greeff
1a00af0626 Update deps 2018-07-29 16:28:12 +02:00
Travis CI
7c09b33f2f [CI Skip] 0.19.5 2018-07-25 10:04:50 +00:00
Travis CI
a353c54b01 [CI Skip] 0.19.4 2018-07-24 16:30:06 +00:00
Travis CI
a7001f785c [CI Skip] 0.19.3 2018-07-24 15:31:13 +00:00
Jaco Greeff
9e8557bcb1
Add length prefix to Bytes type (#159)
* Add length prefix to bytes

* Update types
2018-07-24 17:26:17 +02:00
Travis CI
0d7f056f07 [CI Skip] 0.19.2 2018-07-23 15:59:20 +00:00
Travis CI
6f3ed409e3 [CI Skip] 0.19.1 2018-07-23 14:38:10 +00:00
Jaco Greeff
d4ad240462 Bump deps, staking.(un)nominate 2018-07-23 16:31:44 +02:00
Travis CI
4db0572e82 [CI Skip] 0.18.26 2018-07-22 12:10:48 +00:00
Jaco Greeff
2dccb5959f
Update deps, fix formatting, parachain priv methods (#156)
* Update deps for empty params

* Bump deps

* Render ParachainId
2018-07-22 14:05:38 +02:00
Travis CI
c3183ff351 [CI Skip] 0.18.25 2018-07-15 16:06:37 +00:00