Commit Graph

116 Commits

Author SHA1 Message Date
Jaco Greeff
1027afa7e8
Create an overlay for no accounts (#1105)
* Create an overlay for no accounts

* Overlays to the top

* Remove extrinsics, talk about hidden features

* Relocated styled-components

* Dismiss button
2019-05-09 15:45:21 +02:00
Luke Schoen
edce456d15 refactor: Relates to #1060. Consistent top padding across apps (#1077)
* refactor: Relates to #1060. Remove min-height and padding-top from CardSummary for consistent top padding

* fix: Increase top padding across apps

* feat: Add shorter height on mobile devices

* review-fix: Reduce margin between tab items and contents
2019-05-03 18:08:39 +02:00
Jaco Greeff
44483454a7
Bump dev (& fix indents) (#1081) 2019-05-03 15:24:19 +02:00
Jaco Greeff
01eba9476a
Add app dashboard (skeleton) (#1059)
* Add dashboard skeleton

* Populate dashboard

* Space comments

* typos

* Update index.tsx
2019-05-02 13:26:42 +02:00
kwingram25
95a3690c35 Replace withCall -> withCalls (#1021)
* Wiki link

* replace withCall => withCalls

* rv wiki

* fix typing errors -> withMulti

* Fix typing errors

* callOnResult
2019-04-30 16:28:44 +02:00
kwingram25
0c7f1b8924 Sudo app added (#1036)
* sudo app start

* finish sudo app

* console

* split into two tabs, sidebar filtering

* unused SubjectInfo

* Attempt to get sanity into yarn.lock

* Add actual needsSudo to sudo route
2019-04-30 15:52:37 +02:00
Thibaut Sardan
03089f3f01
Rename the "Addresses" app into "Address book" (#1034)
* change addresses to address book

* rename address into contact
2019-04-18 12:27:12 +01:00
Thibaut Sardan
1702226f07
Hide Sidebar scrollbar on Firefox (#1026) 2019-04-17 14:41:11 +01:00
kwingram25
f2133c653b
Wiki link (#1020) 2019-04-15 23:38:35 -07:00
Jaco Greeff
e5f84e8eee
Align collapse button to collapsed center (#1012) 2019-04-13 09:52:46 +02:00
Jaco Greeff
140392a0b6
Center collapsed logo (consistent margin above/below) (#1011) 2019-04-13 09:09:38 +02:00
Jaco Greeff
6265611bab
Don't jiggle sizebar icon sizes (#996) 2019-04-12 17:39:50 +02:00
Jaco Greeff
a2f46dd551
Responsive labels (#995)
* Responsive labels

* Closing

* Update media.ts

* Remove errant log
2019-04-12 14:51:29 +02:00
Jaco Greeff
d40a67d279
Flip switch for contracts (#972) 2019-04-11 16:53:29 +02:00
Jaco Greeff
854a57ea5b
Small css fixes, consistency (#968) 2019-04-11 15:39:44 +02:00
Ross Bulat
c5bb43fde3 Substrate tab theme adjustment (#939)
* 934

* ts
2019-04-11 10:01:34 +02:00
Jaco Greeff
786c4fb01b
Remove sidebar toggle button jumps (#961)
* Remove sidebar toggle button jumps

* Fix width
2019-04-11 09:30:45 +02:00
Jaco Greeff
33591f9254
Cleanup sidebar button coloring (#956) 2019-04-10 21:27:44 +02:00
Jaco Greeff
1a103e9812
Substrate contracts, basics (#928)
* Substrate contracts, basics

* Expand Create & Deploy with placeholder inputs

* Add ABI parsing & validation (re-usable)

* Expand ABI parsing

* WIP, putCode works, deploy in-progress

* Updates for Params & Instantiate (untested)

* Up to call...

* Linting

* Updated

* InputFile & ABI adjustments

* Add ability to attch existing (code & deployed)

* Small cleanups

* Very basic intro

* Hide contracts sidebar entry

* Update README.md
2019-04-10 11:52:34 +02:00
Jaco Greeff
e3b44abaec
Add help overlay for staking (basic intro) (#922)
* Add help overlay for staking (basic intro)

* Allow webpack *.md imports (without TS complaining)

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>
2019-04-08 18:52:44 +02:00
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