Commit Graph

101 Commits

Author SHA1 Message Date
Jaco Greeff
2542c017bf
Incremental staking rendering (#4503)
* Incremental staking rendering

* Apply suggestions from code review
2021-01-26 18:30:36 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
e6eaaec27d
Remove stray log (#4270)
* Remove stray log

* Display numbers as available
2020-12-24 10:57:09 +01:00
Jaco Greeff
1b88b75fa6
Optimize staking overview (#4267)
* Optimize staking overview

* Unused isCommission

* Cleanup log
2020-12-24 09:31:41 +01:00
Jaco Greeff
593b42c275
Save target/overview toggles (#4249) 2020-12-20 12:55:10 +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
Jaco Greeff
4f3f98f97b
Don't double-up on stashId retrievals (#4157)
* Don't double-up on stashId retrievals

* Remove (onw-unused) useStashIds hook
2020-12-04 14:24:28 +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
78b3680f3c
Rework with useNominations (incl. loading indicators) (#4128) 2020-12-01 13:13:47 +01:00
Jaco Greeff
ef125783de
Allow useCall to not have .entries as any hack (#4115) 2020-11-30 13:11:51 +01:00
Jaco Greeff
e6d3c61176
Use type imports from @polkadot/types/interfaces (#4103)
* Move chain params to apps-config

* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +01:00
Jaco Greeff
f0bf8efcf4
Ensure identity filter applies to all targets (#4100)
* Ensure identity filter applies to all targets

* Name filter removes flags

* Revert

* Apply query filters to override toggles
2020-11-29 16:54:35 +01:00
Jaco Greeff
366c8804d0
Cleanup targets pre-filtering on sort (#4098) 2020-11-29 12:56:13 +01:00
Jaco Greeff
e940117fac
Show nominator return % per target (#4091)
* Show nominator return % per target

* 2 decimals

* Remove commented
2020-11-28 16:32:53 +01:00
Jaco Greeff
4add11e7d7
Display inflation & stakedReturn info (#4085)
* Introduce useInflation hook

* linting

* Display inflation & stakedReturns
2020-11-28 14:29:51 +01:00
Jaco Greeff
c9d9b5022d
Bump API (#4088) 2020-11-28 14:29:12 +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
dfdf75ba2b
On-demand Expander rendering (#4039)
* On-demand Expander rendering

* Use indexes, not progress
2020-11-17 15:33:13 +01:00
Jaco Greeff
535e9b6cd2
Additional check for malformed keys on waiting list (#3906) 2020-10-21 08:13:24 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
440620c204
Expander table adjustments (#3679)
* Expander table adjustments

* Expander table headings

* balances as expand header

* No header padding
2020-09-14 18:12:36 +02:00
Jaco Greeff
5f4c4c052b
Small layout adjustments (explorer & staking) (#3673) 2020-09-13 11:51:11 +02:00
Jaco Greeff
fab8c86dfa
Expander adjustment (right-align, icons) (#3668)
* Expander adjustment (right-align, icons)

* Alignements

* caret

* caret alignment
2020-09-12 12:14:47 +02:00
Jaco Greeff
c4dbc64dea
Staking chart adjustments (#3659) 2020-09-11 13:01:43 +02:00
Jaco Greeff
bec5f32323
Show nomination badge in overview (#3637) 2020-09-08 12:39:52 +02:00
Jaco Greeff
fbd1826059
Fix envelope status display (#3623) 2020-09-06 11:32:44 +02:00
Jaco Greeff
ca4b0b9cca
Staking details query optimizations (#3618)
* Staking details query optimizations

* Map lookups

* Extras
2020-09-06 09:40:17 +02:00
Jaco Greeff
eba24d5ca4
Remove 64 fallback (#3575)
* Remove 64 fallback

* toString

* Protection

* No slice-and-dice when in-range

* linting

* Ref for labels
2020-08-30 16:30:52 +02:00
Jaco Greeff
1525ce71dc
Show over nominators in staking overview (#3574)
* Show over nominators in staking overview

* Only summary red

* Non badge on exactly 64
2020-08-30 15:17:26 +02:00
Jaco Greeff
5c3bf740cd
Expand max-nominations badge displays (#3563)
* Expand max-nominations badge displays

* Ignore > 64 in profitable selection

* Indicate oversubscribed

* Show oversubscribed in actions
2020-08-29 09:58:37 +02:00
Jaco Greeff
295829af8e
Use external icon links (#3545)
* Use external icon links

* Adjust opacity

* Cursor
2020-08-27 16:35:19 +02:00
Jaco Greeff
f71e1ff922
Adjust links with full names (#3537)
* Adjust links with full names

* Add provider logos

* Unsafe assignment

* Linting
2020-08-27 15:36:34 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11:12 +02:00
Jaco Greeff
880527f540
Adjust staking media sizing (#3481)
* Adjust media sizing for staking

* Adjust boundary
2020-08-23 11:06:36 +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
Mario Pino
c4251631cf
Add Polkastats validator and intention links (#3421)
* add polkastats validator and intention links

* add new columns in table headers
2020-08-15 12:46:41 +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
e3f4b4c6df
s/Chilled/Renomination required/ (#3375)
* s/Chillded/Renomination required/

* Keep active/inactive
2020-08-08 12:04:47 +02:00
Jaco Greeff
fd70692193
Non-zero lastZeroSlash (#3364)
* Displayed chilled nominators in waiting

* Non-zero-era slashingSpans
2020-08-07 13:00:20 +02:00
Jaco Greeff
e498669d50
Displayed chilled nominators in waiting (#3361) 2020-08-07 12:21:47 +02:00
Jaco Greeff
6df29eadb0
De-dupe account filters (staking & components) (#3311) 2020-08-01 16:09:03 +02:00
Jaco Greeff
6aefdd9178
useLoadingDelay for large lists (#3310)
* useLoadingDelay for large lists

* Accounts with isLoading

* sortedAddresses afecting check
2020-08-01 15:29:52 +02:00
Jaco Greeff
0d6a904144
Adjust staking split displays (#3268)
* Adjust staking split displays

* Additional
2020-07-26 10:36:03 +02:00
Jaco Greeff
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

* Default to isTooltip with hover set
2020-07-09 13:40:46 +02:00
Jaco Greeff
ca5a5a95c1
Indicate own nominees on targets (#3133)
* Indicate own nominees on targets

* icon prop to Badge

* AddressName cachin cleanups
2020-07-07 07:55:54 +02:00
Jaco Greeff
6a95966b88
Apply favorites consistently (#3105) 2020-07-01 17:32:03 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00