Commit Graph

218 Commits

Author SHA1 Message Date
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Daria
3ec308f325
Showing waiting, active and inactive nominations on the Accounts page (#10998)
* fix: showing waiting, active and inactive nominations, staking pallet changes applied

* setting a defualt number of max nominations per validator

* refactored to split the deprecated calls from new calls

* added spinner for a long call to exposure derive

* changed type
2024-11-04 08:45:24 -05: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
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
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
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
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
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
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
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
b3917bd36e
Adjust council/staking accounts tables (#8632) 2022-12-26 09:16:57 +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
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
Jaco
a54b71c2a4
Bump deps (#7879)
* Bump deps

* Additional

* Prev pool reward info

* Adjust Account for V0
2022-07-16 10:25:33 +03:00
Jaco
c55a15dc53
Extract Latency/API stats reusable chart (#7679)
* Extract Latency/API stats reusable chart

* Adjust
2022-06-02 11:54:47 +03:00
Jaco
83f62196c0
Badge for pool nominators (#7470) 2022-04-27 17:49:49 +03:00
Jaco
47913892cd
Expansion to pools logic (#7384)
* Expansion to pools logic

* Add filtering

* Pass through own pools

* Allow pool nominate tx

* Start with account actions

* Asho pool nominees

* Nomination operational

* Adjust table rows

* BondExtra for pools

* use availableBalance in calcs (w/ existential)

* Re-use isAmountError check

* Pass through actual pool info

* s/id/poolId/

* Display payout stashes

* Display points balance

* OCD cleanups

* claimPayout

* Calculate pool claimable

* Unbond

* Fix Unbond max

* Display remaining witldrawal eras

* Stashed/Pooled selection

* Withdraw unbonded

* StakingRedeemable display

* Renames as per metadata

* Additional

* s/pool/pools/

* PoolInfo display hints

* Adjust usePoolInfo hook

* Ordering adjustments

* Additional dedupes

* Combine queries

* Combinations & renames

* Flatten transform

* Non-existent reward

* bnMax sub

* lint fixes

* Bump API
2022-04-26 18:21:38 +03:00
Jaco
471447180c
Cater for non-standard nominee maps (#7450) 2022-04-26 10:35:45 +03:00
Jaco
374bb47335
Adjust Menu.Item with label prop (#7413) 2022-04-21 10:52:48 +03:00
Jaco
818ab80982
Use ExpanderScroll on staking lists (#7406) 2022-04-20 12:10:17 +03:00
Kami
8fe5646d87
Remove repeated "available" (#7388) 2022-04-18 19:20:05 +03:00
Jaco
5f7662a60c
Consolidate *--hidden classes (#7359)
* Consolidate *--hidden classes

* Additional
2022-04-12 09:48:06 +03:00
Jaco
e27058540f
Pass through minComm to validate (#7343) 2022-04-10 08:52:10 +03:00
xnorly
38d4c02659
changing 'tense' of label, because funds are not yet 'bonded' (#7077)
the label is shown when users are about to bond additional funds. Therefore, I propose to change the content of the label to 'additional funds to bond'. The old version 'additional bonded funds' suggests that the funds are already bonded which is not the case.
2022-03-01 11:49:43 +02:00
Jaco
525657ee01
Min commission check (#7068) 2022-02-28 14:34:34 +02:00
Jaco
cb60c73daa
0.105.1 (#6931)
* 0.105.1

* maxNominations
2022-02-07 09:01:29 +02:00
Jaco
5e1b8a8f49
Prepare for selectable groups (#6842) 2022-01-18 09:23:55 +02:00
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
tarrball
16c757eb8b
Grammar fix in staking tooltip (#6727)
Co-authored-by: Andrew <andrew@tarrball.com>
2021-12-23 08:19:59 +02:00
Jaco
40c3e9c45b
Warn on large bond amount (#6585) 2021-11-21 16:00:15 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
0b28229bda
Rebond modal (#6434)
* Rebond modal

* Fix modal open
2021-10-28 17:29:42 +03:00
Jaco
64e3182ab2
Ensure disabled menuitems are shown as disabled (#6394) 2021-10-24 16:27:16 +03:00