Commit Graph

322 Commits

Author SHA1 Message Date
Lowhearth
27292b9794 Adjusted article padding and corrected Row's buttons position (1465) (#1469)
* Adjusted article padding and corrected Row's buttons position. Fixes #1465

* Corrected name-input overlapping account's id when editing

* Adjusted Row-buttons to keep bottom margin consistent and added name ellipsis.

* Removed buttons height to prevent bottom div displacement.
Adjusted text-wrap to work with spaces
2019-08-06 11:24:45 +02:00
Jaco Greeff
bf75e3c545
Bump deps, Extrinsic v3, Babe authors (#1470)
* Bump deps

* react-i18next
2019-08-03 19:14:31 +02:00
kwingram25
07e79097ff collective => council (#1462) 2019-08-02 13:51:07 +02:00
Xiliang Chen
84f1fe4701 Fix isEmpty (#1464) 2019-08-01 23:59:19 +02:00
Jaco Greeff
771720ecdb
Bump API for working DoubleMap (#1460) 2019-07-31 14:11:12 +02:00
kwingram25
f3d158662a
Support Double Map on app-storage (#1457)
* DoubleMap support

* InputStorage support

* fixes

* merge props and created values

* rv console
2019-07-30 15:34:00 +01:00
WoeOm
d26ea40651 Fixed InputNumber.tsx bnToInputValue convert bug (#1450)
* get mod length before convert to bignumber

* add semicolon
2019-07-29 12:57:43 +02:00
kwingram25
e8a02b754b Add tip to signer (#1448)
* Add tip to signer

* preserve payload.tip

* add tip to block explorer

* toBn

* caps

* deps

* greater than zero
2019-07-29 12:49:43 +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
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
424729d617
Bump api (support &[u8]) (#1443)
* Bump api (support &[u8])

* Invalid TX updates via failed callback

* s/moirtality/lifetime/
2019-07-24 13:14:31 +02:00
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
3dcecab60e
CardSummary number format adjustment (#1425) 2019-07-19 22:48:28 +02:00
Jaco Greeff
e13d79e10a
Parity Signer QR support (#592)
* Pull in first bits from old branch

* Extract styles

* Update for eslint

* Bump deps, react-qr-reader

* remove wrapped component, only QR{Display, Scan}

* Multipart display

* Track updates via xxhash

* Address display & scanning

* Bump deps

* DisplayExtrinsic -> DisplayPayload

* Rewrite yarn.lock

* Bumps

* Add direct string <-> u8a conversion utils

* Use encodeString everywhere

* Update deps

* Bump deps (final round, can  merge now)
2019-07-19 13:47:52 +02:00
Jaco Greeff
77689fba59
Constant queries (#1419)
* InputConsts dropdown

* Bumps

* 2. x Constants explorer
2019-07-18 18:01:36 +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
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
kwingram25
a7791a8e69 Submit candidacy (#1402)
* Change council to collective/elections

* fix proposal type

* package

* Submit candidacy

* update index

* Minor eslint cleanups

* rename back to council

* blank line
2019-07-15 22:42:17 +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
4632c304cb
Fix static params display (#1404)
* Fix statis params display

* Remove stray log
2019-07-15 08:53:23 +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
kwingram25
e9b5f72e8b
Change council to collective/elections (#1398)
* Change council to collective/elections

* fix proposal type

* package
2019-07-14 20:26:32 +01:00
Jaco Greeff
babd33bc34
Bump deps (#1399)
* Bump deps

* Cleanup assertion

* Bump API, contract fn params
2019-07-14 18:58:29 +02:00
kwingram25
fee32b2cd5
Mortal/immortal extrinsics (#1393)
* show mortality

* NodeInfo

* NodeInfo
2019-07-12 15:11:34 +01:00
Thibaut Sardan
4205907b7c Fix for democracy overflow and signing (#1379)
* unlock-signing-fix

* overflow in referenda and motions

* revert

* sign fix bis

* alphabetical order
2019-07-12 00:46:08 +02:00
Jaco Greeff
bde6a6ad64
Cleanup linked inputs (#1377)
* Cleanup linked inputs

* Cleanup linting

* Fallback for possibly undefined, no clue - https://github.com/polkadot-js/apps/issues/1375

* public accesibility (eslint requires these)
2019-07-10 22:59:16 +02:00
kwingram25
e691868d76
Council motions (#1358)
* council motions

* continue

* council motions > propose

* travis ci

* latest api

* add council votes, proposal views

* linting

* remove settings

* new yarn.lock

* base-x

* Only pick text-transform from Labelled changes

* collapse voting view, aye/yay

* move button

* lint

* fixes

* approve <details> tag

* aye/nay lists
2019-07-10 17:49:46 +01:00
Thibaut Sardan
42e0baf332 Bonded and available as labelExtra in Staking > bond more funds (#1371)
* bonded and available

* alphabetical ordering

* keep only available, +10% opacity for label and labelExtra

* lint
2019-07-09 17:25:06 +02:00
Jaco Greeff
c00ec5a470
Basic parachains app (#1338)
* Parachains structure

* Basic display

* Bump API

* Treasury/Parachains ordering

* Update for latest Column changes
2019-07-09 10:36:24 +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
Amaury Martiny
f4fc0648d8
Upgrade api to use MetadataV6 (#1354)
* Upgrade to latest api

* Add polkadot/keyring

* Rename StorageEtnry
2019-07-03 11:21:02 +02:00
kwingram25
f21de3dd1c
ActionItem component for responding to proposals (#1351)
* ActionItem

* rearrange
2019-07-01 18:00:26 +01:00
Thibaut Sardan
81c89bd78d
Fixes for democracy display (#1353)
* fix chart display

* fix description overflow

* alphabetical ordering and cleanup
2019-06-30 10:42:28 +02:00
Thibaut Sardan
b2f6d87de1
Use empty props from CardGrid (#1304)
* empty for account, addressbook

* staking empty screen

* use multi only when values changed

* lint

* withCall paramPick transform

* use paramPick and log things

* swap logging

* Display getMethod errors in withCall

* Remove nested try

* Use updateDb to trigger an update

* fix bonding

* Revert ifs

* Update call.tsx

* lint

* stray logs
2019-06-29 10:02:58 +02:00
Jaco Greeff
431f219709 Create account cleanups (#1340)
* Creqate account cleanups

* No need for noop
2019-06-27 10:14:52 +02:00
kwingram25
b74755bbaa
Treasury app (#1324)
* treasury app

* fixes

* more fixes

* treasury app

* fixes

* more fixes

* fixes + collections

* force travis
2019-06-25 15:20:53 +01:00
Jaco Greeff
f9a28fc6ea Remove all tags on create dialogs (#1348) 2019-06-25 15:15:08 +01:00
Jaco Greeff
e7dbb1a0ca
Use getDerivedState for Chart (and kick the can...) (#1320)
* Use getDerivedState for Chart (and kick the can...)

* Update Doughnut.tsx

* Update HorizBar.tsx
2019-06-21 17:31:12 +02:00
Jaco Greeff
479d5bb8bf
ui-keyring & api updates (#1326)
* ui-keyring & api updates

* Rewrite yarn.lock (pin @types/styled-components)
2019-06-21 16:44:55 +02:00
Jaco Greeff
31a78cef00
Fix extrinsics app [object Object] (#1319) 2019-06-19 21:33:41 +02:00
Jaco Greeff
9295fb060f
Horizontal bar layout for referendum results (#1317)
* Initial stab, gremlins remain

* It is ok.
2019-06-19 18:15:53 +02:00
Jaco Greeff
b497f5599a
Seconding modal (#1313)
* Seconding modal

* Add voting modal, adjust button placement
2019-06-19 15:56:53 +02:00
Jaco Greeff
53339e5f1b
Democracy layout changes (#1309)
* Democracy layout changes

* Select democarcy.propose as default

* Revert default, blonde moment

* Remove min-height for ui--Card

* Extract Item styles

* Extract all styles into styled-components

* lint hack

* Update Row.tsx

* Update Address.tsx

* Small layout cleanups
2019-06-19 13:13:48 +02:00
Jaco Greeff
51e188d4f6
Filter modules (query & storage) without methods (#1311) 2019-06-19 08:25:50 +02:00
Thibaut Sardan
096b3fa944
CSS fixes (#1300)
* colum for accounts

* wrapping trick for chrome
2019-06-17 20:51:31 +08:00
Jaco Greeff
957e210043
Default proposal/sudo for new 2.x substrate (#1296) 2019-06-16 07:10:59 +02:00
Thibaut Sardan
6749d694cc Use AddressCard (#1295)
* use addressCard

* alphabetical
2019-06-15 12:29:45 +02:00
Jaco Greeff
28c5a83809
Bump API (new api-contreacts, new typings) (#1297) 2019-06-15 11:55:38 +02:00
Thibaut Sardan
c9c88c3bff
Fix nits from previous PRs (#1292)
* spacer

* address in lower case

* bring back names in staking overview

* lint

* uppercase only for names

* remove type in AddressCard

* same fix for council members

* reflect selection in setRewardDestination

* nowrap on edit and copy icons

* nit comment
2019-06-14 18:20:55 +08:00