mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-14 22:35:39 +00:00
Rebrand: Remove 3rd party chains, update domains to PezkuwiChain
- Remove all 3rd party parachain configurations from endpoints: - productionRelayPolkadot.ts: Keep only system parachains - productionRelayDicle.ts: Keep only system parachains - testingRelayZagros.ts: Keep only system parachains - testingRelayTeyrChain.ts: Keep only system parachains - Update domain references: - polkadot.js.org → pezkuwichain.app - wiki.polkadot.network → wiki.pezkuwichain.io - dotapps.io → pezkuwichain.app - statement.polkadot.network → docs.pezkuwichain.io/statement - support.polkadot.network → docs.pezkuwichain.io - Update repository references: - github.com/pezkuwi-js/apps → github.com/pezkuwichain/pwap - Rename system parachains to Pezkuwi ecosystem: - PolkadotAssetHub → PezkuwiAssetHub - polkadotBridgeHub → pezkuwiBridgeHub - polkadotCollectives → pezkuwiCollectives - polkadotCoretime → pezkuwiCoretime - polkadotPeople → pezkuwiPeople - Update network name in claims utility: - Polkadot → Pezkuwi
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
|
||||
@@ -87,11 +87,11 @@ function Filters ({ chainInfo, data: initialData, onFilter }: Props): React.Reac
|
||||
<div style={{ alignItems: 'center', display: 'flex', flexDirection: 'row', gap: '10px' }}>
|
||||
<div style={{ minWidth: '250px' }}>
|
||||
<Input
|
||||
aria-label={t('Search by parachain id or name')}
|
||||
aria-label={t('Search by teyrchain id or name')}
|
||||
className='full isSmall'
|
||||
label={t('Search')}
|
||||
onChange={onApplySearch}
|
||||
placeholder={t('parachain id or name')}
|
||||
placeholder={t('teyrchain id or name')}
|
||||
value={searchValue}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BrokerStatus, CoreDescription, PezpalletBrokerConfigRecord, PezpalletBrokerSaleInfoRecord, RegionInfo } from '@pezkuwi/react-hooks/types';
|
||||
@@ -19,11 +19,11 @@ interface Props {
|
||||
config: PezpalletBrokerConfigRecord,
|
||||
region: RegionInfo[],
|
||||
status: BrokerStatus,
|
||||
parachainCount: number
|
||||
teyrchainCount: number
|
||||
relayName: RelayName,
|
||||
}
|
||||
|
||||
function Summary ({ config, parachainCount, relayName, status }: Props): React.ReactElement<Props> {
|
||||
function Summary ({ config, teyrchainCount, relayName, status }: Props): React.ReactElement<Props> {
|
||||
const { t } = useTranslation();
|
||||
const { coretimeInfo, currentRegionEnd, currentRegionStart, saleEndDate, saleStartDate } = useCoretimeContext();
|
||||
|
||||
@@ -52,8 +52,8 @@ function Summary ({ config, parachainCount, relayName, status }: Props): React.R
|
||||
<CardSummary label={t('timeslice')}>
|
||||
{status?.lastTimeslice}
|
||||
</CardSummary>
|
||||
<CardSummary label={t('parachains')}>
|
||||
{parachainCount && parachainCount}
|
||||
<CardSummary label={t('teyrchains')}>
|
||||
{teyrchainCount && teyrchainCount}
|
||||
</CardSummary>
|
||||
{config && status && currentRegionEnd && saleEndDate && saleStartDate && timeslicesSinceCycleStart && coretimeInfo?.constants &&
|
||||
<>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from '../../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useMemo, useState } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { FlagColor } from '@pezkuwi/react-components/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RelayName } from '../types.js';
|
||||
@@ -22,7 +22,7 @@ function Overview ({ className, relayName }: Props): React.ReactElement<Props> {
|
||||
{coretimeInfo && (
|
||||
<Summary
|
||||
config={coretimeInfo?.config}
|
||||
parachainCount={coretimeInfo.taskIds?.length || 0}
|
||||
teyrchainCount={coretimeInfo.taskIds?.length || 0}
|
||||
region={coretimeInfo?.region}
|
||||
relayName={relayName}
|
||||
saleInfo={coretimeInfo?.salesInfo}
|
||||
|
||||
Reference in New Issue
Block a user