Commit Graph

1174 Commits

Author SHA1 Message Date
Jaco Greeff
4e4e9514e5
Swap accounts/addresses/staking to CardGrid & Card layout (#1225)
* Swap accounts/addresses to CardGrid & Card layout

* Staking to CardGrid layout

* Staking styling adjustments

* Edit inputs left align
2019-05-28 10:59:15 +02:00
Travis CI
890ae667f7 [CI Skip] 0.33.0-beta.93 2019-05-28 05:32:00 +00:00
Jaco Greeff
0eb050c430
Swap Addresses to grid layout (as in accounts) (#1224)
* Swap Addresses to grid layout (as in accounts)

* Failsafe in cryptotype

* Edit works. Needs to be made generic.

* Address overview + create dialog
2019-05-28 07:25:49 +02:00
Travis CI
f3c603ab2e [CI Skip] 0.33.0-beta.92 2019-05-27 20:31:10 +00: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
Travis CI
1bb275fb15 [CI Skip] 0.33.0-beta.91 2019-05-27 20:16:03 +00:00
Jaco Greeff
f76f1ab594
Account/Address create modals (#1221)
* Account/Address create modals

* Spacing

* Account Create modal (& use by vanity)

* Account Create & Import wired in
2019-05-27 22:09:36 +02:00
Travis CI
23c62c6a1e [CI Skip] 0.33.0-beta.90 2019-05-27 20:06:10 +00:00
Jaco Greeff
c64f3c905a
Small adjustments on staking & mini labels (#1222)
* Small adjustments on staking & mini labels

* Formatting
2019-05-27 22:00:01 +02:00
Travis CI
c342a12310 [CI Skip] 0.33.0-beta.89 2019-05-27 19:29:40 +00:00
Jaco Greeff
83c3f115fd
Render AddressInfo directly from balances.all (#1220)
* Render AddressInfo directly from balances.all

* lint

* Bumps (linting fixes)
2019-05-27 21:23:25 +02:00
Travis CI
62cf91b96f [CI Skip] 0.33.0-beta.88 2019-05-27 10:46:23 +00:00
Jaco Greeff
c41321e30a
Swap AddressSummary for AddressRow (#1212)
* Swap AddressSummary for AddressRow

* Update name/address on change

* Move AddressRow to right
2019-05-27 12:40:22 +02:00
Travis CI
4cd8ab2e94 [CI Skip] 0.33.0-beta.87 2019-05-27 10:29:34 +00:00
Jaco Greeff
5896ba0454
Move balances description to accounts help (#1216)
* Move balances description to accounts help

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

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-27 12:22:41 +02:00
Travis CI
0bff33cbd4 [CI Skip] 0.33.0-beta.86 2019-05-27 09:24:21 +00:00
Thibaut Sardan
e905208f0d
cater for empty unlockings and margin on icon (#1215) 2019-05-27 11:18:21 +02:00
Travis CI
8f6525dcb8 [CI Skip] 0.33.0-beta.85 2019-05-27 08:27:12 +00:00
Jaco Greeff
0c5f76f2ad
Add available balances to transfer modal (#1210)
* Add available balances to transfer modal

* Hide transfer modal

* Fix editing bug

* ... don't hide... yet

* liniting

* Fix broken address search

* Adjust labels (there is space)

* Adjust padding for fees

* Convert fee calculations in transfer app

* Hide all secondary buttons (non-hover)

* Re-apply row padding fix

* ui-reactive labels

* balance -> total

* label, string -> React.ReactNode

* Redeem shows

* Incorporate help messages

* Move transfer

* default AddressSummary size, 64

* Swap to AddressRow... everywhere

* AccountInfo (and use in staking/accounts)

* Modal tweaks

* De-emphasise extrinsic inherent

* Align class name with filename

* Hide AddressInfo (?)'s (for now)

* onEnter saves, closes (name)
2019-05-27 10:20:44 +02:00
Travis CI
66fdd1ced4 [CI Skip] 0.33.0-beta.84 2019-05-27 05:41:23 +00:00
Jaco Greeff
c786d7f199
Tiny copy button (same as edit, full-row action) (#1211) 2019-05-27 07:35:02 +02:00
Travis CI
57b1217f98 [CI Skip] 0.33.0-beta.83 2019-05-24 14:43:51 +00:00
Jaco Greeff
ac1ec089d2 Bump deps 2019-05-24 16:37:43 +02:00
Travis CI
6c2d49b103 [CI Skip] 0.33.0-beta.82 2019-05-24 14:25:02 +00:00
Jaco Greeff
d194e34a6a
Transfer fees calc cleanups (#1209) 2019-05-24 16:18:37 +02:00
Travis CI
8b13fcd6f2 [CI Skip] 0.33.0-beta.81 2019-05-24 13:17:52 +00:00
Jaco Greeff
9d5188cea2
Pull in @polkadot/extension-dapp (#1207)
* Pull in @polkadot/extension-dapp

* State updates via callback

* Remove extra : tags

* Small formatting cleanups
2019-05-24 15:11:51 +02:00
Thibaut Sardan
fc59f53869
Send button on account (#1193)
* starting point

* show all accounts

* edit and save a name but remains ugly

* actually don't use deriveStateFromProps

* fix AdressRow

* indentation

* upperCase

* bring back the index

* trim input

* change edition l&f

* lint

* cater for small screens

* address comments

* lint and alphabetical order

* allow viewing and editing tags

* better UX when tag editing and styling for no tags

* nonce refactoring and show balances

* crypto type

* styling balances

* use css grid

* fix address row and creator

* with buttons

* button styling

* locked tooltip

* edit button always visible

* init

* fix conflicts

* transfer functionnality

* styling the modal

* clean up

* clean up bis

* Transfer dialog enhancements (#1196)

* Button/TxButton submit on enter (#1170)

* Button/TxButton submit on enter

* promise linting

* testing ref approach

* Add TxComponent to handle submit on enter

* remove accountNonce

* remove input ref

* remove TxButton constructor

* remove comment

* empty constructor

* linting

* bug with null ref

* linting

* [CI Skip]  0.33.0-beta.74

* Redirect correctly when user has no account (#1191)

* right link and hide tabs plus buttons primary

* fix comments

* create highlight

* [CI Skip]  0.33.0-beta.75

* Mark ExtrinsicFailed as error (#1190)

* 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

* [CI Skip]  0.33.0-beta.76

* Make enable() call to extensions (#1194)

* Make enable() call to extensions

* It works

* Add overlay for injected (prompt)

* Use signer from injectedPromise

* [CI Skip]  0.33.0-beta.77

* withInjected -> PureComponent (fix new refs) (#1195)

* withInjected -> PureComponent (fix new refs)

* Consume data from context

* Expand injected

* Close modal on tx start

* align fees

* remove blank lines
2019-05-24 13:03:54 +02:00
Travis CI
3e929c1f21 [CI Skip] 0.33.0-beta.80 2019-05-24 09:43:21 +00:00
Bhanu Teja P
f9501aa068 Trim details to the summary, expand shows all (#1197)
* trim details using ellipsis

* fix css

* move styles to global stylesheet

* outline to none
2019-05-24 11:37:11 +02:00
Travis CI
196fc40253 [CI Skip] 0.33.0-beta.79 2019-05-23 13:20:54 +00:00
Jaco Greeff
687c7121e1
Don't display errors on Input with isDisabled (#1189) 2019-05-23 15:12:45 +02:00
Travis CI
3e890a6d6f [CI Skip] 0.33.0-beta.78 2019-05-23 12:22:14 +00:00
Jaco Greeff
cb522a4263
withInjected -> PureComponent (fix new refs) (#1195)
* withInjected -> PureComponent (fix new refs)

* Consume data from context

* Expand injected
2019-05-23 14:16:04 +02:00
Travis CI
fb8b2bf20c [CI Skip] 0.33.0-beta.77 2019-05-23 10:49:38 +00: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
Travis CI
cbc041fce5 [CI Skip] 0.33.0-beta.76 2019-05-22 20:12:48 +00: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
c77c0e63ac
Mark ExtrinsicFailed as error (#1190) 2019-05-22 21:44:30 +02:00
Travis CI
7271144c2d [CI Skip] 0.33.0-beta.75 2019-05-22 18:41:38 +00:00
Thibaut Sardan
fe2fe5718a
Redirect correctly when user has no account (#1191)
* right link and hide tabs plus buttons primary

* fix comments

* create highlight
2019-05-22 18:37:04 +02:00
Travis CI
405d4d6d9f [CI Skip] 0.33.0-beta.74 2019-05-22 16:15:14 +00:00
kwingram25
dc943d7cd6
Button/TxButton submit on enter (#1170)
* Button/TxButton submit on enter

* promise linting

* testing ref approach

* Add TxComponent to handle submit on enter

* remove accountNonce

* remove input ref

* remove TxButton constructor

* remove comment

* empty constructor

* linting

* bug with null ref

* linting
2019-05-22 18:08:58 +02:00
Travis CI
bf81be7f8c [CI Skip] 0.33.0-beta.73 2019-05-22 13:44:48 +00:00
Thibaut Sardan
797c12be3c
Account overview (#1163)
* starting point

* show all accounts

* edit and save a name but remains ugly

* actually don't use deriveStateFromProps

* fix AdressRow

* indentation

* upperCase

* bring back the index

* trim input

* change edition l&f

* lint

* cater for small screens

* address comments

* lint and alphabetical order

* allow viewing and editing tags

* better UX when tag editing and styling for no tags

* nonce refactoring and show balances

* crypto type

* styling balances

* use css grid

* fix address row and creator

* with buttons

* button styling

* locked tooltip

* edit button always visible

* nits cleanup

* lint

* address comments

* try to prevent jump on editing

* no jump when no tags

* tweak for tag jump

* forgot the useless spacer

* align AddressSummary childre top right

* fix key warning and nits

* CSS stuff to align things

* Fix merge gone wrong
2019-05-22 15:38:44 +02:00
Travis CI
8402e26b77 [CI Skip] 0.33.0-beta.72 2019-05-22 13:02:52 +00:00
Thibaut Sardan
791226a2c2 convert and fix alphabetical order on the fly (#1186) 2019-05-22 14:56:42 +02:00
Travis CI
b1247ec9a2 [CI Skip] 0.33.0-beta.71 2019-05-22 10:53:07 +00:00
Jaco Greeff
ef9c59e999
Bump dependencies, prepare CHANGELOG (#1188)
* Bump dependencies, prepare CHANGELOG

* Add yarn.lock
2019-05-22 12:46:44 +02:00
Travis CI
22f4196bc8 [CI Skip] 0.33.0-beta.70 2019-05-21 15:04:48 +00:00
Jaco Greeff
040b4ce106
External account injection & external signing (#1178)
* Allow injection of external accounts (not stored)

* Call external signer

* Bump packages
2019-05-21 16:58:39 +02:00
Travis CI
388c474d72 [CI Skip] 0.33.0-beta.69 2019-05-21 10:14:16 +00:00
Jaco Greeff
846cf56528
Re-add CopyButton on AddressSummary (#1180) 2019-05-21 12:08:27 +02:00
Travis CI
467ede78cb [CI Skip] 0.33.0-beta.68 2019-05-20 12:39:26 +00:00
Jaco Greeff
7a8d868272
Render KV Array with non-overlapping keys (#1154) 2019-05-20 14:33:06 +02:00
Travis CI
35b5381c33 [CI Skip] 0.33.0-beta.67 2019-05-17 16:14:44 +00: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
Travis CI
e8c15e7a69 [CI Skip] 0.33.0-beta.66 2019-05-16 14:21:16 +00:00
Jaco Greeff
5ce23a57c6
Bump API, metadata, new multi & derive, Extinsic/Method (#1172) 2019-05-16 16:15:03 +02:00
Travis CI
1a5e90f86c [CI Skip] 0.33.0-beta.65 2019-05-16 14:08:50 +00:00
Jaco Greeff
47f38e5192
Unlock modal update (#1166)
* Unlock modal update

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

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-16 16:02:43 +02:00
Travis CI
a5e2764244 [CI Skip] 0.33.0-beta.64 2019-05-15 19:36:31 +00:00
Stefanie Doll
a2d0eabf66
Toolbox App RPC method bugfix & cleanup (#1171)
* WIP

* Removed unused code

* Add missing init values to ui-params

* Removed unused import

* Poke Travis

* Removed console.log

* Happy linting

* re-added the unused prevProps
2019-05-15 21:30:26 +02:00
Travis CI
7ffe763317 [CI Skip] 0.33.0-beta.63 2019-05-15 14:17:53 +00:00
Jaco Greeff
7887f56336
Add isMulti param for withCall (#1090) 2019-05-15 16:11:26 +02:00
Travis CI
24c5d8a263 [CI Skip] 0.33.0-beta.62 2019-05-15 13:51:50 +00:00
Jaco Greeff
ab8b1807e7
Bump API, node-template + EventRecord (#1169) 2019-05-15 15:45:38 +02:00
Travis CI
7277258a48 [CI Skip] 0.33.0-beta.61 2019-05-15 06:52:12 +00:00
Jaco Greeff
db9e3d889f
Bump API, EventRecord update (#1167) 2019-05-15 08:46:05 +02:00
Travis CI
951348309f [CI Skip] 0.33.0-beta.60 2019-05-14 15:28:01 +00:00
Jaco Greeff
5f0c9543d6
Don't set isValid on isDiabled (InputNumber) (#1152) 2019-05-14 17:19:17 +02:00
Travis CI
b8968ed1f7 [CI Skip] 0.33.0-beta.59 2019-05-14 09:50:12 +00:00
Thibaut Sardan
634560938a
Fix signing tool (#1157)
* fix input

* remove logs

* with logs

* remove defaultValue

* unlock overlay warning

* address comments

* white space
2019-05-14 11:44:08 +02:00
Travis CI
aff4ce0348 [CI Skip] 0.33.0-beta.58 2019-05-14 09:10:35 +00:00
Jaco Greeff
2596c3c940
Style cleanups (styled & unused) (#1151) 2019-05-14 11:04:49 +02:00
Travis CI
c36d1840a0 [CI Skip] 0.33.0-beta.57 2019-05-14 05:43:56 +00:00
Jaco Greeff
bc15fa8d79
Add ability to second proposals (#1150) 2019-05-14 07:37:55 +02:00
Travis CI
539e0fded5 [CI Skip] 0.33.0-beta.56 2019-05-14 04:49:56 +00:00
Jaco Greeff
8f44ab50aa
Vanity -> styled-components (#1149) 2019-05-14 06:44:03 +02:00
Travis CI
4c70ec80bf [CI Skip] 0.33.0-beta.55 2019-05-13 16:07:07 +00:00
Jaco Greeff
89e77120a7
Allow tags in Account/Address edit (#1142)
* Start of tag input

* Add tags to account edit

* Don't allow edits/tags on dev accounts

* Add tags to address book

* Update description

* Add tags as part of address & account creation

* Linting
2019-05-13 18:01:08 +02:00
Travis CI
73429ecb6b [CI Skip] 0.33.0-beta.54 2019-05-13 15:41:23 +00:00
kwingram25
3e7683b2c0 remove console (#1158) 2019-05-13 17:35:22 +02:00
Travis CI
b06a0e8d5f [CI Skip] 0.33.0-beta.53 2019-05-13 14:55:53 +00:00
kwingram25
ec7d5a1c5f
Add maximum balance button to app-transfer and app-staking (#1076)
* Add maximum balance button to app-transfer and app-staking

* Promise handling

* cleanup

* Use balances.all for max transfer amount

* update max amts with balances.all

* travis ci

* fixes

* merge
2019-05-13 16:49:55 +02:00
Jaco Greeff
573a500cdd
Fix event display indexing & availability (#1144)
* Fix event display indexing & availability

* Key events by when-added key

* BlockInfo passes KeyedEvent
2019-05-13 16:45:56 +02:00
Travis CI
df8a8671e0 [CI Skip] 0.33.0-beta.52 2019-05-13 14:40:34 +00:00
Jaco Greeff
41b426c982
Only show own accounts in controller selection (#1156) 2019-05-13 16:34:27 +02:00
Travis CI
3567c2f618 [CI Skip] 0.33.0-beta.51 2019-05-13 14:17:26 +00:00
Jaco Greeff
343a02c5e5
Disable hot-start global controller query (RPC load) (#1145) 2019-05-13 16:11:04 +02:00
Travis CI
1aeafb9871 [CI Skip] 0.33.0-beta.50 2019-05-13 14:04:58 +00:00
Jaco Greeff
904b07005a
Rework account & address modals (#1143)
* Modal styling

* Update account forgetting

* Swap name prop to AddressRow/Summary to defaultName

* typo

* Backup modal

* Don't allow edit on isTesting accounts

* ChangePassword modal update

* Label help on password labels

* typo

* Create & backup dialog

* Addressbook forget

* Update packages/app-accounts/src/modals/Forgetting.tsx

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

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

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

* Update packages/app-accounts/src/modals/Backup.tsx

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

* Update packages/app-accounts/src/modals/Backup.tsx

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

* Update packages/app-address-book/src/Forgetting.tsx

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

* Update packages/app-address-book/src/Forgetting.tsx

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

* Update packages/app-accounts/src/modals/ChangePass.tsx

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

* Update packages/app-accounts/src/modals/Backup.tsx

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

* Update packages/app-accounts/src/modals/Forgetting.tsx

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-13 15:59:04 +02:00
Travis CI
cc242962a0 [CI Skip] 0.33.0-beta.49 2019-05-13 10:08:03 +00: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
Travis CI
a420cf8a9e [CI Skip] 0.33.0-beta.48 2019-05-13 08:50:47 +00:00
Jaco Greeff
fbbe56e0bd
Only allow ed25519 session keys in modal (#1132)
* Only allow ed25519 session keys

* Add session === stash warnings
2019-05-13 10:44:34 +02:00
Travis CI
1efcd95df5 [CI Skip] 0.33.0-beta.47 2019-05-11 17:39:56 +00:00
Thibaut Sardan
6649c167ac
Group unlocking by era (#1138)
* group unlocking by era

* use reduce

* better names and optimization

* lint

* interpolation

* use an object instead of Map

* empty line before result

* lint.. we'll get there

* address comments
2019-05-11 19:33:43 +02:00
Travis CI
c6f3e37a01 [CI Skip] 0.33.0-beta.46 2019-05-10 17:58:04 +00:00
Jaco Greeff
0681375865
Explorer query updates (#1127) 2019-05-10 19:52:07 +02:00