Commit Graph

124 Commits

Author SHA1 Message Date
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +02:00
Jaco Greeff
51bceafb03
JSON v3 support (#3256)
* JSON v3 support

* Update deps

* isBusy adjustments

* Cleanup import

* Linting

* trigger

* Derive fixed, remove unused styles

* Backup adjustments

* Overlay & spinner ordering
2020-07-24 10:17:14 +02:00
Jaco Greeff
626bb1202f Add poll to Governance 2020-07-17 18:09:18 +02:00
Jaco Greeff
5d08516555
Inspect batch/limited calls (#3220)
* Inspect batch/limited calls

* Remove TODO
2020-07-17 17:11:39 +02:00
Jaco Greeff
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
7c309b7ee5
Bump API, new ProxyType support (#3107) 2020-07-01 18:11:54 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
97150f82c2
Cleanup peer deps (#3048)
* Cleanup peer deps

* Fix spinner size
2020-06-25 12:53:48 +02:00
Jaco Greeff
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +02:00
Jaco Greeff
176c7e9e8b
API bumps & small block display adjustment (#3025)
* API bumps & small block display adjustment

* Adjust for new multisig metadata

* Staking table badge class
2020-06-22 12:10:56 +02:00
Jaco Greeff
e775b350af
Revert spinner margin adjustments (#2996)
* Revert spinner marging adjustments

* Remove extra div
2020-06-20 08:52:39 +02:00
Jaco Greeff
0f18e88022
Introduce signer busy (QR dupes) (#2994) 2020-06-20 08:23:42 +02:00
Jaco Greeff
c5e5814585
Math sudo on wrapped balances (#2976)
* Math sudo on wrapped balances

* Cleanup filter

* Single filter
2020-06-17 17:48:13 +02:00
Jaco Greeff
02deef39d7
Filter proxies by held accounts (#2975) 2020-06-17 17:03:28 +02:00
Jaco Greeff
2e427e90e7
Multisig calls with weight (#2957)
* Multisig calls with weight

* approveAsMulti args check
2020-06-17 12:49:56 +02:00
Jaco Greeff
0973bf2aa5
Split sign/send for UI updates (#2971)
* Add ProxySigner (update wrapper)

* setTimeout(1)

* Split sign & send parts
2020-06-17 12:32:25 +02:00
Jaco Greeff
5b9cf5ba2a
Clear proxy/multisig state (#2963)
* Clear old state between use

* Patch

* Check tx outside multisig call

* Set key for modal
2020-06-16 11:15:11 +02:00
Jaco Greeff
9da6b40024
Add proxied accounts, fix multisig cancel (#2958)
* Add proxied accounts, fix multisig cancel

* Multi toggle hides input

* Modal description
2020-06-15 15:51:55 +02:00
Jaco Greeff
fc5e75f01e
Alert for multisig approvals (#2953)
* Alert for multisig approvals

* Trigger on multisig events

* Allow display/submission of call data
2020-06-15 09:23:40 +02:00
Jaco Greeff
601ae6da08
Toss creaky signer Modal, revamp (#2933)
* Toss creaky signer Modal, revamp

* WIP

* WIP

* WIP

* WIP

* Basics seem working

* Adjust layout

* WIP

* Cleanups for unsigned

* Unsigned

* Start at signing-only

* Signing should be ok

* Signing operational

* Remove old modal

* Update packages/react-signer/src/Modal/TxSigned.tsx

* JS app integration

* Small styling adjustments

* Prelim proxy support

* Proxy on/off switch

* isProxyActive

* Multi + Proxy ordering (& testing)

* Proxy with multisig

* Remove debug logs

* Qr with 2 column layout

* Padding adjustments

* Cleanups

* Cleanup PaymentInfo

* Generic asset cleanup

* flatten

* Don't save latest values when filter is active
2020-06-14 18:59:22 +02:00
Jaco Greeff
df9478807a
Cater for as_multi with storing argument (#2922) 2020-06-10 14:46:59 +02:00
Jaco Greeff
63139f1519
0.44 (#2917) 2020-06-10 11:34:11 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
b713686aac
Re-encode others in signatories (#2909) 2020-06-09 14:32:25 +02:00
Jaco Greeff
be3aefd524
Re-encode who addresses (align with settings) (#2908)
* Re-encode who addresses (align with settings)

* Don't display password for external signatories
2020-06-09 13:50:01 +02:00
Jaco Greeff
a550b27282
Filter signatories based on outstanding approvals (#2901) 2020-06-08 14:52:10 +02:00
Jaco Greeff
dc7b4cb449
Multisig final detection (#2900) 2020-06-08 11:25:21 +02:00
Jaco Greeff
d5c6ecae28
Multisig in multisig or utility (#2895)
* Multisig in multisig or utility

* yarn.lock
2020-06-07 22:11:41 +02:00
Jaco Greeff
aa26694c76 Adjust qr size limit upwards 2020-06-03 21:22:45 +02:00
Jaco Greeff
575d6b439e
Bump API (#2875)
* Bump API

* Update consts
2020-06-03 16:29:44 +02:00
Jaco Greeff
c61fc5438b
Enable hashing for large payloads (#2851)
* Enable hashing for large payloads

* max size 4000

* Optimize hashing/conversion (only once)
2020-06-02 16:58:38 +02:00
Jaco Greeff
4a6d6c3124
genesisHash in QR (#2833)
* genesisHash in QR

* Bump UI
2020-05-27 18:07:00 +02:00
Jaco Greeff
8e30a8620e
Protect paymentInfo (#2811) 2020-05-26 09:08:36 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
6f4a8a4240
Refresh signatory between items (#2717) 2020-05-11 17:47:42 +02:00
Jaco Greeff
36f82cd4b1
Default to multisig approval first, call last (#2708)
* Default to multisig approval first, call last

* Reset multiCall to default between (update helper text)
2020-05-08 13:09:33 +02:00
Jaco Greeff
c72aa99195
Adjust signer modal with Columns (#2662)
* Adjust signer modal with Columns

* Small multisig adjustments
2020-04-30 14:24:53 +02:00
Jaco Greeff
fdd8374646
Small modal columns adjustment (#2659)
* Small modal columns adjustment

* Remove Button.Or

* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
1d80feaae5
Qr fix, scanning display (#2641)
* Qr fix, scanning display

* Don't display or
2020-04-27 20:57:17 +02:00
Jaco Greeff
1308ceb6c4
Move sending status to earlier in signer (#2638) 2020-04-27 17:00:55 +02:00
Jaco Greeff
8fc88eff66
Allow multisig asApproval via signer (#2634) 2020-04-26 14:30:39 +02:00
Jaco Greeff
e3400f7206
Multisig support (#2623)
* Multisig support

* Testing, sorting with timepoints

* Re-add

* lint (import fix)

* case-sensitive import
2020-04-24 20:30:08 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall (#2549)
* Cleanup "as any" on derive with useCall

* Alignment
2020-04-11 11:43:21 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts (#2509)
* UI support for simple payouts

* payout modal

* Adjust with era filtering

* Slow as molasses, but seems working

* Adjust th vertical alignment

* Bump API

* Update

* Cleanup reward retrievals

* linting

* Bumps

* Some rendering optimizations

* Re-add counter

* Fix new header linting

* Actual API bump

* Bumps

* Adjustments

* Adjust payouts as stand-alone tab

* Adjust nominations

* rm unused style

* change offsets

* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types (#2478)
* Combine status event types

* Adjust some tables

* Adjust targets
2020-03-29 10:04:21 +02:00