Commit Graph

151 Commits

Author SHA1 Message Date
Jaco Greeff
4889fb7147
Pull in new API (Option<Type> for storage) (#730)
* Pull in new API (Option<Type> for storage)

* staking_nominating is Option

* WIP

* Seems working, however democracy, not happy

* Bump API, Option storage fix

* Pull latest API

* Api version display
2019-02-20 08:45:42 +01:00
Travis CI
aaac78021c [CI Skip] 0.23.34 2019-02-19 09:55:04 +00:00
Stefanie Doll
a056be741b
Save code snippets to local storage (#718)
* Fine tuning examples

* WIP First proposal to save snippets

* Don't add code wrapping multiple times

* Smaller adjustments

* Fix 'reset selected on load' bug

* Reverted Button size type declaration change, doesn\t belong in this PR

* Wrapper formatting

* Save button style

* removed constructor from editor

* fix metadata example

* Added constants file

* Moved local storage popup to separate component

* Remove functionality WIP

* upgraded yarn lock

* Moved Local storage to separate component, fixed lyfecycle methods, moved props.childre to render in HOC

* Changed simplyfied examples for debugging back to original

* Cleanup leftover comments

* More leftover comments cleanup

* More cleanup

* Moved makeWrapper back to seperate component

* Add code wrapper for default examples in constructor to prevent lifecycle update bugs

* Make onBlur optional

* Updated yarn.lock

* FIXME comment for ui-app Button bug inside <Popup />

* translation and removed empty classname
2019-02-19 10:49:37 +01:00
Jaco Greeff
cf23041b85
Pull in @polkadot/ui-util (#724)
* Pull in @polkadot/ui-util

* Pull in @polkadot/ui-util

* Skip tests
2019-02-18 14:45:29 +01:00
Jaco Greeff
77cecc81f6
Fix validatorPrefs input (#721)
* Fix validatorPrefs input

* Display summary with value
2019-02-16 17:07:12 +01:00
Travis CI
0412f16e87 [CI Skip] 0.23.29 2019-02-15 17:50:26 +00:00
Jaco Greeff
b9bf4826bd
Bump deps (#720)
* Bump deps

* Bump deps

* Revert sui bump
2019-02-15 18:44:53 +01:00
Jaco Greeff
dac2734ab6
Schnorrkel support (#710)
* Schnorrkel support

* Additional export cleanups (move to root & types)

* Bump

* Bump deps

* Update deps

* Bump deps

* Bump deps
2019-02-15 11:57:10 +01:00
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports (#711) 2019-02-13 22:49:10 +01:00
Jaco Greeff
e591a7be64
Bump API (#704) 2019-02-13 11:50:01 +01:00
Jaco Greeff
9f17297d3c
Bump API (#702) 2019-02-12 18:06:08 +01:00
Jaco Greeff
75b519151b
Collapse sidebar (#700)
* Collapse sidebar

* Collapse button is fixed

* Small updates (styling)

* Add small collapsed logos
2019-02-12 15:55:32 +01:00
Jaco Greeff
06c6b1c0df
Bump API to latest (#695)
* Bump API to latest

* Update deps
2019-02-11 22:10:58 +01:00
Stefanie Doll
061f346fd6
Sd 668 app console (#684)
* [app-js] fixed copyright

* [app-js] css fixes

* [app-js] Add api to window object

* Make CSS columns resizable (FF & Chrome)

* Window Interface export

* formatting

* Make columns responsive, added Dropdown

* Added code snippets

* Strip down output to functional component

* removed component state, removed onEdit, update on select

* Editor styling

* Added snippets and local storage

* output formatting

* Example dummies

* Cleanup & examples

* Added util & keyring @polkadot modules to window object

* Moved intro to component to make it translatable

* Added more RPC examples

* small fix

* WIP exaples

* Styles for resizer, fixed flex overflow misbehaviour

* remove code from snippets for options,

* Added labels to dropdown

* Examples

* More examples and removed deprecated examples

* Added labels to dropdown -> missing type decl.

* correst link to ui-keyring package

* Make tslint happy

* Pull api clone/disconnect into sd-668 (#686)

* JS playground & console (start something...)

* It runs...

* WIP

* Use codeflask

* Highlights

* Small updates, console v0.1 is ok to play with

* Bump

* Only shadow, no border (article)

* Allow API to be disposed of between runs

* Clone and disconnect API

* Move id generation (no need for constructor)

* Small updates

* Small type adjustments

* smaller fixes after code review

* updated yarn.lock

* move options calculation out of return

* Remove exposure of api to window object

* Expand JS console logging (#691)

* Expand JS console logging

* Log extrinsics directly

* switch to getDerivedStateFromProps()

* roll back ts versions

* react-i18next rollback to 9.0.2

* Lock  react-i18next to 9.0.2
2019-02-11 18:02:34 +01:00
Jaco Greeff
fb9cf70a71
Javascript & API console app (#666)
* JS playground & console (start something...)

* It runs...

* WIP

* Use codeflask

* Highlights

* Small updates, console v0.1 is ok to play with

* Bump

* Only shadow, no border (article)
2019-02-01 11:17:32 +01:00
Jaco Greeff
1e86fb745c
Bump API for hash-value signatures (#665)
* Bump API for hash-value signatures

* Imports, hide tabs, not apps

* Update with derive-fixed API

* Remove unused type import
2019-01-31 21:19:36 +01:00
Jaco Greeff
6ce31fc1da
Rework Tabs component (using react-router) (#660)
* Rework Tabs component (using react-reouter)

* Remove unneeded props (already specified)

* Bump API

* Bump API for finalised v1 support
2019-01-30 20:40:29 +01:00
Jaco Greeff
3ff2053370
Bring tabs into apps without (consistency) (#659)
* Bring tabs into apps without (consistency)

* Small signer updates

* Explorer info as label

* Adjust fonts for modals

* Cleanup imports

* .ui.modal base color

* Adjust Account summary opacity

* Bump API (metadata V1 events)

* Update Event.tsx

* Remove order overrides

* Expand isDisabled balance

* Update index.tsx

* Update index.tsx
2019-01-28 20:30:49 +01:00
Jaco Greeff
a6c44dd4fb Labelling cleanups & API bump (balances via Address) (#658)
* Labelling cleanups & API bump (balances via Address)

* Documentation join

* Align padding for article with padding

* Extra console.log removed

* Text update
2019-01-28 12:08:01 +01:00
Jaco Greeff
612b5d0f45
API update (metadata v1), fragment support (#652)
* Use fragments instead of [] returns

* Frament part 2

* Update API

* Update Creator.tsx

* Review cleanups
2019-01-26 17:27:13 +01:00
Jaco Greeff
0663483a2e
Type rendering updates (#643)
* Type rendering updates

* Moment renders via Amount

* Remove errant console.log
2019-01-24 22:38:17 +01:00
Jaco Greeff
5325f3695e
API bump, bool fix (#642) 2019-01-24 15:09:32 +01:00
Jaco Greeff
e86fb8de43
Add setting of ValidatorPrefs (#624)
* Add setting of ValidatorPrefs

* Bump API

* Pull through initial values in InputNumber
2019-01-21 14:10:52 +01:00
Jaco Greeff
3061057e30
Bump API, Node info peer id displayed (#630)
* Node info peer id displayed

* Latest API

* Add peer best & countdown to nodeinfo
2019-01-21 12:06:18 +01:00
Jaco Greeff
f065e9945d
Purge left-over app-vanitygen references (#629) 2019-01-21 00:26:42 +01:00
Travis CI
8f3f1e724d [CI Skip] 0.22.27 2019-01-18 22:09:32 +00:00
Jaco Greeff
eb0abb8307
Cleanup api call usage (#617)
* Rename apiPromise -> api

* First attemp at React render component (unused)

* Cleanup api call usage

* Cleanup linting

* Remove render component

* Adjustments on HOC types (& usage)
2019-01-18 23:04:13 +01:00
Jaco Greeff
ac2e809e97
Bump deps (#613)
* Bump deps

* Typo
2019-01-17 18:10:04 +01:00
Jaco Greeff
9afe50ff64
Bump API, use derive.accounts.* (#612) 2019-01-17 15:55:50 +01:00
Jaco Greeff
c3821bdb1b
Update with latest API (with derive) (#611)
* Pull in latest API

* Use derive from api

* Update with latest API
2019-01-17 10:59:22 +01:00
Jaco Greeff
7f375c04a5
Bump API & deps (#606)
* Bump API & deps

* Bump repo-specific deps

* Fix vanity stats display
2019-01-16 11:23:20 +01:00
Travis CI
09ae868727 [CI Skip] 0.22.19 2019-01-15 08:43:16 +00:00
Jaco Greeff
7e01f3cb37
Allow edit/add from address in recents (#601)
* Allow edit/add from address in recents

* Package upgrade restore after merge
2019-01-14 15:16:28 +01:00
Jaco Greeff
47d08cb3d5
Detect invalid nominator (#598) 2019-01-14 11:49:44 +01:00
Jaco Greeff
b68c1a4f5e
Update summary info displays (#590)
* Display activated block for referendums

* Display authorities for block generation

* Fix author calculation
2019-01-12 16:35:04 +01:00
Jaco Greeff
014ae780e4
Split ui-api, update API version (#589)
* Split ui-api, update API version

* Update (awaiting API changes to go through)

* Cleanup ui-api exports

* Bump API (SubscriptionPromise support)

* Linting fixes

* Update renames

* Do display balances.Transfer (shows for non-owned accounts)

* Bump API
2019-01-12 09:38:07 +01:00
Jaco Greeff
8e2f80d176
Submit extrinsics via signAndSend (#585)
* WIP first bits...

* Coversion should be ok, testing remains

* Tie up loose ends

* Bump deps
2019-01-11 14:54:18 +01:00
Jaco Greeff
0a5382ba0d
Update API, fixing isReady wait (#579)
* Update API, fixing isReady wait

* Bump (previous version didn't deploy all packages, npm, tsk, tsk)
2019-01-10 11:52:13 +01:00
Travis CI
274c9f32cc [CI Skip] 0.22.1 2019-01-09 17:13:58 +00:00
Jaco Greeff
c0df704d66
Re-introduce Compact<Index> transaction support (#574) 2019-01-09 18:05:16 +01:00
Travis CI
001c390be3 [CI Skip] 0.21.22 2019-01-09 10:12:04 +00:00
Jaco Greeff
cb5f4f4b50
Revert Compact<Index> API until we have full support (#573)
* Rever Compact<Index> API until we have full support

* Fix requested API versions (module resolution)
2019-01-09 11:07:00 +01:00
Jaco Greeff
46cf21bac9
Allow networkId from settings defaults (Alex & CC spec overrides) (#569) 2019-01-09 07:31:35 +01:00
Jaco Greeff
43a4da151a
Bump API, Compact<Index> support (#563)
* Bump API, Compact<Index> support

* Bump for 0.38

* Allow numberFormat to format Compact

* Re-instate new compact API

* Update static Vector display
2019-01-08 19:39:47 +01:00
Jaco Greeff
fef9f61c65
Use ApiPromise instance, replace ApiObservable (#540)
* Expose ApiPromise, cleanup API props

* WIP

* First component via ApiPromise

* More items via ApiPromise

* More robust availability handling

* Disable routes based on API endpoint checks

* Handle promises

* Low-hanging fruit for call conversion

* Remove extra params

* Adjust rx components with children props

* Start pulling in derived values

* Additional derived

* Bump

* More derived values

* Add derive.balances.fees

* Additional account lookups

* derive lookup for Id -> Index mappings

* Cleanups, accountIdToIndex

* Rework for new API

* Update deps, all-ok after API bumps

* Add voting and validating balances

* Cleanup callback

* Democracy wrap-up

* 2019

* withApiPromise -> withApiCall

* Calculate referendum number

* Fix balances, withObservableBase -> withObservable

* Cleanup with actual interfaces

* withApiCall -> withCall

* Bumps

* api-observable types replaced

* Half-effort to adjust extrinsic creation

* No api-observable refs anymore

* Cleanup storage query app

* Cleanup call

* Voting works...

* Add Vote component

* Update API
2019-01-07 17:54:01 +01:00
Jaco Greeff
f37056465f
Bump deps, subscription re-creation (#555) 2019-01-01 17:30:50 +01:00
Jaco Greeff
04d72bf5cf
Unknown to allow hex/bytes input (#545)
* Unknown to allow hex/bytes input

* Bump deps
2018-12-30 12:57:08 +01:00
Jaco Greeff
0257eaeae1
Allow custom type registration (#543) 2018-12-29 20:15:04 +01:00
Jaco Greeff
30f5d12bac
Log observable not being created, don't throw (#542)
* Log observable not being created, don't throw

* Bump deps
2018-12-28 17:20:02 +01:00
Travis CI
db88aac4e8 [CI Skip] 0.21.4 2018-12-26 14:22:56 +00:00