Commit Graph

62 Commits

Author SHA1 Message Date
Jaco Greeff
5e28be4c18
Convert react-query to React.memo (#2405) 2020-03-17 13:41:51 +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
ac8c7cc410
Add global reward alert for payouts (#2370) 2020-03-11 17:30:01 +01:00
Jaco Greeff
42aaa0dcf5
Re-add validator queries (#2362)
* Re-add validator queries

* Bumps

* Pending only

* Remove unused
2020-03-10 13:53:48 +01:00
Jaco Greeff
65eb970bbc
Democracy time countdown (#2359) 2020-03-09 17:11:02 +01:00
Jaco Greeff
11fd332554
Bump deps (#2357) 2020-03-09 15:53:50 +01:00
Jaco Greeff
8165033991
Displays countdowns in time (#2339)
* Displays countdowns in time

* Lint
2020-03-07 13:59:20 +01:00
Jaco Greeff
1c0dd98b03
Display names for society/treasury (#2326)
* Display names for society/treasury

* Consistent balance formats

* Adjust top-level sizing
2020-03-03 11:58:36 +01:00
Keith Ingram
3afceac9d1
Parachains app (#2308)
* parachains app

* fin

* fin

* rec changes

* Fix sudo lookup

* sudoKey is already a string

* fix CI

* Fix build, re-gen i18n

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-02 08:48:29 +01:00
Jaco Greeff
7423ca9984
Exapnd locks (& display all) (#2245) 2020-02-06 13:09:36 +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
Jaco Greeff
7cd65b0298
Adjust summary balance displays (#2215) 2020-01-28 22:59:00 +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
03a5b2726c
Bump API (incl. staking ledger fixes) (#2156)
* Bump API (incl. staking ledger fixes)

* Api context

* Replace counter

* Linting

* Swap t -> useTranslation

* Cleanup unwrap

* Rebuild i18n (& make auto-config)

* Remove old eslint override
2020-01-20 15:08:03 +01:00
Jaco Greeff
13cb0cb3a0
No withCall for all functional (#2042)
* No withCall for all functional

* Linting

* Remove HOC, unneeded eslint override

* Cleanups
2020-01-17 13:55:14 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +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
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
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
1f9144738a Adjust name weights 2019-12-17 13:51:04 +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
31dea14271
Fix explorer (v1), withObservable unload & democracy images (#2062)
* Fix explorer (v1), withObservable unload & democracy images

* API bump

* Seconding count

* DerivedCollectiveProposal type
2019-12-17 11:00:42 +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
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
0402d0e10f
Force reward retrieval to single-shot (#2013)
* Force reward retrieval to single-shot

* Remove inner setTimeout
2019-12-08 22:00:29 +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
644fd0099a Improve rewards rendering 2019-12-06 00:10:23 +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
4241b70080
Adjust FormatBalance component (#1969) 2019-12-01 00:11:21 +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
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
cf67b1e9ec
Bump deps (#1881)
* Bump deps

* Massive numbers tweaks
2019-11-14 12:17:42 +01:00
Jaco Greeff
c05c1b86ec
Adjust extrinsic selection display, UI alignment (#1878) 2019-11-14 09:29:09 +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
ce3bb182ad
Strengten identicon checks (#1856) 2019-11-08 11:20:19 +01:00
Jaco Greeff
a79d909886
Add global event context (#1851)
* Global event context

* Cleanup events

* Slice logs

* event adjustments

* Keep old events

* Cleanup props
2019-11-08 09:45:41 +01:00
Jaco Greeff
b847268bd6
Add voting balance display (#1843)
* Add voting balance display

* Linting

* Naming
2019-11-04 23:05:32 +01:00
Jaco Greeff
c8c0a1d9c3
Staking display query opt. (#1819)
* Cleanup staking balance rendering

* Nominator details only on onClick

* Fix V1 display

* default for withNominations
2019-10-31 16:16:04 +01:00
Jaco Greeff
73e6d49a9a
Swap derive idAndIndex to info only (#1817) 2019-10-31 11:29:17 +01:00
Jaco Greeff
3948690528
Nominations current elected (#1816)
* Nominations for currentElected

* Drop nominatioons (for now)

* Display forks (i.e. multi authors)
2019-10-31 09:41:21 +01:00
Jaco Greeff
11cc4c57d6
Share BlockAuthor context with explorer (#1809) 2019-10-29 15:36:38 +01:00
Jaco Greeff
d3bd098f9a
Place authors on a context (#1808)
* Pleace authors on a context

* Cleanup empty effect

* Cleanup context, no new object
2019-10-29 15:00:03 +01:00
Jaco Greeff
259f4adb69
Cache names (#1805) 2019-10-29 12:45:49 +01:00
Jaco Greeff
f0051de2ca
Force local lookups (#1802) 2019-10-29 09:37:33 +01:00
Jaco Greeff
3837ce1db6
Small staking render adjustments (#1798)
* Small staking rendering improvements

* Only display once stash is available
2019-10-29 08:20:35 +01:00