Commit Graph

325 Commits

Author SHA1 Message Date
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
825da6cc7f
Empty heartbeats should not display (#2212) 2020-01-28 18:04:18 +01:00
Jaco Greeff
1d8613655f
Convert options & items (tabs) to useMemo (#2207)
* Convert options & items (tabs) to useMemo

* Add missing var in useMemo

* Remove floating isSubstrateV2

* Cleanup staking entry

* Remove unneeded ?
2020-01-28 15:01:18 +01:00
Jaco Greeff
348dc200b3
Staking list rendering optimizations (#2206)
* Staking list rendering optimizations

* Cleanups
2020-01-28 13:52:29 +01:00
Jaco Greeff
5b8f562bae
Bump deps (#2202)
* Bump deps

* Re-apply v10-era linked check

* Expand key inline

* Expand type

* Extract exraction logic

* Latest API

* Fix linting around identity (now in metadata)

* Bump latest
2020-01-27 19:58:46 +01:00
Jaco Greeff
8325a8f605
Bump deps (#2199) 2020-01-26 11:22:10 +01:00
Jaco Greeff
196dbcbaff
AddressMulti -> InputAddressMulti (#2195) 2020-01-24 15:23:56 +01:00
Jaco Greeff
9001400ef0
TxButton withSpinner swap (#2194)
* TxButton withSpinner swap

* TxModal onClick -> onStart (in modal)
2020-01-24 15:19:49 +01:00
Jaco Greeff
e009258b77
Adjust available labels (#2191) 2020-01-24 12:04:23 +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
58e3dab9bc
Allow sorting of staking returns (#2183) 2020-01-23 15:41:15 +01:00
Jaco Greeff
77256b24e3
Fully split active/inactive nominations (#2169) 2020-01-22 16:05:16 +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
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
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
c85c256abe
Democracy with useTranslation (#2153)
* Democracy with useTranslation

* Remove isSuspended display

* One isSubstrateV2 less

* Linting
2020-01-20 13:57:55 +01:00
Jaco Greeff
96b238efe8
Always include staking favourites in the list (#2131)
* Always include staking favourites in the list

* Filter by actual session validators
2020-01-15 23:38:29 +01:00
Jaco Greeff
4febafac10
Connecting overlay rendering order (#2130)
* Connecting overlay rendering order

* API

* Combine components

* Unused import
2020-01-15 21:44:07 +01:00
Jaco Greeff
1fc306c5cb
Nominations lists text update (#2126) 2020-01-15 15:57:48 +01:00
Jaco Greeff
42993c9bdf
Cache pernt/child display parts (#2117) 2020-01-14 13:53:22 +01:00
Jaco Greeff
4b96a65ef3
Own controller check on staking options (#2111)
* Own controller check on staking options

* Update SetSessionKey.tsx
2020-01-13 15:22:42 +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
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
ebcc70f19b
Add expanded tooltip to per-account breakdown (#2063) 2019-12-17 11:53:03 +01:00
Jaco Greeff
5f9f14c428
Remove balance from commission display (#2058)
* Remove balance from commission display

* Adjust controller mini padding
2019-12-15 14:43:16 +01:00
Jaco Greeff
a4da0ecc2d
Rework reward cache (#2049)
* Rework reward cache

* Linting
2019-12-15 00:21:30 +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
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
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
c58cbc6eaf
Fix useStream unsub (#2010)
* Fix useStream unsub

* non-deobounced on input
2019-12-07 23:19:14 +01:00
Jaco Greeff
0f230322e9
Bump deps (#2009)
* Bump deps

* Nominating ({{count}})
2019-12-07 16:18:35 +01:00
Jaco Greeff
644fd0099a Improve rewards rendering 2019-12-06 00:10:23 +01:00
Jaco Greeff
fc80d5c008
Filter sessionRewards (#2005) 2019-12-05 22:37:03 +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
5ccd7453cc
Find last available session reward (#2000) 2019-12-05 09:01:51 +01:00
Jaco Greeff
629e0f218b Fix block count chart display 2019-12-04 21:43:55 +01:00
Jaco Greeff
fe11751215 Nominate update 2019-12-04 17:15:31 +01:00
Jaco Greeff
4a3ff60dc2
Satking account layout changes (#1994) 2019-12-03 17:38:03 +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