Commit Graph

162 Commits

Author SHA1 Message Date
Jaco Greeff
65fae72921
s/available/transferrable/ (#1827)
* s/available/transferrable/

* Add missing DerivedBalances fields
2019-11-01 17:45:43 +01:00
Jaco Greeff
df095c2829
Staking updates (#1815)
* Staking updates

* Bump API

* So currentElected first in next up

* Linting

* Remove unused state entries
2019-10-30 15:53:52 +01:00
Jaco Greeff
c6beca5a4c
Update council candidate refresh (#1790)
* Display council voters

* Show voting stake

* Adjust AddressMini widths

* Swap to (mostly) AccountIndex display

* Create modals (no default opacity)

* Trigger PR build
2019-10-28 16:24:34 +01:00
Jaco Greeff
e7279751e5
Set genesisHash on toggle (#1778) 2019-10-27 16:48:48 +01:00
Jaco Greeff
2a874e4dd9
Support electionsPhragmen (#1768)
* Support electionsPhragmen

* Base voting

* Allow voting
2019-10-26 18:52:21 +02:00
Jaco Greeff
ac854e4d2c
Only trim name on create (#1756) 2019-10-24 11:10:19 +02:00
Jaco Greeff
a1bd658ee0
Convert transfer to functional (#1735)
* Convert transfer to functional

* Cleanup extra amount addition

* Cleanup unused
2019-10-21 12:40:49 +02:00
Jaco Greeff
37362f0bf6
Expand derivation placeholder to include password (#1742) 2019-10-18 14:15:31 +02:00
Jaco Greeff
5d7c2f1433
Fix typos (#1724) 2019-10-15 10:06:58 +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
1c091ca09a
Create dialog func. conversion (#1675)
* Create dialog func. conversion

* Fix linting issues

* Small testing updates

* adapt soft checks
2019-10-03 10:50:26 +02:00
Jaco Greeff
f67058e4c0
Cleanup InputAddress export, proper props (#1673) 2019-09-27 12:29:30 +02:00
Jaco Greeff
5ee21ae275
Staking performance updates (#1670)
* Staking performance updates

* More default on props
2019-09-26 22:21:16 +02:00
Jaco Greeff
12d13f4451
Remove stray console.log 2019-09-26 20:55:16 +02:00
Jaco Greeff
b66354781e
Remove backup, delete from dev accounts (#1665) 2019-09-26 11:45:29 +02:00
Jaco Greeff
f33b4b7f91
Rework js-app with func. components (#1651) 2019-09-24 13:33:49 +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
Jaco Greeff
a9cd43c8f0
Some more func component conversions (#1639) 2019-09-20 12:04:58 +02:00
Jaco Greeff
a66577eda4
More functional component conversions (#1633)
* More functional component conversions

* Cleanups

* functional Elapsed

* Status -> functional

* Couple more

* One more tiny one
2019-09-19 17:57:32 +02:00
Jaco Greeff
a32ad5ef09
Change all Cancel buttons to isNegative (#1636) 2019-09-19 14:44:48 +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
f35b2d4428
Update fees, mortal & tips (#1590)
* Update fees, mortal & tips

* Linting

* Revert findCall

* Fix fee calculation (take version byte  into account)

* Remove MAX (weights), add weight note

* does not *
2019-09-18 14:53:51 +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
72f803926f
Some small component conversions (#1581)
* Some small component conversions

* Default exports

* Squashing

* Some additional components

* Linting
2019-09-13 10:29:44 +02:00
Jaco Greeff
514d99894d
Bump deps (#1603) 2019-09-12 16:32:40 +02:00
Jaco Greeff
2aa446be8c
Fix import open (#1596) 2019-09-09 08:22:18 +02:00
Jaco Greeff
65a9d91ad0
Collapse unbonding, hover expands all at once (#1589)
* Collapse unbonding, hover expands all at once

* Return null (not 0)

* Linting
2019-09-06 15:53:21 +02:00
Jaco Greeff
86b8954b1c
Mobile signer support (via Qr) (#1583)
* Add external accounts via Qr

* WIP on signing

* And we are off to the races

* Add qr state

* Name checks

* Bump deps
2019-09-06 14:35:52 +02:00
Jaco Greeff
b785c8acf2
genesisHash accounts toggle (#1573)
* genesisHash accounts toggle

* Bump deps

* Adjust toggle colors

* Use Api context

* Add genesisHash to addresses (on by default)
2019-09-03 16:26:03 +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
ceedb44699
Edgeware support (#1577)
* Add edgeware types to the base

* Fix edgeware type imports

* Swap calcSignLength to BN result

* Don't allow max to go negative
2019-09-03 12:46:05 +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
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +02:00
kwingram25
2752bedc6e
Functional components (app-*) (#1559)
* Functional components (app-*)

* refactor

* refactor

* refactor

* refactor

* refactor

* Revert "refactor"

This reverts commit 300a12ed7de5b1000f32f5269dff67f5ee1c1515.

* onRemove
2019-08-29 17:45:02 +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
f0b13f70be
Fix derive for ///password (#1533)
* Fix derive for ///password

* Bump deps
2019-08-25 13:42:18 +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
Jaco Greeff
b4de745cda
Support latest api (with dynamic types) (#1447)
* Make a start, halfway down with issues found...

* Around  80% through untangling  the linter

* Seems linted...

* Adjust latest

* Update for latest (Moment -> u64)

* Method -> Call

* Bump api from npm

* formatNumber (no unwrap needed)

* Update to latest ui packages

* Revert internal version downgrades
2019-07-29 12:24:43 +02:00
Thibaut Sardan
3465c88b06 add --withCase to vanitygen cli (#1420)
* add caseSensitive

* with types

* alphabetical order
2019-07-19 13:11:49 +02:00
Jaco Greeff
699af2f413
Show banner to prompt extension install (#1414)
* Show banner to prompt extension install

* Updated, slightly better looking

* Update packages/app-accounts/src/Banner.tsx

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

* trim

* Full bar, limited text width
2019-07-18 10:22:15 +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
ea829237de
eslint cleanup (as unknown as State -> Pick<State, never>) (#1405) 2019-07-15 12:36:17 +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
012eb9e7b2
vanity cli updates (#1400)
* vanity cli updates

* Cleanup assertion

* any[]
2019-07-14 20:41:07 +02:00
Jaco Greeff
d97e27e1c1
Allow cli vanitygen mnemonic (#1384) 2019-07-12 13:18:53 +02:00
Jaco Greeff
b056f5a239
Fix passing numbers (e.g. 12345), to vanitygen cli (#1380)
* Fix passing numbers (e.g. 12345), to vanitygen cli

* Default to sr25519
2019-07-11 06:08:34 +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