Commit Graph

166 Commits

Author SHA1 Message Date
Jaco Greeff
449310e0c9
Don't pass UI_MODE/UI_THEME via env (#769) 2019-02-28 16:36:50 +01:00
Jaco Greeff
3698698a8a
Bump deps (#768)
* Bump deps

* Bump
2019-02-28 15:22:52 +01:00
Jaco Greeff
34687e1765
Initialise Vector correctly based on subtype (#765) 2019-02-27 17:36:59 +01:00
Jaco Greeff
3989c8c7c1
Bump deps (#757)
* Bump deps

* yarn start, well, starts again
2019-02-26 18:10:42 +01:00
Stefanie Doll
3f8ef157e4
Compress code with snappyjs (#755)
* Compress Base64 strings with snappy

* Move wrapper fix to different PR

* Added snappy typescript declaration

* type str and ch

* Updated yarn.lock
2019-02-25 14:24:19 +01:00
Travis CI
028fcae8ac [CI Skip] 0.24.12 2019-02-22 12:56:53 +00:00
Stefanie Doll
970911536c
Share functionality for app-js api playground (#740)
* First WIP

* Move all action buttons to component

* More WIP

* removed query-string module, share example through location.hash

* Copy over deep clone

* Fixed onload behaviour

* Working example 'read from url' <-> 'write to url'

* Populate location.hash to state

* comment

* Add selected option to dropdown

* Dropdown WIP debugging

* Removed attempted workaround for MUI Dropdown component Bug, added Fixme

* Added copy to clipboard functionality

* Added feedback animation on copy & switched component back to PureComponent

* Tslint fixes & yarn.lock dump

* Added hash router types

* More type fixes

* Attempt to fix strictNullChecks for document.getSelection()

* Fixed wrong conditional

* prettier links

* Tiny styling tweaks

* Added routing to index

* Removed empty devDependencies from package.json

* Fix sharing

* Try `history` without typing

* Yarn.lock dump

* Removed leftover LocalStorage component

* Removed HashRouterProps

* Code formatting changes

* addressing tslint errors

* Added match ro Props

* Added history: any to Props declaration
2019-02-22 13:51:07 +01:00
Jaco Greeff
af7aea33df
Bump API, fix Option handling on storage (#751) 2019-02-22 11:13:31 +01:00
Jaco Greeff
12ffd0425a
Fix referendum votes not showing (#748)
* Fix referendum votes not showing

* Bump deps
2019-02-21 15:54:53 +01:00
Jaco Greeff
f23ce1d764
Bump ui-identicon (Substrate default) (#745) 2019-02-21 13:48:03 +01:00
Jaco Greeff
142780f3ac
Bump api (latest substrate master support) (#741) 2019-02-20 17:47:35 +01:00
Jaco Greeff
b6836fb282
Dried Danta support (#739)
* Don't filter chains (use specified props)

* Bump @polkadot/ui-settings
2019-02-20 16:39:52 +01:00
Travis CI
b4a702bc84 [CI Skip] 0.24.3 2019-02-20 11:59:13 +00:00
Stefanie Doll
333b94001e
Bugfix: deep clone imported snippets (#737)
* Yarn.lock update

* Deep clone imported snippets, state.snippet empty on default

* Fixed wrong defailt type for 'selected'

* Fix onMount behaviour
2019-02-20 12:53:48 +01:00
Jaco Greeff
9adfd46cc3
Bump i18next version (with usage changes) (#736)
* Bump i18next version (with usage changes)

* Remove unneeded i18n wrapping (Unlock)

* Bump semantic-ui version
2019-02-20 10:26:27 +01:00
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