ghost-portal/packages/react-hooks/src
Daria 4df5c9a8d5
Relay Chain - Coretime Overview UI Tab (#11016)
* exposing coretime wss endpoint to use on relay chain, adjusted hooks to accept api endpoint as a parameter

* adjusting hook calls to new parameters

* added Tag for coretime types, renamed occupancyType to coretimeType

* added cycle progress and cycle end date to summary, fixed the estimation dates

* coretime page draft, added hook for gathering all the coretime information in order to show it on relay chain

* lint

* bumped version

* updated coretime chain summary

* updated summary, added timeslice for the first sale start,

* hook updates to make sure the coretime data is displayed even if workloads are empty, fallback on coreAssignments

* removed unused files

* lint

* tsc

* merging parachainIds with renewalIds

* if there is no record in potential renewals, then the chain has renewed already

* added config for page-coretime

* removed hardcoded regionLength value

* improved function to find out type

* lint

* tsc

* Fix versioning

* fix comments

---------

Co-authored-by: tarikgul <tariksnow37@gmail.com>
2024-10-22 09:38:00 -04:00
..
ctx Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
utils updated broker pallets calls to be more general, added the estimated bulk price value for overtime ui tab (#10923) 2024-09-17 20:30:01 +08:00
createNamedHook.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
index.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
translate.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
types.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useAccountId.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useAccountInfo.ts Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598) 2024-05-21 21:28:03 +03:00
useAccounts.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useAddresses.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useApi.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useApiStats.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useApiUrl.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useAvailableSlashes.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBalancesAll.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBestHash.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBestNumber.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBlockAuthors.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBlockEvents.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBlockInterval.ts use runtime APIs to query block time (#10457) 2024-04-15 17:22:04 -04:00
useBlocksPerDays.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBlockTime.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useBrokerConfig.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useBrokerLeases.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useBrokerPotentialRenewals.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useBrokerReservations.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useBrokerSalesInfo.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useBrokerStatus.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useCacheKey.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useCall.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useCallMulti.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useCollectiveInstance.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useCollectiveMembers.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useCoreDescriptor.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useCoretimeEndpoint.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useCoretimeInformation.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useDebounce.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useDelegations.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useDeriveAccountFlags.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useDeriveAccountInfo.ts Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598) 2024-05-21 21:28:03 +03:00
useElementPosition.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useEndpoint.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useEventChanges.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useEventTrigger.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useExtrinsicTrigger.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useFavorites.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useFormField.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useIncrement.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useInflation.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useIpfs.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useIpfsLink.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useIsMountedRef.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useJudgements.tsx 2024 (#10152) 2024-01-08 15:06:30 +02:00
useKeyring.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useLedger.ts Enable "Chain Specific App" for Ledger (#10826) 2024-08-14 09:38:04 -04:00
useMapEntries.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useMapKeys.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useMemoValue.spec.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useMemoValue.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useMetadataFetch.ts Support ipfs://ipfs/ links (#9772) 2024-02-28 07:37:42 -05:00
useModal.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useNextTick.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useNonEmptyString.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useNonZeroBn.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useOutsideClick.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useOwnEraRewards.ts Fix Staking with latest breaking changes! (#10498) 2024-04-24 21:48:08 +03:00
useOwnStashes.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useOwnStashInfos.ts Fix staking rewards, and update polkadot deps (#10552) 2024-05-08 23:28:35 +03:00
useParaApi.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useParaEndpoints.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
usePassword.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
usePeopleEndpoint.ts Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598) 2024-05-21 21:28:03 +03:00
usePopupWindow.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
usePreimage.ts Try decoding a preimage as a transaction (#10755) 2024-07-16 00:11:35 -04:00
useProxies.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useQueue.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useQueueStatus.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useRegions.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useRegistrars.ts Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598) 2024-05-21 21:28:03 +03:00
useSavedFlags.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useScroll.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useStakingInfo.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useStepper.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useSubidentities.ts Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598) 2024-05-21 21:28:03 +03:00
useSudo.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useSystemApi.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useTeleport.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useTheme.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useTimer.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useToggle.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useTreasury.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useTxBatch.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useVotingStatus.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useWeight.ts Add proof size summary (#10639) 2024-09-05 11:09:14 -04:00
useWindowColumns.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useWindowSize.ts 2024 (#10152) 2024-01-08 15:06:30 +02:00
useWorkloadInfos.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00
useWorkplanInfos.ts Relay Chain - Coretime Overview UI Tab (#11016) 2024-10-22 09:38:00 -04:00