Commit Graph

37 Commits

Author SHA1 Message Date
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Chris Ganga
d22c82455f
use selected theme in the validator stats page (#5391)
* use selected theme in the validator stats page

* use table theme variables in validator stats page
2021-05-31 07:29:18 +02:00
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
158ab2ee19
Update Darwinia Crab IndividualExposure types (#3719)
* Update Darwininia Crab IndividualExposure types

* own comment

* Charts
2020-09-19 09:56:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
9b3121ea82
Display commission over eras as graph (#3644)
* Add commission-over-eras chart

* Untipped/closing view toggle

* Adjust alignment
2020-09-09 14:38:17 +02:00
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