Commit Graph

499 Commits

Author SHA1 Message Date
Jaco
27098f34b8
Bump deps (#9040)
* Bump deps

* Bumps

* Adjust

* Adjust

* Adjust test imports

* Adjust

* Re-adjust

* Fix frequency package name

* Adjust build

* Adjust

* Fix before import

* Adjust

* require script

* Adjust checks

* Linting fixes

* Fix json alongside other tests

* Move fixup script

* Remove main type: "module"

* Adjust (some) tests

* Adjust chartjs imports

* Bump deps

* Adjust

* Bump deps

* Adjust styled imports

* Bump deps

* Adjust
2023-02-20 11:38:52 +02:00
Jaco
1ad10e61c6
Move pools location (adjusted interface) (#8935)
* Move pools location (adjusted interface)

* Adjust type import
2023-02-03 20:47:37 +02:00
Jaco
7d24f50c38
Bump deps (incl. TS) (#8931)
* Bump deps (incl. TS)

* Adjust ESM packages for Jest

* Yet more Jest hacks

* Make horrible jest config slightly prettier

* Unbump electron

* Fix external package deps
2023-02-03 15:01:45 +02:00
Jaco
0de8a8d2ff
Add waiting list to next-gen staking (#8896)
* Add waiting list to next-gen staking

* Extract use* types

* Adjust useHeartbeat checks

* Adjust with useNextTick

* Adjust for useNextTick

* Points anim via ref

* Adjust
2023-01-31 11:56:37 +02:00
Jaco
61cde148b8
Align Line chart titles (#8874) 2023-01-24 08:46:59 +02:00
Jaco
39396c065c
Staking test app (#8822)
* Staking test app

* Split favorites

* Pack rows
2023-01-16 11:39:17 +02:00
Jaco
2bf56dbf11
Adjust styled injection (final round) (#8814)
* Adjust styled injection (final round)

* Fix (some) build issues

* Fix (some more) build errors

* ... it builds (... ship it!)
2023-01-15 19:53:55 +02:00
Jaco
739c5e2aae
Apply consistent ordering to className prop (#8812) 2023-01-15 18:06:52 +02:00
Jaco
e23de46715
DRY-ed table cell FormatBalance usage (#8810) 2023-01-15 13:41:48 +02:00
Jaco
4d0bc5cbfb
Adjust global field toggle locations (#8803)
* Adjust global field toggle locations

* Additional adjustments

* Additional build fixes

* labelExtra Toggle formatting

* Wrap Option

* Remove "Some" label

* None for Option empty

* Remove debug log

* Adjust
2023-01-15 10:13:38 +02:00
Jaco
e63eeb506c
Rework (some) component styled injection (#8795)
* Rework (some) component styled injection

* Small build fixes

* Additional build fixes

* Additional

* Fixes

* Remove unused SelectedDrag

* Remover unneeded props passing

* Fix build

* Remove unneeded inline-block
2023-01-14 15:22:42 +02:00
Jaco
81bc535691
Rework staking styled injection (#8794)
* Rework staking styled injection

* Build fix
2023-01-14 13:01:03 +02:00
Jaco
0bf67023d0
Adjust InputBalance label positions (#8790)
* Adjust InputBalance label positions

* Allow null values

* Fix undefined params
2023-01-14 09:46:26 +02:00
Jaco
e1727917d1
Remove label help tooltips (#8767)
* Remove label help tooltips

* Fix missed item

* Adjust

* adjust

* Back to defaults
2023-01-12 10:11:02 +02:00
Jaco
ff28428ff0
Remove unmaintained HelpOverlay (#8765) 2023-01-11 20:26:32 +02:00
Jaco
9647a68b4a
Font styling (#8764)
* Font styling

* Additional adjustments

* Adjust

* Node headers & Table numbers

* Adjust

* mono size adjust

* Adjust upwards for headers

* Explicit label vars

* header font-weight

* .sub font-weight

* Adjust block headers

* Remove rx--updated
2023-01-11 20:09:13 +02:00
Jaco
e091fa0455
Fix for Targets total stake display (#8751) 2023-01-10 16:18:03 +02:00
Jaco
275c2ae7ae
Remove stray debug log (#8748) 2023-01-10 13:55:55 +02:00
Jaco
edc2bab238
Adjust handling of old-style preimages (#8739)
* Adjust handling of old-style preimages

* Adjust old columns

* Adjust

* Don't pass isLatest around ... will break when we change

* Cater for old-style preimage retrieval
2023-01-09 22:38:51 +02:00
Jaco
ed513de9f0
Minor placeholder adjustments (#8738)
* Minor placeholder adjustments

* placeholders for explorer block view

* Weight graph

* Misc class fixes

* Drive-by LinkExternal label fix

* StakeOther changes
2023-01-09 18:57:33 +02:00
Jaco
f495761c0b
Add a placeholder for full balance retrieval (#8734)
* Add a placeholder for full balance retrieval

* Adjust sidebar

* Add --placeholder class

* staking overview placeholder

* Adjust preimage & council

* Account Summary

* Additional

* Additionals

* Some more around staking

* Slight opacity adjustment

* Last remaining for this round

* One final for now
2023-01-09 17:37:40 +02:00
Jaco
37f44367b4
Rework context usage (& move most to react-hooks) (#8731)
* Rework context usage (& move most to react-hooks)

* Move use{Accounts, Addresses} to use contexts

* Cleanups

* Global alignment renames

* Combine keyring subjects into KeyringCtx

* Cleanups to contexts

* Small adjustment to window size usage

* Popup test via data-testid

* Fix Bounties tests

* Move getStats to correct location

* Adjust ApiStats

* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +02:00
Jaco
2f4f6f675e
Misc. small fixes (#8730) 2023-01-08 18:08:18 +02:00
Jaco
ac2e910d8b
Adjust Table borders (w/ spacing) (#8729)
* Adjust Table borders (w/ spacing)

* Background only on cells
2023-01-08 15:54:26 +02:00
Jaco
f889abb7af
Overall adjustment to font styling (#8725)
* Overall adjustment to font styling

* Additional

* AccountName

* Table header

* One less font override

* Remove commented code

* Adjust menu sizing

* Adjust tab menu

* Adjust

* Adjust lightGreyColor
2023-01-08 12:53:43 +02:00
Jaco
b95798aef5
Validator points adjustment (#8727)
* Validator points adjustment

* Fix staking ledgend sizing

* Adjust

* Small adjustment to overall Badge sizing
2023-01-08 12:26:27 +02:00
Jaco
61821e6650
Media queries on badges (#8713) 2023-01-06 17:33:59 +02:00
Jaco
d987bbadae
Align validator expansion with UI (#8712) 2023-01-06 16:51:40 +02:00
Jaco
453a505d58
Predefine columns for Table favorites/expander (#8690)
* Predefine columns for Table favorites/expander

* Adjust header definition types

* Additional header typings

* lint override

* Add Table.Column.Id

* Use Table.Column.Favorite for staking
2023-01-05 17:39:02 +02:00
Jaco
a565490d21
Pool name formatting via line-clamp (#8691)
* Pool name formatting via line-clamp

* Use line-clamp for Expander info

* Adjust max-width
2023-01-05 14:22:55 +02:00
Jaco
f73371c91d
Adjust pool min join calc (#8689) 2023-01-04 18:55:08 +02:00
Jaco
e3824c04c3
Adjust Table component spacing (#8674)
* Adjust Table component spacing

* px

* Add isExpanded

* Cleanup border placement

* Ref sizing
2023-01-02 19:49:25 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
af51568305
Add isSplit on tables (unused) (#8659)
* Add isSplit on tables (unused)

* Remove unused styles
2022-12-31 12:18:12 +02:00
Jaco
b3917bd36e
Adjust council/staking accounts tables (#8632) 2022-12-26 09:16:57 +02:00
Jaco
617eea7e07
Add ErrorBoundary to charts (#8613) 2022-12-23 14:18:36 +02:00
Jaco
9d5171734a
Adjust all chart options (#8606)
* Adjust all chart options

* Expand loading check

* Reload on validatorId changes

* Formatting
2022-12-23 10:09:10 +02:00
Jaco
19b399ddb0
Referenda graph overlaps (no explicit confirm) (#8581)
* Referenda graph overlaps (no explicit confirm)

* Crosshair for other charts

* Align all
2022-12-19 19:21:32 +02:00
Jaco
2bef228fd0
Chilled filtering adjustments (no-auto, recent Substrate) (#8551) 2022-12-15 15:57:51 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
72b0f96176
lastNonzeroSlash > submittedIn for chilled (#8518)
* lastNonzeroSlash > submittedIn for chilled

* Note on logic

* Cleanups
2022-12-12 07:44:07 +02:00
Jaco
8637a99609
Add 1 era offset to slash era headers (#8508)
* Add 1 era offset to slash era headers

* Adjust sub
2022-12-09 08:27:48 +02:00
Jaco
7cd2b81583
Display individual ranked votes (#8480)
* Display individual ranked votes

* Adjust
2022-12-05 14:13:12 +02:00
Jaco
ccd04e3feb
Less x-mass tree pool display (#8481) 2022-12-05 13:25:34 +02:00
Jaco
8482820469
Don't rely on earliestUnappliedSlash availability (#8209)
* Don't rely on earliestUnappliedSlash availability

* Update packages/react-hooks/src/useAvailableSlashes.ts

* Update packages/react-hooks/src/useAvailableSlashes.ts

* Format with correct offsets

* text
2022-11-15 11:30:14 +02:00
Jaco
3522d85e3c
Update preimage usage to latest Substrate (#8254)
* Update preimage usage to latest Substrate

* Optional storageFee

* Bump deps

* PreImage as HexString

* Fasttrack
2022-10-24 08:29:33 +03:00
Jaco
3e2aef2353
Fix staking era select (non-live oversight) (#8226) 2022-10-11 19:03:06 +03:00
Jaco
29be6752e5
Bump API (#8164) 2022-09-24 14:37:08 +03:00
Jaco
04e5f4d23b
Retrieve pool pending via runtime call (#8083)
* Retrieve pool pending via call

* Remove is

* mountedRef
2022-09-03 12:13:29 +03:00
Kami
48784489a9
Update ListNominees.tsx (#7948)
* Update ListNominees.tsx

useTranslation format is not correct in the tooltip while a validator is oversubscribed

* Update ListNominees.tsx

* Update ListNominees.tsx
2022-08-01 11:11:52 +03:00