Commit Graph

133 Commits

Author SHA1 Message Date
Jaco Greeff
9d76cadeec
Update for new Extrinsic v1/v2 support (#1435)
* Pull era/nonce/signer information for Extrinsic

* Bumop api... here we go...

* Fixup types, only signer is left

* Stub signer

* Apisigner operational
2019-07-22 21:27:17 +02:00
Jaco Greeff
7dd6930163
Display extension info for "create now" overlay (#1430)
* Display extension info for "create now" overlay

* Revert banner sharing

* Lint
2019-07-21 20:18:06 +02:00
Jaco Greeff
083ee86226
Allow passing of endpoint via url (#1382)
* Allow passing of endpoint via url

* Add latest query-string package
2019-07-17 13:46:00 +02:00
Jaco Greeff
8bb35dd9ff
Complete eslint swap (#1407) 2019-07-16 11:56:40 +02:00
Jaco Greeff
144c8bbd85
eslint fixes (round 2) (#1401)
* eslint fixes (round 2)

* ui-params converted

* Tiny.

* Classes fix

* Some type cleanups

* Cleanup traling ,

* < 1k

* Small additions

* <750

* Mini updates modifiers

* More ui-app cleanups

* 312 problems (182 errors, 130 warnings)
2019-07-15 23:17:19 +02:00
Jaco Greeff
0e2265ff70
Some initial pre-eslint cleanups (#1383)
* Some initial cleanups

* Make it lint

* Small s/type/interface/ additions

* Small minor s/type/interface/

* More type -> interface

* Add lint:new rule

* Some small updates

* Cleanup dangling tslint  issues

* Small updates

* ui-signer cleanups

* ui-reactive updated

* Make lint:new run

* Mini ui-params cleanups

* Some additions

* Tiny... and done for now.

* 1950 problems (1241 errors, 709 warnings)

* 1829 problems (1181 errors, 648 warnings)

* 1674 problems (1181 errors, 493 warnings) (no any... for now)

* Small additions.

* Array<T> -> T[] (all)
2019-07-14 22:27:12 +02:00
Jaco Greeff
facf34cc2f
Additional syled-component conversions (#1265)
* Additional syled-component conversions

* Small updates

* Providers to index

* Cleanup linting
2019-06-04 13:30:16 +02:00
Jaco Greeff
ba6b0c6df7
Basic council overview (#1267)
* Cleanup styles for staking

* Basic council members list

* AddressRow adjustments

* Less-spacy rows

* Adjust after merge

* Move accounts to first tranch

* s/council/members/

* Update CardGrid.tsx

* Remove any on styled props

* Small readability tweak
2019-06-04 10:04:14 +02:00
Thibaut Sardan
66eb434e31 Direct link to account creation (#1266)
* create link

* comment
2019-06-03 11:51:08 +02:00
Jaco Greeff
c9f023c1a2
Small overlay adjustments (#1261)
* Small overlay adjustments

* Adjust radius

* Remove unneeded any

* Remove apps/tyles.ts

* Adjust styles, always with close
2019-06-02 16:29:55 +02:00
Jaco Greeff
6ef01c0024
Render AddressRow balances from AddressInfo (#1259)
* Render AddressRow balances from AddressInfo

* Extract BalanceActiveType

* Filtering around AddressSummary children
2019-06-01 08:36:28 +02:00
Jaco Greeff
8fc1be3a27
Disable react-hot-loader (#1257) 2019-05-31 17:30:34 +02:00
Jaco Greeff
5b5ab129d3
Turn SideBar transfer into modal link (#1217)
* Turn SideBar transfer into modal link

* ui--RecentlyOffline badge location
2019-05-27 22:24:59 +02:00
Jaco Greeff
86a767de68
Make enable() call to extensions (#1194)
* Make enable() call to extensions

* It works

* Add overlay for injected (prompt)

* Use signer from injectedPromise
2019-05-23 12:43:39 +02:00
Jaco Greeff
9426ec9c31
Hide edit on injected accounts, Button w/ tooltip (#1192)
* Hide edit on injected accounts, Button w/ tooltip

* Don't display "add tags" when not isEditable

* Indentation
2019-05-22 22:01:55 +02:00
Jaco Greeff
a86f8231d5
Convert to new api.derive (multi-query) functions (#1173)
* Convert to new api.derive functions

* Ensure stashId passed-through

* Bump api

* Update validation details

* Lint fixes

* Bump API

* Drop linked nominator query
2019-05-17 18:08:26 +02:00
Jaco Greeff
343a02c5e5
Disable hot-start global controller query (RPC load) (#1145) 2019-05-13 16:11:04 +02:00
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