Commit Graph

62 Commits

Author SHA1 Message Date
Luke Sugiura
14af62c170 add language options inside app-settings (#1929) 2019-11-23 16:01:35 +01:00
Luke Sugiura
85d64fb0fb Refactor settings handlers with generic high-order function (#1926)
* refactor settings handlers with generic high-order function

* upgrade @polkadot/ui-settings
2019-11-23 12:45:45 +01:00
Luke Sugiura
35c85d8d35 Enable language setting options (#1919)
* translate settings page into Japanese

* enable language setting
2019-11-21 17:10:37 +01:00
Jaco Greeff
e1464b85f9
Adjust with API with explicit registry (#1922)
* Update for latest API (explicit registry)

* Edgeware adjusted types

* Bump API
2019-11-21 17:04:54 +01:00
Jaco Greeff
993a9f635f
Additional samples for types (tuple) (#1732) 2019-10-16 14:06:28 +02:00
Eswara Sai
2a4d761e0f Added parser to extract i18n strings (#1710)
* Added parser to extract i18n strings

* Fixed issues with eslint for config file

* Moved i18n locales to apps/public folder

* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Jaco Greeff
367e135d31
Enable ledger in settings (on capable chains) (#1681) 2019-09-30 17:45:42 +02:00
Jaco Greeff
c3ce788215
More functional components (#1667)
* More functional components

* sudo setKey

* Additional  components
2019-09-26 17:16:56 +02:00
Jaco Greeff
09c45ea3c2
More func. component conversions (#1650)
* More func. component conversions

* Linting updates
2019-09-24 11:42:55 +02:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) (#1649) 2019-09-24 10:00:05 +02:00
Eswara Sai
96f718cd75 Added network modal to select chain (#1642)
* Added network modal to change selection

* Added toggleNetworkModal function
2019-09-23 12:25:13 +02:00
Bhanu Teja P
01271da389 Add relevant icons to top-level buttons (#1618)
* Add relevant icons to top-level buttons

* Add some missing icons

* Add some missing icons

* Add missing icons
2019-09-19 12:57:10 +02:00
Jaco Greeff
2b505a3c13
ss58Format overrides (#1630) 2019-09-18 17:25:13 +02:00
Jaco Greeff
089719c97e
Limit Ledger capabilities per chain (#1629)
* Limit Ledger capabilities per chain

* Linting & Props
2019-09-18 16:20:16 +02:00
Jaco Greeff
a92335aaf4
Ledger support (#1620)
* Ledger support

* libusb dep for CircleCI

* LedgerSigner for signer app

* Bump ui-*

* Extract ledger query

* Ledger support behind ?ledger=... param

* Fix query-string dep

* Bump deps
2019-09-18 10:37:59 +02:00
Jaco Greeff
16d7cec58a
Add Save/Save & Reload combo for settings (#1619)
* Add Save/Save & Reload combo for settings

* Disable ledger with flag (WIP, UI components added)

* Small lint fixes
2019-09-17 10:36:08 +02:00
Jaco Greeff
16fb349f2a
Select icon type (#1614)
* Select icon type

* Fix edgeware node

* Fix node selection dropdown s/}/)/
2019-09-13 20:28:34 +02:00
Jaco Greeff
808ebc8d78
App wrappers -> func (#1591) 2019-09-13 11:22:27 +02:00
Joshy Orndorff
66e7e5549b Correct typo in JSON example. (#1582) 2019-09-03 20:06:57 +02:00
kwingram25
c9790f85d9
useContext instead of withApi (#1579)
* useContext instead of withApi

* types to interface, fixes
2019-09-03 15:00:09 +02:00
Jaco Greeff
ec8be875df
typescript-eslint 2 (#1568)
* Setup for typescript-eslint 2

* Cleanup linting

* Bump ui version

* Exclude build folders
2019-09-01 13:34:56 +02:00
Jaco Greeff
c3f0151746
Make setting URL component re-usable (#1556)
* Make setting URL component re-usable

* Adjust toggle

* Center icons

* Cleanups

* Fix linting

* extract label

* Simplify

* More cleanups

* Readability tweaks
2019-08-29 11:47:11 +02:00
Jaco Greeff
e976d3500d
Add images to chain dropdown (#1553)
* Add images to chain dropdown

* Warp up
2019-08-28 13:54:49 +02:00
Jaco Greeff
66ca8ea61e
Hygiene, some additional type -> interface (#1552)
* Higene, some additional type -> interface

* Liniting
2019-08-28 12:52:48 +02:00
Jaco Greeff
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00
kwingram25
43cb425b56 Vote for council candidates (#1427)
* Change council to collective/elections

* fix proposal type

* package

* Submit candidacy

* update index

* Minor eslint cleanups

* rename back to council

* blank line

* council voting

* interface

* Cleanup

* tslint

* retract vote

* travis ci

* rv console

* SetIndex type

* types.ts SetIndex import

* bump api & fix retractVoter
2019-07-26 12:21:05 +02:00
Jaco Greeff
37da9af44e
Allow selection of address prefix (#1412)
* Allow selection of address prefix

* Revert local prefix change

* Allow vanitygen network flag

* Cleanup linting
2019-07-16 22:31:16 +02:00
Jaco Greeff
8bb35dd9ff
Complete eslint swap (#1407) 2019-07-16 11:56:40 +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
68a523a778
Beauty is in the eye of the beerholder (#1328)
* Beuty is in the eye of the beerholder

* Signer dialog

* .multiple with address

* Transfer wrapper

* Multiple input height

* 2rem -> 1.75rem

* Adjustments for invalid

* Break IdentityIcon out of box

* Small layout adjustments

* Row adjustment

* Remove commented styles

* Remove commented code

* Remove unneeded padding

* Remove unused i81n

* Display messages with input-like styling

* InputFile & Messages overrides

* Adjust input margins (non-flex)

* Center icon

* Adjust labelExtra placement, staking dropdown

* Combine linked lists into one

* Fix developer settings
2019-07-08 22:33:57 +02:00
Jaco Greeff
c76161263b
Small rework of styled (to bottom) (#1310)
* Small rework of styled (to bottom)

* Add isRoot to council
2019-06-19 17:31:31 +02:00
kwingram25
4b7987ae1c
New contracts app (#1283)
* new contracts app

* new contracts app

* test ci fix

* fixes

* fixes

* remove abi inline

* css code card

* icon buttons

* fixes

* fixes cont.

* travis ci fixed

* api version
2019-06-12 13:52:53 +02:00
Jaco Greeff
63c3f8fa8d
Use toggle for custom endpoint (#1274) 2019-06-04 18:01:56 +02:00
Jaco Greeff
2552f20b83
Hide developer settings & democracy propose for light mode (#1141)
* Hide developer settings for light mode

* Hide democracy propose on light
2019-05-13 11:58:19 +02:00
Jaco Greeff
92a6d0c7df
Additional help messages (#1137)
* Additional help messages

* Toolbox

* Update packages/app-settings/src/General.tsx

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* Update packages/app-toolbox/src/Unlock.tsx

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-10 19:33:50 +02:00
Jaco Greeff
bb5cf67d61
Convert some apps to styled components (#1099)
* Move 123code to styled components

* Convert some apps to using styled-components
2019-05-10 14:03:37 +02:00
Jaco Greeff
1a5b0fa0c5
Markdown for the settings app (#1068) 2019-05-07 09:57:46 +02:00
Stefanie Doll
42e5409339
Add link to types docs (#1035)
* removed extra character

* Added link to polkadot/types api docs

* Updated yern.lock

* Add info bubble to labels

* Rollback yarn upgrade

* Removed info link

* Poke travis
2019-04-30 15:22:10 +02:00
Stefanie Doll
c0eda39361 Only register types on save (#1041)
* moved  getTypeRegistry().register(types) to save function

* removed extra character

* Removed extra character

* Added explicit error message

* Change 'no types' type from null to empty object
2019-04-29 17:14:22 +02:00
Stefanie Doll
d92e06ad5f
Upgrade dependencies to match Metadata v4 (#1045)
* removed extra character

* Update dependencies on apps to latest api v4 implementation

* removed deps from root

* Added changelog & updated lerna.json

* downgrade rxjs dependencies

* downgrade rxjs dependencies pt. 2

* Fix dependency mess-up

* Fix dependency mess-up pt. 2
2019-04-26 08:54:10 +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
eee4432a0a
Add hover help info for status dialogs (#893)
* Add hover help info for status dialogs

* Cleanup intentions -> waiting (actual nextup count)

* Format offline blockNumber
2019-04-05 11:46:28 +02:00
Jaco Greeff
a723274f2e
Adjust/remove settings endpoint background (#841) 2019-03-26 09:27:19 +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
Stefanie Doll
74479ab1df
Add active setting to SUI <Tab> (#821) 2019-03-19 18:23:29 +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
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
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