Commit Graph

12 Commits

Author SHA1 Message Date
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
Daria
7c9f388698
Coretime Chain - Overview UI Tab (#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 <alberto.penayo@parity.io>
Co-authored-by: Alberto Nicolas Penayo <74352651+bee344@users.noreply.github.com>
Co-authored-by: tarikgul <tariksnow37@gmail.com>
2024-09-10 08:30:41 -04:00
Nikos Kontakis
f387340b37
Feature - introduce ambassador Base (Members and Referenda) (#10838)
* Ambassador Base (Members and Referenda)

* Minor fixes
2024-08-15 12:11:00 -04:00
Tarik Gul
bba413b917
Add backwards compatibility for legacy staking pages (#10557)
* Add backwards compatibility for legacy staking pages

* Fix build:code

* Fix readme

* add locales

* i18n
2024-05-10 03:11:26 +03:00
Jaco
829c0fc311
tsconfig adjustments (#9467) 2023-05-20 11:53:46 +03:00
Jaco
26bcc6073d
Switch on tsconfig composite (#9465)
* Switch on tsconfig composite

* Rebuild locales

* Fix CallExpander import
2023-05-19 15:11:59 +03:00
Jaco
ed5f9bc93e
Switch on tsconfig composite (#9273) 2023-04-03 07:49:50 +03:00
Jaco
d25665a513
Partial support for verbatimModuleSyntax (#9270) 2023-04-02 16:12:44 +03:00
Jaco
81d5fbf62e
Adjust light relay/para mappings (#8059)
* Adjust light relay/para mappings

* Adjust resolveJsonModule
2022-08-27 12:32:52 +03:00
Gabriel Facco de Arruda
0266224a69
Parachain light clients (#8050)
* feat: Added parachain light clients

* fix: Add resolve json compiler option

* chore: Fix lints

* refactor: Better organized light client specs

* chore: Added sort lint and some doc strings
2022-08-26 17:35:39 +03:00
Jaco
6e836c75a8
Align tsconfig.build.json with others in polkadot-js (#6818) 2022-01-12 11:26:46 +02:00
Jaco
a3a449e7b8
Add tsconfig.build (#6813)
* Add tsconfig.build

* eslint tsconfig
2022-01-11 10:10:22 +02:00