Commit Graph

247 Commits

Author SHA1 Message Date
Jaco Greeff
9905927862
Swap council voting from TxModal (#2141)
* Swap council voting from TxModal

* Cleanup toggles

* Apply account filters

* useCouncilMembers

* Pass filter through to Propose

* Linting
2020-01-23 12:22:10 +01:00
Jaco Greeff
77256b24e3
Fully split active/inactive nominations (#2169) 2020-01-22 16:05:16 +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
edc9eddf33
Cleanup AccountName display (#2166) 2020-01-22 09:37:28 +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
378443da2d
Allow Qr scanning with name (#2163) 2020-01-21 15:20:30 +01:00
Jaco Greeff
79de1162ea
useTranslation Suspense fallback (#2158)
* useTranslation Suspense fallback

* import path

* Some small useTranslation conversions
2020-01-20 17:20:04 +01:00
Jaco Greeff
18af907070
Set Modal default to open (#2157) 2020-01-20 15:30:25 +01:00
Jaco Greeff
aed8df37a3
Society app (#2148)
* Society app

* useCheck

* Summary

* Updates

* Bump API with society

* Bump API (fixed publish)
2020-01-19 23:05:02 +01:00
Jaco Greeff
1f66137044
Remove snippet sharing (#2138) 2020-01-17 11:11:39 +01:00
Jaco Greeff
2ea6dd0af3
Display decoded ExtrinsicFailed errors (#2137)
* Display decoded ExtrinsicFailed errors

* Revert debug log

* Bump API (error lookup)
2020-01-16 15:21:02 +01:00
Jaco Greeff
8861a57645
Additional useTranslation usage (#2133) 2020-01-16 12:33:37 +01:00
Jaco Greeff
21b439a31e
Add judgement waiting (#2134) 2020-01-16 11:53:50 +01:00
Jaco Greeff
42993c9bdf
Cache pernt/child display parts (#2117) 2020-01-14 13:53:22 +01:00
Jaco Greeff
f7630e2641
API 1.0-beta & common 2.0-beta (#2115)
* API 1.0-beta & common 2.0-beta

* May fix effect issue
2020-01-14 11:05:55 +01:00
Jaco Greeff
0113c2db08
Adjust sub name display (#2113) 2020-01-13 17:48:07 +01:00
Jaco Greeff
4362181e64
Staking filter (name, address) (#2110)
* Staking filter (name, address)

* Dislay parent & sub

* Formatting
2020-01-13 14:35:45 +01:00
Jaco Greeff
de39bbe297
Additional useTranslation conversions (#2109)
* Additional useTranslation conversions

* quotes

* Bumps

* Cleanup params wit overrides
2020-01-13 13:12:03 +01:00
Jaco Greeff
e8dd9ab706
Display sub identities (#2107) 2020-01-12 15:28:52 +01:00
Jaco Greeff
0edd30be4b
Lowercase filter (#2103)
* Lowercase filter

* Keep AccountId/AccountIndex mixed-case check

* Remove (unused) translation
2020-01-10 11:18:35 +01:00
Jaco Greeff
560048a0cd
Filter accounts/addresses by tag or name (#2102)
* Filter accounts/addresses by tag or name

* Filter identity names (as available)

* Adjust filter input label
2020-01-09 17:54:22 +01:00
Jaco Greeff
1edab85522
Some useTranslation updates (#2097)
* Some useTranslation updates

* AccountName caching
2020-01-09 14:51:58 +01:00
Jaco Greeff
0f1aa3a45b
Minor overflow adjustments (#2095)
* Minor overflow adjustments

* Default names to uppercase

* s/normal/none/

* isAddress check for text formatting

* Adjust caching with isAddress info

* Overflow to bottom
2020-01-07 16:12:20 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
b83f87c2f9
Disable spellcheck on input fields (#2090) 2020-01-06 12:26:18 +01:00
Jaco Greeff
070fe59f5f Revert opacity adjustment 2019-12-20 13:00:48 +01:00
Jaco Greeff
a4ce84339e
Cleanup display from identity (#2081)
* Cleanup display from identity

* Bump API
2019-12-20 12:44:34 +01:00
Jaco Greeff
239eeeaa84
Grayscale identity (#2079) 2019-12-19 13:43:14 +01:00
Jaco Greeff
08adfbc43f
Provide judgement via account hover (#2078)
* Provide judgement via account hover

* Click to provide judgement
2019-12-19 13:08:21 +01:00
Jaco Greeff
dbad609e27
Display all identity info on hover (#2077)
* Display all identity info on hover

* Bump API

* displayName linting
2019-12-19 12:03:38 +01:00
Jaco Greeff
15bd35fd90
Add useTranslation for all apps (#2076) 2019-12-19 11:08:21 +01:00
Jaco Greeff
a441dc3a9f
Hide council voting when not a member (#2071)
* Hide council voting when not a member

* Disable instead of hide
2019-12-18 13:20:45 +01:00
Jaco Greeff
0645299933
Fix Identicon on-not-connected (#2070) 2019-12-18 12:36:26 +01:00
Jaco Greeff
aaf9757a96
(tiny) Badge styling updates (#2067) 2019-12-17 17:19:42 +01:00
Jaco Greeff
6adb79684c
Styling tweaks (#2066)
* Styling tweaks

* Linting
2019-12-17 16:07:30 +01:00
Jaco Greeff
1a8f7e2727
Use lookup accountId for IdentiIcon display (#2065) 2019-12-17 14:26:23 +01:00
Jaco Greeff
adf1c1c800
Identity judgements (#2064)
* Display identity judgements

* Small badge alignment adjustment

* Linting

* Check namaes against lowercase
2019-12-17 13:40:39 +01:00
Jaco Greeff
ebcc70f19b
Add expanded tooltip to per-account breakdown (#2063) 2019-12-17 11:53:03 +01:00
Jaco Greeff
717c80b665
Display identity names, set identity modal (#2054)
* Display identity names, set identity modal

* Update AddressRow types

* useToggle in accounts modal
2019-12-15 13:22:46 +01:00
Jaco Greeff
74dbf64808
Add useIsMountedRef hook (#2041)
* Add useIsMountedRef hook

* Use mounted ref on async operations (staking)

* Rework historic caching

* linting
2019-12-13 17:22:14 +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
6dab5e1295
Rollback latest (something went wrong) (#2039)
* Revert "[CI Skip]  0.38.0-beta.64"

This reverts commit 632c224df4.

* Revert "Apply useToggle as appropriate (#2036)"

This reverts commit 62f74422f2.

* Revert "[CI Skip]  0.38.0-beta.63"

This reverts commit 635f61637c.

* Revert "Small updates for V2 democracy (#2038)"

This reverts commit 32db955f8c.

* Revert last bumps
2019-12-13 11:25:50 +01:00
Jaco Greeff
62f74422f2
Apply useToggle as appropriate (#2036)
* Apply useToggle as appropriate

* Update inset
2019-12-13 10:05:54 +01:00
Jaco Greeff
24526345dc
Rework staking accounts layout (#2031)
* Rework staking accounts layout

* Optimize sort, simple substract

* Unneeded ?.

* Remove AddressCard

* Bump API
2019-12-11 18:37:57 +01:00
Jaco Greeff
ef388226b8
Add multi-address selection component (#2028) 2019-12-10 16:20:14 +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
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
e9a45f8dde
More effcicient derive for staking info (#2017) 2019-12-09 11:37:39 +01:00
Jaco Greeff
443bd6b494
Adjust treasury layout (#2011)
* Treasury layout

* Adjust viewport for mobile
2019-12-08 12:31:13 +01:00
Jaco Greeff
4cc58bf683 Some light tag sorting 2019-12-06 16:40:49 +01:00
Jaco Greeff
ee83086c4a
Rework address & accounts layout (#2008)
* Display accounts as rows

* Tags display

* Accounts seem ok (as a start)

* Filter by tags

* Don't add new tags via input

* Convert addresses

* Adjustments
2019-12-06 14:01:58 +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
c0b9451b78
Bump deps (#2001)
* Bump deps

* Rewrite
2019-12-05 13:18:38 +01:00
Jaco Greeff
a9baa96e87
Show democracy dispatch queue (#1997)
* Show democracy dispatch queue

* Bump API
2019-12-04 16:07:13 +01:00
Keith Ingram
a69bdfeef1 Propose tech committee motions (#1996)
* Propose tech committe motions

* bug, ignore .vscode

* linting

* Some cleanups

* Move Propose back
2019-12-04 12:22:19 +01:00
Jaco Greeff
4a3ff60dc2
Satking account layout changes (#1994) 2019-12-03 17:38:03 +01:00
Jaco Greeff
64ee39712e Table summary overflow 2019-12-03 12:20:28 +01:00
Jaco Greeff
2303a75aa3
Remove TxButton assert (#1988)
* Remove TxButton assert

* Linting
2019-12-03 00:31:31 +01:00
Keith Ingram
9bc6194265
Replace TxComponent and TxModal (base) (#1951)
* essentials

* cleanup

* versions

* rv file

* useForm function refs

* restore button ref

* adjust TxModalNew

* refactor

* useTx

* arg

* rework

* linting

* restore changed comps
2019-12-02 13:42:49 -08:00
Jaco Greeff
4f40a5bc5e
Remove broken tooltip expand (#1984)
* Remove tooltip click

* Tooltip click
2019-12-02 21:28:15 +01:00
Jaco Greeff
2eb21c938f
Layout changes for motions (#1983) 2019-12-02 21:01:35 +01:00
Jaco Greeff
2175a11e24
Proposal counters (#1982) 2019-12-02 19:41:43 +01:00
Jaco Greeff
9aeec2ab1d AddressMini withShrink 2019-12-02 14:04:08 +01:00
Jaco Greeff
ffbea9788c
Democracy display updates (#1974)
* Democracy updates

* Democracy UI cleanups

* Cleanup labels

* Move seconding, again...
2019-12-02 13:51:29 +01:00
Jaco Greeff
b05a01ce10
Support democracy with preimages (#1973)
* Add derive.democracy.proposals

* Preimage button

* Preimages work

* Allow Proposals, display referendums

* Update with height/width hack

* Bump deps
2019-12-02 10:51:21 +01:00
Jaco Greeff
6ea09e67d3
Rework staking lists, more info per page (#1972)
* Rework staking lists, more info per page

* Progress

* Thin cards as table rows

* Adjust label opacity

* Adj.
2019-12-01 15:47:16 +01:00
Jaco Greeff
91ee22b9be
Move seconding (#1968) 2019-11-30 16:50:56 +01:00
Jaco Greeff
c0401aefe3
Rework dropdown changes (#1964) 2019-11-30 16:10:06 +01:00
Jaco Greeff
f40af492d0
Apply locks per genesis range (#1962)
* Apply locks per genesis range

* Calc locks up-front
2019-11-29 11:18:54 +01:00
Jaco Greeff
f6976e1e49
Update ValidatorPrefs with commission (#1959)
* Update ValidatorPrefs with commission

* Bump API
2019-11-28 17:44:50 +01:00
Jaco Greeff
d36301810a
CC3 (#1955)
* CC3

* Bump API with type injection
2019-11-27 22:27:22 +01:00
Jaco Greeff
d842113151
Support v9 metadata (#1934)
* Support v9 metadata

* Cleanup key expansion

* Add isIterable

* Bump API (with V9)

* Bump common
2019-11-27 20:10:01 +01:00
Jaco Greeff
5a858fa1bd
Rework status name display (#1949)
* Rework status name display

* Fix props
2019-11-26 15:17:00 +01:00
Jaco Greeff
7a14adeee2
Check for controller availability (unlock) (#1940) 2019-11-25 13:13:26 +01:00
Jaco Greeff
533c8a72d8
Bump API, fixup storage types (#1933) 2019-11-23 23:03:48 +01:00
Luke Sugiura
35c85d8d35 Enable language setting options (#1919)
* translate settings page into Japanese

* enable language setting
2019-11-21 17:10:37 +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
a95d7a4b8e
Bump API (#1911)
* Bump API

* Session keys cleanup
2019-11-19 14:39: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
e0acd15b43
useAccounts hook (#1898)
* useAccounts hook

* Drop some withRouter

* Add setImmediate to trackStream

* Combine unsubscribe into subscribe

* Use before define

* Ass trackPromise

* Cleanup mapping for params

* Addressbook display
2019-11-16 10:13:07 +01:00
Jaco Greeff
032f46cc2d
Popup menu expansion for account/address (#1896)
* Popup menu expansion for account/address

* Add chain locking to settings

* Swap top tag location
2019-11-15 20:59:06 +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
Jaco Greeff
39dcdca190
Staker breakdown graph (#1882) 2019-11-14 14:35:49 +01:00
Jaco Greeff
be039f9d5a
Fix InputBalance default display (#1880) 2019-11-14 11:44:40 +01:00
Jaco Greeff
918822f48a
Auto-populate Vote balance (#1879)
* Auto-populate Vote balance

* Commenting
2019-11-14 10:44:15 +01:00
Jaco Greeff
84f6c00829
Add elected stake (#1874) 2019-11-12 20:38:15 +01:00
Jaco Greeff
03158fb594
Add useFavorites hook (incl. react-hooks package) (#1873)
* Add useFavorites hook

* useFavorites to Nominate

* Fix filter: grayscale positioning
2019-11-12 18:32:52 +01:00
Jaco Greeff
e7e4efebeb
Enable validator overview (#1872)
* Enable validator overview

* CallDiv indicator for consts
2019-11-12 14:39:38 +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
2b9dd5baa9
Blocks per session graph (hidden) (#1871) 2019-11-12 09:58:16 +01:00
Jaco Greeff
5ec79faa4a
Add fav & current as nominations (#1869)
* Add fav & current as nominations

* Toggle nominee at end

* Selection icons for council
2019-11-11 23:35:00 +01:00
Jaco Greeff
081c25a837
Enable pointer events for InputAddress (#1858) 2019-11-08 12:12:39 +01:00
Jaco Greeff
d71886034c
Icon in events display (#1857) 2019-11-08 11:37:25 +01:00
Jaco Greeff
ce3bb182ad
Strengten identicon checks (#1856) 2019-11-08 11:20:19 +01:00
Jaco Greeff
1874bee019
Only highlight stashes (not controllers) (#1854) 2019-11-08 10:58:41 +01:00
Jaco Greeff
a7404079cb
Bump deps (#1849) 2019-11-07 00:25:40 +01:00