Commit Graph

200 Commits

Author SHA1 Message Date
Jaco Greeff
dfdc0fbf3e
Next up list (and API update for improved list support) (#864)
* Next up list (and API update for improved list support)

* Adjust layout slight, remove unused var

* Hide actions with no accounts
2019-03-28 17:41:22 +01:00
Jaco Greeff
9bd7392d73
More informative staking page (buttons based on actions) (#855)
* WIP

* Render nominees

* Staking statics & buttons
2019-03-27 18:26:35 +01:00
Jaco Greeff
50092a7b74
Rename Stake -> Validate, show controller/stash (#853)
* Rename Stake -> Validate, show controller/stash

* Small styling updates

* account -> controller account
2019-03-27 12:10:12 +01:00
Jaco Greeff
1bea7eb2fd
Be explicit in setting session keys, rework controlling (#852)
* Be explicit in keys

* Bump API
2019-03-27 10:59:01 +01:00
Jaco Greeff
f70c1fcf64
Display controller only if no bonding (#851) 2019-03-27 08:54:29 +01:00
Jaco Greeff
a723274f2e
Adjust/remove settings endpoint background (#841) 2019-03-26 09:27:19 +01:00
Jaco Greeff
1bdf3e493e
README package warnings (stop-gap) (#840)
* README package warnings (stop-gap)

* Link to polkadot-js/ui docs
2019-03-25 13:23:58 +01:00
Jaco Greeff
552034c06f
Bump deps (#835) 2019-03-23 20:58:25 +01:00
Jaco Greeff
7123b076ee
Metadata V2 support (#833) 2019-03-23 17:47:52 +01:00
Jaco Greeff
76de50c25a 0.26 2019-03-23 09:02:33 +01:00
Jaco Greeff
9ab3a0b52f
Remove libsodium dependency (#829)
* Remove libsodium dependency

* Replace sodium chunk with @polkadot/wasm-* chunk
2019-03-22 15:31:04 +01:00
Jaco Greeff
5ff5bc02f9
Add derivation path for accounts (#825)
* Add derivation path for accounts

* Create using seed & path
2019-03-21 16:40:03 +01:00
Jaco Greeff
96615d5957
Bump UI, HDKD keyring (new substrate crypto) (#813)
* Bump UI, HDKD keyring (new substrate crypto)

* Bump ui/* versions

* Pull in latest util-crypto, bp39 fix

* Bump common

* Small enhancements, cleanups (testing WIP)

* Bump

* Update after merge

* Bumps, fix transfer calculation (value may be non-existent)

* Bumpo dependencies

* Label extrinsic hash

* Signature updates

* Update deps

* Adjust status display

* Close status items on click

* Update withRouter duplication

* API bump, (some) creation fixes

* Move bip39 out of the worker (fast enough now via WASM)

* Update after master merge

* Cleanup deps (re-write yarn.lock)
2019-03-20 17:06:29 +01:00
Ross Bulat
d7f73b1baf Mobile friendly sidebar, auto hide and show on resize (#818)
* mobile friendly sidebar;

* substrate logo support

* >=

* logo size + node info padding

* polkadot toggle no padding

* padding

* remove padding trans

* tooltip overflow fix

* z-index fix

* simple var names

* remove unneeded state

* menu toggle animation

* menu toggle behaviour

* <Responsive /> + menu toggle

* yarn lock

* <Responsive /> flexbox fix

* scroll-y fix

* stefies-sassy-sidebar-suggestions-submission

* remove lodash

* enums

* apps/constants

* copyright

* literally  literals
2019-03-20 15:34:48 +01:00
Jaco Greeff
0b167e1662 Revert packages to pre-hdkd keyring (to be merged) 2019-03-18 12:49:38 +01:00
Jaco Greeff
476ea4ab8e Revert "Bump deps (#816)"
This reverts commit 58f7940c03.
2019-03-18 12:17:39 +01:00
Jaco Greeff
58f7940c03
Bump deps (#816) 2019-03-14 16:58:40 +01:00
Jaco Greeff
2aae91ee44
Swap to publishing -beta.x on merge (#815) 2019-03-14 14:31:03 +01:00
Jaco Greeff
338bd517a0
Remove /index imports (swap to bare) (#814)
* Remove /index imports (swap to bare)

* Bump deps
2019-03-14 10:45:58 +01:00
Stefanie Doll
142be0ad75 Include isJsonObject util in settings-app (#811)
* Include isJsonObject util in settings-app

* pass full state as State

* Wording error message
2019-03-13 12:31:14 +01:00
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