Commit Graph

78 Commits

Author SHA1 Message Date
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