Commit Graph

23 Commits

Author SHA1 Message Date
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Jaco Greeff
8c07ccc83f
Staking render opt. useEffect/useState -> useMemo (#3408)
* Staking render opt. useEffect/useState -> useMemo

* Targets opt

* Simplify

* Couple more

* Targets useEffect

* Update packages/page-staking/src/Actions/Account/BondExtra.tsx

* Additional

* Cleanup

* Unused state

* Update packages/page-staking/src/index.tsx

* Update packages/page-staking/src/index.tsx
2020-08-13 11:04:10 +02:00
Jaco Greeff
644bfb00b3
API updates with exposures (#2845)
* API updates with exposures

* Rewrite yarn.lock
2020-05-28 13:38:10 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall (#2549)
* Cleanup "as any" on derive with useCall

* Alignment
2020-04-11 11:43:21 +02: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
3da6f3fbcf
Staking Address component breakdown (#2445)
* Staking Address component breakdown

* Share Favorite component
2020-03-23 16:56:49 +01:00
Jaco Greeff
e2744a92b1
Graphs avg. only on > 0 (#2443) 2020-03-23 14:38:49 +01:00
Jaco Greeff
b720cd1443
Hooks reworks with mounted refs (#2417) 2020-03-18 13:51:33 +01:00
Jaco Greeff
bc6eea52c8
Add slash display, ownExposure (#2391) 2020-03-16 08:42:42 +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
83a2ddedd4
useCallback in all staking callbacks (#2376)
* Add React.emomo to some components

* Linting

* useCallback for callbacks

* Additional useCallback impl.
2020-03-12 12:59:09 +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
80dfe9e1b5
Show actual available payouts for staking (#2368)
* Show actual available payouts for staking

* Linting for latest API

* Remaining watermark issues
2020-03-11 13:25:37 +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
5adc040c19
Staking UI & performance rework (#2361)
* Staking UI & performance rework

* yarn.lock
2020-03-10 08:58:28 +01:00
Jaco Greeff
5586692cd3
Show validator rewards over eras (#2355) 2020-03-09 11:02:04 +01:00
Jaco Greeff
a77bd85f27
Swap rewards from historic queries (#2352)
* Swap rewrds from historic queries

* Headers with key
2020-03-09 07:07:36 +01:00
Jaco Greeff
95471f42c4
Rework rewards with new staking (#2338)
* Rework rewards with new staking

* Bump api

* Bump API

* Disable buttons on no controller
2020-03-08 15:07:33 +01:00
Jaco Greeff
315995d6bf
Rename app-* folders to page-* (#2318)
* Rename app-* folders to page-*

* Cleanup test paths
2020-03-01 19:56:31 +01:00