forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coretime Chain - Overview UI Tab (polkadot-js#10898)
* added overview page * sanitized task * added workplan table * staged missing files * updated filters * fixed some types * updated mask graph * copyright * linting * install * added relay overview * linting * refactoring hooks * translations * updated coretime deps * updated tsconfig * fixed build * root tsconfig * fix tsconfig * app-coretime and app-broker * filter bug fix * prettied mask bar * updated deps * updated deps broker * removed TS filter and added graph * linting * fixed headers * fixed filter * updated coretime summary * updated relay tables * fixed bulk price display * updated regions * styling * fixed pallet version mismaatch info * fixed expand button * fixed alignment issues * yarn install * integrated some suggestions * linting * updated version * Fix Header on table * Small nit around naming * Usage bar console err fix: NaN * rearranged the layout for page broker on Coretime chain, changed UsageBar element to be more generic * filtering parachains by id * moved a type to a seprate type file * skip build and npm * generated locales * added default ui colours to test chains and kusama * abstracted logic from the rendering * default ui highlight fallback * table responsive - hiding timeslice info from the rows on mobile * version updates for react-components and react-query * exporting defaultHighlight * responsive summary * small fix for workplan filtering * separated coretime chain page * removed unused references * added useBrokerReservations call and marked reserved chains * useBrokerLease, added Legacy Lease type * showing last block for legacy leases * added processing at data retrieval * fix: missing icon * linting * organized files, minor refactor * moved filters out of the Overview componennt * minor refactor * version update * regenerated yarn lock * renamed column * linter :) * ts fixes :) --------- Co-authored-by: bee344 <[email protected]> Co-authored-by: Alberto Nicolas Penayo <[email protected]> Co-authored-by: tarikgul <[email protected]>
- Loading branch information
1 parent
20a8252
commit 7c9f388
Showing
56 changed files
with
1,965 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2017-2024 @polkadot/apps-routing authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import type { Route, TFunction } from './types.js'; | ||
|
||
import Component from '@polkadot/app-broker'; | ||
|
||
export default function create (t: TFunction): Route { | ||
return { | ||
Component, | ||
display: { | ||
needsApi: [ | ||
'query.broker.status' | ||
], | ||
needsApiInstances: true | ||
}, | ||
group: 'network', | ||
icon: 'flask', | ||
name: 'broker', | ||
text: t('nav.broker', 'Coretime Broker (Experimental)', { ns: 'app-broker' }) | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"All active/available cores": "All active/available cores", | ||
"All available slices": "All available slices", | ||
"All scehduled cores": "All scehduled cores", | ||
"No core description found": "No core description found", | ||
"No workload found": "No workload found", | ||
"No workplan found": "No workplan found", | ||
"Overview": "Overview", | ||
"assignment": "assignment", | ||
"broker Id": "broker Id", | ||
"core": "core", | ||
"core count": "core count", | ||
"current timeslice": "current timeslice", | ||
"current work": "current work", | ||
"estimated bulk price": "estimated bulk price", | ||
"mask": "mask", | ||
"nav.broker": "Coretime Broker (Experimental)", | ||
"next index": "next index", | ||
"parachain id": "parachain id", | ||
"pool size": "pool size", | ||
"region length": "region length", | ||
"selected core": "selected core", | ||
"selected core for workload": "selected core for workload", | ||
"selected core for workplan": "selected core for workplan", | ||
"timeslice": "timeslice", | ||
"timeslice period": "timeslice period", | ||
"traffic": "traffic", | ||
"work queue": "work queue", | ||
"workload": "workload", | ||
"workplan": "workplan" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# @polkadot/app-broker |
Oops, something went wrong.