Commit Graph

7 Commits

Author SHA1 Message Date
Daria
2b9e019c28
fix for showing expires even though chain renewed (#11353) 2025-03-05 11:15:41 +13:00
Daria
c24c90ec8c
Adding Filters for the Coretime - Overview Tab according to feedback (#11217)
* added Expires soon warning on everything that is not Reservation and expires within 7 days

* added subscan links to the table, link for the project and for the block

* filter by parachain id

* filter by parachain name

* filter by type

* sorting filters by lastBlock

* filters working together

* filtering update

* lint

* refactor

* unused var

* flipped arrows for ASC and DESC

* lint

* lint

* lint
2025-02-10 21:20:50 +13:00
Daria
e5b2b487fd
fix: showing what core the chain is renewed on (#11256)
* fix: showing what core the chain is renewed on

* removed the code that is part of another pr

* better wording
2025-02-05 06:36:10 -05:00
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Daria
5e80322362
Relay Chain - Coretime Sale UI (#11091)
* added sales tab

* draft for the progress bar

* draft for calculating values for the coretime progress timeline

* lint

* added historical data on sales, button to see transactions on subscan

* breaking down utils file logically

* improving calculations of phase configuration, sale details, etc

* lint

* correctly calculated sale start/end blocks, dates and ts

* added core price calculation

* chainName type, adjustments for westend and paseo

* ts fixes

* used helper funcitons for getting relay blocks

* moved functionality to a new helper

* moved constants from types file in react-hooks, page-broker, page-coretime

* added dynamic coretime constants, wrapped page coretime in a context for dynamic functions

* moved coretime constants to a separate hook for reusability

* removed coretime consts and added useCoretimeConsts in page-broker

* passing a correct block number for coretime price calculation
2024-12-29 13:38:57 +13:00
Daria
069b032213
Relay Chain Coretime UI bugs (#11043)
* showing multiple core rows for parachains, changed end dates for non extended chains, correct renew status

* mobile table

* only showing renewals eligibility during the interlude

* removed extra tag

* styled component $property
2024-10-29 07:12:17 -04:00
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