Commit Graph

96 Commits

Author SHA1 Message Date
Ross Bulat
7b731211ac
sidebar <=> SrcreenSizes (#919) 2019-04-08 20:48:39 +08:00
Ross Bulat
5d24410af2
Styled Theming + media template introduction (#902)
* styled theming + screen sizes

* media templates

* mobile-first with min-width media templates

* media templates as export

* sidebar toggle as styled

* combime theming into styled

* tslinting

* rm meda from ThemeProvider

* spacing

* unnecessary; semi; colons;

* typed media function

* abstract theme primary color

* bye bye styled
2019-04-08 14:02:11 +08:00
Jaco Greeff
ed1e58d9a4
Display session key with stashes (#911)
* Display session key with stashes

* Only display node info when connected
2019-04-07 18:20:02 +02:00
Ross Bulat
9a3489e54f Tabs Simplify and Summary Tidy-up (#885)
* tabs simple

* remove min width

* 3 stats iphone size

* node info media-small

* spacing

* center stat

* iphone SE size summary support

* line-height, safari UI bug

* mob spacing (uhoh, @media queries building up)

*      trailing whitespace

* normalise media breakpoints

* nits

* padding, rem-ing

* trailing whitespace
2019-04-03 16:32:16 +02:00
Jaco Greeff
9fbda732e0
Bump deps, TS 3.4.1 (#874)
* Bump (alice//stash & combined crypto)

* Bump deps, TS 3.4.1

* Updates (after merge)

* Remove @polkadot from versions
2019-03-31 00:19:26 +01:00
Jaco Greeff
27689e8816
ss58 & US language updates (substrate 1.0-rc) (#871)
* ss58 & US language updates

* All Finalised -> Finalized

* Remove unused status

* 0.28

* 0.28
2019-03-29 18:26:18 +01:00
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
Ross Bulat
b097ae8f9a <SummaryBox /> styled component (#830)
* <SummaryBox /> styled component

* remove comment

* apps -> ui-app comment

* rolling back to .css

* rm styled

* styled SummaryBox

* indent
2019-03-24 20:59:29 +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
338bd517a0
Remove /index imports (swap to bare) (#814)
* Remove /index imports (swap to bare)

* Bump deps
2019-03-14 10:45:58 +01:00
Jaco Greeff
7bb5fd0588
Inject react router into content (work-around) (#810) 2019-03-13 13:24:54 +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
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
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
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
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
8ba8e1820b
Wrap SideBar in router (styled-component + old react-router) (#754) 2019-02-22 17:56:57 +01:00
Jaco Greeff
03d7865047
Expand https -> ws connection info (#749)
* Expand https -> ws connection info

* Update NodeInfo.tsx

* Update Connecting.tsx

* Remove apps--App (& Content/SideBar flex embedded)
2019-02-22 08:11:08 +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
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports (#711) 2019-02-13 22:49:10 +01:00
Jaco Greeff
de63d887a1
Adjust collapsed logo top/bottom margings (#708) 2019-02-13 13:53:00 +01:00
Jaco Greeff
f4be787cad
Merge Explorer & Nodeinfo apps (#706)
* Merge Explorer & Nodeinfo apps

* Fix block hash component rendering
2019-02-13 13:42:22 +01:00
Jaco Greeff
147cc185af
Small css adjustments for SideBar sizing (#705) 2019-02-13 12:59:34 +01:00
Stefanie Doll
a69548866b
App-js follow up tasks (#703)
* Bump up yarn.lock

* Clean up examples, added jacos example to storage examples

* Fixed Dropdown

* Update package.json

* resize wip

* css resize fix

* Add line-break after code in exec to prevent catch from  being commented out

* Fixed typo in example

* Formatting

* More formatting

* Added missing semicolon

* Update to use UI signer

* Make visible on sidebar

* Combine some info from samples

* blockPeriod.toNumber() (oops, dropped that, reinstate)

* lifecycle bugfix for duplicate comments

* Kicked Intro, moved info to WRAPPER

* removed leftover <Intro /> import
2019-02-13 12:30:41 +01:00
Jaco Greeff
61674a7989
Add Signer interface for API (#683)
* Add Signer interface for API

* Attach signer to API instance

* Integrate signer with updates (untested)

* Update with working signer integration (logging an issue still)

* Restore console hooks, feedback on signed

* Remove unneeded console.log

* Marge install
2019-02-12 22:29:47 +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
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
0d73b439e2
Settings does not need the API available (#667) 2019-02-01 09:23:30 +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
a8ed300dc4
Small init changes (static state) (#663)
* Small init changes (static state)

* Hide vanity on empty accounts

* Require accounts for apps, cleanup needsApi/needsCalls

* Display InputAddress when disable (but no options)

* Filter toolbox based on accounts

* Accounts gated via app, don't display add

* Cleanup linting

* Validation display & clear on settings types

* Split save for developer & general

* Add Reset button to dev settings
2019-01-31 18:02:47 +01:00
Jaco Greeff
653c2a505f
Basic info display for 123-code (#641)
* Add withCalls

* withCalls operational

* Basic header display & cleanups

* Global account selector for app

* Remove errant debug log

* Simple transfer applet working

* Update Upgrade.tsx

* Update InputNumber.tsx

* Update Transfer.tsx

* Move TxButton back to 123code (for the time being)

* Good enough for a v1
2019-01-27 12:50:47 +01:00
Jaco Greeff
bbb9bb0fee
Move app-rpc into app-toolbox (#637)
* Staking condensed

* Move app-rpc into app-toolbox

* Adjust children rendering (summary)

* Polkadot highlights

* Display most-recent as expanded (explorer)
2019-01-22 13:38:56 +01:00
Jaco Greeff
d3202c79a6
Poll for system_health (keep-alive) (#634) 2019-01-21 17:04:55 +01:00
Jaco Greeff
e86c437e91
Warm up frequently-used subscriptions (#633) 2019-01-21 16:28:12 +01:00
Jaco Greeff
c52116adb9
Don't make storage queries with missing params (#631)
* Don't make storage queries with missing params

* Remove debug logs
2019-01-21 15:05:09 +01:00
Jaco Greeff
864171e00a
Simplify i18n templates (#623)
* Start...

* Complete simplify i18n
2019-01-20 13:14:27 +01:00
Jaco Greeff
45e42047f3
Node status app (#618)
* Structure for app-status (bonus: starting app-template to document)

* Add steps to add a new app from the template

* Follow instructions, ensure we have something working

* README update

* Disable Wiki (for the time being)

* Split last sidebar render helper

* speellung (edit: spelling), AppProps & empty new apps (current)

* app-template -> app-123code

* Status header in-place

* Very basic distus display in place

* Overflow for hash

* app-status -> app-nodeinfo
2019-01-19 22:18:35 +01: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
6611577a86
Move vanity generation to accounts app (#603)
* Bare code move from app-vanitygen

* Dirty, but vanity shows up

* Add directly from vanity
2019-01-15 09:37:35 +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
Jeff Reiner
1a7de5c803 adding in Wiki link to sidebar (#556)
Closes #444
2019-01-11 19:30:55 +01:00
Jaco Greeff
1504b66eeb
Display events created via extrinsic submission (#582)
* Display events created via extrinsic submission

* Global democracy events
2019-01-10 15:58:40 +01:00
Jaco Greeff
501de3c9fd
WS_URL override takes precedence (#566) 2019-01-08 16:45:03 +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
0257eaeae1
Allow custom type registration (#543) 2018-12-29 20:15:04 +01:00
Jaco Greeff
7d853cab13
Large font adjust, 3rem -> 2.75rem (#536)
* Large font adjust, 3rem -> 2.75rem

* Adjust version display (reflect latest published)
2018-12-26 16:19:02 +01:00