Jaco Greeff
682e6de4bd
Allow enter to submit on signer ( #3628 )
...
* Allow enter to submit on signer
* Rewrite
2020-09-07 09:17:38 +02:00
Jaco Greeff
7e2bc73ead
Fix new/old proxy detect (args length) ( #3592 )
2020-09-02 08:34:25 +02:00
Jaco Greeff
0ed89585fc
Support for time-delay proxy params (defaults) ( #3358 )
...
* Support for time-delay proxy params (defaults)
* All proxy queries adjusted
* Proxy extraction
* Re-use proxy map
* Update after testing
* Cleanups
* Typ detection based on args
* CHANGELOG
2020-08-10 19:07:12 +02:00
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
Jaco Greeff
cdd9b5bd56
Bump API (derived type naming updates) ( #2465 )
2020-03-27 16:05:20 +01:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks ( #2463 )
...
* Exhaustive hooks
* selectUrl screw-up
* Adjust name badge
* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Jaco Greeff
ae3839a39f
Additional React.memo exports ( #2456 )
...
* Additional React.memo exports
* rm app-transfer artifacts
2020-03-25 12:30:19 +01:00
Jaco Greeff
c3d8a0be0b
Expander with optional meta ( #2452 )
2020-03-24 11:35:28 +01:00
Jaco Greeff
b9ebb3e175
Convert <details> to <Expander> ( #2441 )
2020-03-23 13:12:19 +01:00
Jaco Greeff
22fd0e2db1
Add support for new democracy ( #2432 )
...
* Add support for new democracy
* Add missing VoteValue component
* Signer unlock autoFocus by default
* Bump deps
2020-03-22 11:59:11 +01:00
Jaco Greeff
ac8ee10120
Update API to new jsonrpc structures ( #2420 )
2020-03-20 07:04:40 +01:00
Jaco Greeff
c912974868
Revert Kusama hack ( #2409 )
2020-03-18 01:06:07 +01:00
Jaco Greeff
fb60f89582
Bump API (+ small fixes) ( #2410 )
...
* Bump API (+ small fixes)
* Actual API bump
2020-03-18 00:46:20 +01:00
Jaco Greeff
ee62406170
Close signer dialog via console
2020-03-17 22:01:35 +01:00
Jaco Greeff
34e12b70a5
HACK for Kusama
2020-03-17 20:18:49 +01:00
Jaco Greeff
e97868348b
React.memo-ize more func. components ( #2389 )
...
* React.memo-ize more func. components
* Rework status display determination
* isApiReady &&
* ApiSigner private class interface
* readonly #
* Remove isPrimary on council vote
2020-03-15 12:11:59 +01:00
Jaco Greeff
2b534fc1fb
Additional wrappers via React.memo ( #2377 )
...
* More React.memo
* Last non-memo functional components in staking
2020-03-12 15:45:59 +01:00
Jaco Greeff
304dab95cc
Add React.memo to some components ( #2375 )
...
* Add React.emomo to some components
* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
723f4d6487
ProposalCell with top alignment ( #2353 )
...
* ProposalCell to top
* Cleanup docs formatting
2020-03-09 08:02:27 +01:00
Jaco Greeff
6a9bfd4b31
Claim staking rewards ( #2332 )
...
* Claim staking rewards
* setHasUnclaimedRewards
* Staking payouts are batched
* Rework signing dialog with summary
* Remove isFull on password
* Highlight important bits
* Bump api
* Bump
* Direct payout click
* Fix build
2020-03-05 21:53:57 +01:00
Jaco Greeff
e1725e3ebb
Bump API ( #2278 )
...
* Bump API
* Adjust status colors
* Add missing types (change status colors)
2020-02-14 16:57:54 +01:00
Jaco Greeff
efd0e727d1
Bump API ( #2224 )
...
* Bump API
* Type adjustments
* Update zero const
2020-02-02 11:03:20 +01:00
Jaco Greeff
5d9161d6df
0.39 ( #2220 )
...
* 0.39
* Linting
2020-01-31 16:52:38 +01:00
Marcin Żółkiewski
be7e293d28
Expose signed transactions ( #2203 )
...
* sign offline WIP
* signing transactions from extrinsics screen
* signing tx from accounts screen
* added translations
* removed unnecessary value
* removed console logs
* removed unused import
* used new signAsync method
* fixed types
* removed unused imports
* added missing translations
* code review changes
* fixed signing with local account
* added sign toggle
* improvements for QR
2020-01-31 16:13:56 +01:00
Jaco Greeff
0aef5f3b72
Signer unlock password indicator ( #2190 )
...
* Signer unlock password indicator
* Combine UnlockError in Unlock
2020-01-24 11:50:26 +01:00
Jaco Greeff
97b927ba99
Adjust SI formats to full SI name ( #2184 )
...
* Adjust SI formats to full SI name
* Linting
2020-01-23 16:40:53 +01:00
Jaco Greeff
9771dc1644
Remove last css files (all styled-components) ( #2168 )
...
* Additional css -> styled
* Apps class prefix renames
* Remove last css files
* Cleanup linked wrapper
2020-01-22 12:36:10 +01:00
Jaco Greeff
1d5a756b69
Auto-add Button.Group inside Modal.Actions ( #2165 )
...
* Auto-add Button.Group inside Modal.Actions
* Pass onCancel prop through to Modal.Actions
* Cancel rendering in contracts
2020-01-21 17:34:34 +01:00
Jaco Greeff
8e971ef7eb
Use ButtonCancel for all Cancel-only buttons ( #2164 )
...
* Use ButtonCancel for all Cancel-only buttons
* Small cleanups
2020-01-21 15:47:44 +01:00
Jaco Greeff
18af907070
Set Modal default to open ( #2157 )
2020-01-20 15:30:25 +01:00
Jaco Greeff
be79bbc325
Additional useTranslation ( #2118 )
...
* Additional useTranslation
* Cleanup imports
* Cleanup unused props
2020-01-15 21:14:47 +01:00
Jaco Greeff
90c1f97b95
Payment info display ( #2003 )
...
* Payment info display
* Bump deps
* Fee display
2020-01-09 15:56:32 +01:00
Jaco Greeff
562e11dc06
Bump deps ( #2091 )
2020-01-06 16:16:50 +01:00
Jaco Greeff
15bd35fd90
Add useTranslation for all apps ( #2076 )
2019-12-19 11:08:21 +01:00
Jaco Greeff
6c58db0187
Small cleanups on withCalls ( #2040 )
...
* Fixups
* More
* Some withCalls -> useCall
* Linting
* Always defined
* Re-apply democracy changes
* TimePeriod adjusted
* Cleanup imports
* Additional
* More conversions
* Small loading cleanups
* Small context updates
2019-12-13 15:55:15 +01:00
Jaco Greeff
406a505871
Add ErrorBoundary component ( #2026 )
...
* Add ErrorBoundary component
* Decode call via effect
* Cleanups
2019-12-10 11:30:40 +01:00
Jaco Greeff
2f899cef4d
Add header prop on Modal ( #2025 )
...
* Add header prop on Modal
* Bump API, fixed electionsPhragmen
* s/HEADER/header/
2019-12-09 23:35:12 +01:00
Jaco Greeff
5b9be93aa7
Bump API (Polkadot frame-identity types) ( #2024 )
...
* Bump API (Polkadot frame-identity types)
* Typo
2019-12-09 21:13:39 +01:00
Jaco Greeff
dafea25972
Allow voting on treasury page ( #2019 )
...
* Allow voting on treasury page
* More re-usable voting components (a start)
* Ficup imports
* Adjust modals
* Bump API
2019-12-09 17:54:57 +01:00
Jaco Greeff
cf32e931ab
Revert _000 (Babel seem to have issues in dev) ( #2002 )
2019-12-05 14:10:18 +01:00
Jaco Greeff
5d2ba215f8
Remove fees untin paymentInfo is usable ( #1923 )
2019-11-21 21:42:17 +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
c337e4dacb
Show rotate keys (as available) ( #1906 )
2019-11-18 16:44:37 +01:00
Jaco Greeff
c3e16ac040
s/useApiContext/useApi/ ( #1900 )
2019-11-16 20:21:46 +01:00
Jaco Greeff
c167227845
Add useApiContext ( #1890 )
...
* Add useApiContext
* Add missing withApiContext import
* useCacheKey, rename headers
* Adjustment on sessionRewards naming
* Renames based on defacto standards
2019-11-15 10:51:12 +01:00
Jaco Greeff
2663a4259c
Bump API, display vested ( #1883 )
...
* Bump API, display vested
* Add isVesting to constants
2019-11-14 18:52:01 +01:00
Keith Ingram
7e65066d18
Functional InputNumber with fixed bugs ( #1820 )
...
* Functional InputNumber
* linting
* linting
* remove max button
* linting
* linting
* version
* version
* combine values
* fix
* Re-enable SI dropdown
* KSM formats
* Formatting tweaks
* Mini fixes
* Adjust postfix opacity
* Linting
* More linting
* Remove unneeded list override
* Misc small adjustments
* Vertical alignment
2019-11-12 12:00:44 +01:00
Jaco Greeff
0cadbf9d1f
Bump API (derive memo) ( #1864 )
...
* Bump API (derive memo)
* Linting, caused by common changes
2019-11-11 14:56:35 +01:00
Jaco Greeff
a7404079cb
Bump deps ( #1849 )
2019-11-07 00:25:40 +01:00
Jaco Greeff
582d6a3722
Toggle for tip ( #1831 )
2019-11-02 17:57:11 +01:00
Jaco Greeff
65fae72921
s/available/transferrable/ ( #1827 )
...
* s/available/transferrable/
* Add missing DerivedBalances fields
2019-11-01 17:45:43 +01:00