Commit Graph

515 Commits

Author SHA1 Message Date
Tarik Gul
478cd03e7e
Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598)
* Use apiSystemPeople for identities on relay chains

* Add apiIdentity support

* add config

* Fix nits

* Get working condition for all chains!

* add enableIdentity for correct support

* Add comments to EndpointOption type

* Add some inline comments
2024-05-21 21:28:03 +03:00
Tarik Gul
ff9af34173
Fix useSortedTargets flags for claimedRewards (#10554) 2024-05-09 06:13:14 +03:00
Tarik Gul
b5588ebea7
Fix staking rewards, and update polkadot deps (#10552)
* Bump pjs deps

* reactive withClaimedRewardsEras

* remove comments
2024-05-08 23:28:35 +03:00
Tarik Gul
7a897eab81
Fix Staking with latest breaking changes! (#10498)
* Update pjs deps

* Rework useSortedTargets with breaking changes

* lint

* Fix kickNominees

* Fix ChartStake

* Lots of remaining fixes!!!!!

* app-routing

* Remove withClaimedRewardsEras

* Fix useSortedTargets

* Fix small nits

* More nits
2024-04-24 21:48:08 +03:00
Tarik Gul
d088dfe32a
Bump @polkadot/* deps (#10355)
* Bump @polkadot/* deps

* fix updates based on api

* Fix bytes to EventRecord type

* nit
2024-03-14 17:25:27 +02:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
Jaco
d94c086c79
Bump polkadot-js deps (#10106)
* Bump polkadot-js deps

* Adjust (now optional) maxNominatorRewardedPerValidator usage

* Adjust usePreimage usage to align with latest Substrate

* Adjust unclaimed rewards retrieval

* Adjust StakingLedger import

* Adjust hooks for getLegacyRewards

* Adjust StakingLedger imports
2023-12-18 17:23:43 +02:00
Jaco
22abc22a45
Bump API (#9950)
* Bump API

* Adjust for new API types

* Adjust staking const

* Attemp to fix build

* Attempt test-support build fix (try 2)
2023-10-15 14:42:49 +03:00
Jaco
e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
Jaco
26bcc6073d
Switch on tsconfig composite (#9465)
* Switch on tsconfig composite

* Rebuild locales

* Fix CallExpander import
2023-05-19 15:11:59 +03:00
Jaco
140189c710
Bump API (#9441)
* Bump API

* Adjust bond tx

* Adjust bond
2023-05-13 14:39:06 +03:00
Jaco
815ecd9446
Bump dev (#9359) 2023-04-21 16:17:36 +03:00
Jaco
b4098280d0
Upgrade to latest react-router (#9230)
* Upgrade to latest react-router

* Additional

* Adjustment to tabs, dedupe routes

* Adjust for Route element={...} usage

* Align (soon-to-be-removed) gilt routing

* Change path='' to index
2023-03-28 09:35:15 +03:00
Jaco
c069df72c0
Bump dev deps (#9199) 2023-03-18 13:04:20 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
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