Commit Graph

180 Commits

Author SHA1 Message Date
Jaco Greeff
9fe4510724
Bump deps (#808) 2019-03-12 13:00:33 +01:00
Ross Bulat
9dc5f50f73 Fixed sidebar w. scrollable icons (#796)
* enhanced sidebar

* ts

* tidyup

* bump

* fix

* yarn lock

* package json

* package json

* fixed sidebar

* lodash throttle

* tslint

* yarn lock

* universal height

* logo width

* post conflicts

* toggle bar

* tidyup

* tidyup, remove flex on sidebar wrap

* conflict

* yarn lock

* ts

* yarn lock

* sticky sidebar

* wrapper classes

* cleanup

* polkadot pink dial down

* revert pink remove, consistent collapse pos

* eagle-eyed jaco

* collapsed icon margin 0
2019-03-12 12:17:05 +01:00
Stefanie Doll
ee968a59c3
Editor for custom types and ActionStatus (#794)
* Added code editor to developer settings

* Added code editor to developer settings

* Added ActionStatus on save

* Added translate to new strings

* tslint fixes

* Valid status message

* Added styling, an error class and a description to Editor component

* Updated yarn.lock

* Include Editor from ui-app

* Added invalid prop to Ediitor component

* use classes util instead of classnames module

* Move settings tab content to seperate components

* Finalized validation logic

* reset placeholder

* removed leftover code comment

* remove comsole.log

* code cleanup
2019-03-12 12:04:27 +01:00
Travis CI
4ce1a3678d [CI Skip] 0.24.37 2019-03-08 11:47:42 +00:00
Jaco Greeff
7f964b01e7
Bump API (subId & result out of order fix) (#797) 2019-03-08 12:11:50 +01:00
Jaco Greeff
852f3c7918
Hide staking actions (when on bond API) (#792)
* Hide staking actions (when on bond API)

* Remove unused import

* Pull in new API with updated Metadata

* Hide low/high when there are no intentions

* Cleanup linting issues
2019-03-07 13:25:06 +01:00
Jaco Greeff
e1330b6d0e
Bump API (Header with number alias) (#791) 2019-03-07 12:20:18 +01:00
Stefanie Doll
8984b66179 Sd remove console.error for missing runtime modules (#788)
* Changed console.error to console.info

* Updated yarn.lock
2019-03-07 10:50:01 +01:00
Jaco Greeff
7195d29724
Add resolution overrides (#786)
* Add resolution overrides

* Add yarn.lock
2019-03-06 12:54:00 +01:00
Stefanie Doll
d55697e530
Add hot module reloading to apps (#784)
* Removed live-reload

* Turn App into React.Component

* Working HMR version 1

* Removed custom `module.hot.accept` function

* Added new line at the end of file

* Remove withMulti

* Removed unused imports & declarations

* Remove leftover BareProps import

* Fixed copy & paste error in copyright header
2019-03-05 17:31:58 +01:00
Ross Bulat
5078f3ae2c Enhanced Sidebar (#773)
* enhanced sidebar

* ts

* tidyup

* bump

* fix

* yarn lock

* package json

* package json
2019-03-05 16:02:09 +01:00
Jaco Greeff
f270d45a22
Swap HMR to liveReload (#783)
* Move WebpackPluginServe last

* Swap to liveReload (which is what we had)

* Bump deps
2019-03-04 17:58:17 +01:00
Jaco Greeff
d9cacd8322
Adjust wording for password labels (#774)
* Adjust wording for password labels

* Update Backup.tsx

* Update ChangePass.tsx

* Update with new API interfaces
2019-03-04 11:25:11 +01:00
Jaco Greeff
946bb17311
Handle unknown types (via createType) (#771)
* Handle unknown types (via createType)

* Bump deps
2019-03-01 11:19:36 +01:00
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