Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coretime Chain - Overview UI Tab #10898

Merged
merged 83 commits into from
Sep 10, 2024
Merged

Coretime Chain - Overview UI Tab #10898

merged 83 commits into from
Sep 10, 2024

Conversation

piggydoughnut
Copy link
Contributor

@piggydoughnut piggydoughnut commented Sep 6, 2024

This PR separates Coretime Chain - Overview UI Tab from this PR

Original Feature Request : Issue 10285

Some of my notes on Coretime

Features:

  • All cores are listed with assigned Workloads and Workplans.
  • Cores can be filtered by task id aka parachain id, or by the core number.
  • Cores can either run a parachain on them (task) or be a Pool
  • There are 3 types of core occupancy: Legacy leases (migration from the previous system), Reservations (for the System chains), regular Renters (new system participants)

Reservations

Screenshot 2024-09-09 at 15 53 39

Pools

Screenshot 2024-09-09 at 15 54 01

Legacy Lease

Screenshot 2024-09-09 at 15 54 19

@piggydoughnut piggydoughnut marked this pull request as draft September 6, 2024 12:33
@piggydoughnut piggydoughnut marked this pull request as ready for review September 9, 2024 07:57
Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks amazing to me! Linter just needs to get fixed. Runnnig everything looked awesome

@piggydoughnut
Copy link
Contributor Author

@TarikGul 😊 Thaanks.
The Linter has been conquered 🫡

@TarikGul TarikGul merged commit 285a540 into master Sep 10, 2024
5 checks passed
@TarikGul TarikGul deleted the anp-coretime-chain-overview branch September 10, 2024 12:30
jak-pan pushed a commit to jak-pan/apps that referenced this pull request Sep 11, 2024
* 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]>
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants