Commit Graph

134 Commits

Author SHA1 Message Date
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
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
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
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
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
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
a345d919c1
Non-disabled on POA states (#1960) 2019-11-28 21:31:30 +01:00
Jaco Greeff
358d8ed4b3
Remove disabled state (#1939) 2019-11-25 11:04:49 +01:00
Jaco Greeff
c3e16ac040
s/useApiContext/useApi/ (#1900) 2019-11-16 20:21:46 +01:00
Jaco Greeff
bffa6589b7
Add currency indicator to staking charts (#1897) 2019-11-15 22:18:33 +01:00
Jaco Greeff
488bfef0c4
Add trackStream, impl. in staking overview (#1891)
* Add trackStream, impl. in staking overview

* Use trackStream in Address

* Fix linting

* Add reward displays
2019-11-15 15:06:47 +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
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
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
a3b3eb9930
Small fav display tweaks (#1868)
* Add staking favorites (top of list)

* Small display  tweaks

* Checks
2019-11-11 20:51:04 +01:00
Jaco Greeff
2a52609f23
Add staking favorites (top of list) (#1866) 2019-11-11 19:58:13 +01:00
Jaco Greeff
55eb877e14
Small optimizations (staking display, recalcs) (#1862) 2019-11-09 15:05:37 +01:00
Jaco Greeff
3c475fbafe
Cleanup non-imOnline display (#1853) 2019-11-08 09:34:36 +01:00
Jaco Greeff
82242b36d2
Staking warnings (display swap) (#1838) 2019-11-03 22:11:40 +01:00
Jaco Greeff
5164e86aff
Points index adjustments (#1836)
* Points index adjustments

* Linting
2019-11-03 14:48:04 +01:00
Jaco Greeff
d05eb94052
Add Expanded component (#1834) 2019-11-03 10:50:15 +01:00
Jaco Greeff
12739270ba V1 Activity 2019-11-03 08:37:33 +01:00
Jaco Greeff
e3bca04936
Staking RPC & UI optimizations (#1833)
* Staking query optimization

* Final roundup

* Bump API with new derive  interfaces
2019-11-02 23:54:23 +01:00
Jaco Greeff
08a36be445
Expand imOnline (blocks + message) (#1821)
* Expand imOnline (blocks + message)

* Merge master, bump API

* Fix linting
2019-10-31 20:04:00 +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
df095c2829
Staking updates (#1815)
* Staking updates

* Bump API

* So currentElected first in next up

* Linting

* Remove unused state entries
2019-10-30 15:53:52 +01:00
Jaco Greeff
58aacb4c65 Remove disabled 2019-10-29 22:48:22 +01:00
Jaco Greeff
03e021325c
Some small staking dangling bits (#1812)
* Some small staking dangling bits

* Point formatting
2019-10-29 22:30:21 +01:00
Jaco Greeff
3c5bee6dcf
Era points (#1811) 2019-10-29 21:34:26 +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
2abad7669e
Display old blocks (#1807)
* Display old blocks

* Ghost old blocks

* Block position
2019-10-29 13:52:04 +01:00
Jaco Greeff
3b8a763a3e
Display heartbeats via state (#1806)
* Display heartbeats via state

* Bump deps with API support

* Update sigs

* More linting
2019-10-29 12:48: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
Jaco Greeff
fb35cbf375
Staking Address func. (incl. performance improvements) (#1744)
* Staking Address func. (incl. performance improvements)

* Skip unneeded re-renders

* Use reducer

* Get rid on transform-only state

* Don't re-create empty objects
2019-10-21 11:40:51 +02:00
Jaco Greeff
024a55e3d0
Fix nominate display, add commission display (#1703)
* Fix nominating display, Closes https://github.com/polkadot-js/apps/issues/1701

* Add commission display on staking overview
2019-10-07 15:27:43 +02:00
Jaco Greeff
0e70ce1b8b
Some more css -> styled conversions (#1677) 2019-10-01 14:29:56 +02:00
Jaco Greeff
5ee21ae275
Staking performance updates (#1670)
* Staking performance updates

* More default on props
2019-09-26 22:21:16 +02:00
Jaco Greeff
c3ce788215
More functional components (#1667)
* More functional components

* sudo setKey

* Additional  components
2019-09-26 17:16:56 +02:00
Jaco Greeff
ff5b5c2a3f
Remove unused balances props (#1647)
* Remove unused balances props

* Comment CSS horribleness

* Extra {

* Merge master
2019-09-23 15:21:11 +02:00
Jaco Greeff
514d99894d
Bump deps (#1603) 2019-09-12 16:32:40 +02:00
kwingram25
c9790f85d9
useContext instead of withApi (#1579)
* useContext instead of withApi

* types to interface, fixes
2019-09-03 15:00:09 +02:00
kwingram25
2752bedc6e
Functional components (app-*) (#1559)
* Functional components (app-*)

* refactor

* refactor

* refactor

* refactor

* refactor

* Revert "refactor"

This reverts commit 300a12ed7de5b1000f32f5269dff67f5ee1c1515.

* onRemove
2019-08-29 17:45:02 +02:00
kwingram25
1f51e600d1 Display ReceivedHeartbeats status for staking accounts (#1476)
* Display ReceivedHeartbeats status for staking accounts

* Fix

* linting error

* complete merge

* fix changed event sig

* fix recentlyOnline check
2019-08-28 16:12:24 +02:00