Commit Graph

39 Commits

Author SHA1 Message Date
Arjun Porwal
ee4621e753
Display validators info after AHM (#11871)
* feat: improved validator set keys ux

* feat: refactor InjectKeys and useStakingAsyncApis for improved API readiness checks

* feat: migrated actions to staking async

* feat: refactor ListNominees and useInactives for improved nomination handling and data fetching

* fix: build
2025-10-09 22:05:07 +05:30
Arjun Porwal
fb53d098a8
Staking Async Feedback (#11681)
* feat: enhance tooltips and warnings in AssetHub and Relay sections

* fix: remove unnecessary tooltip for stakingAhClient mode in RelaySection

* fix: update labels for session index and active era in AssetHubSection

* feat: implement getApi utility function and update CommandCenter and StakingApp components to use it

* feat: created overview page and refactor code for rcApi and ahApi

* feat: implement useActiveNominators hook and update Summary component to display active nominators

* feat: add getGenesis import and update needsApiCheck to hide staking route for Westend relay

* feat: add StakingAsyncOverview component and integrate it into Overview

* fix: formatted snapshot range correctly

* chore: hide staking tab for asset hub chains

* chore: get page index

* chore: hide staking tab for paseo

* fix: update needsApiCheck to hide staking route for specific Relay chains
2025-09-17 09:25:35 +05:30
Arjun Porwal
d449a243f9
Staking Next Page (#11483)
* feat: initialized staking-next page

* feat: enhance staking-next page with dynamic tabs and translation support

* feat: enabled payouts page for staking-next

* feat: enabled pools page for staking-next

* feat: enabled bags page for staking-next

* fix: build errors

* chore: added translation files

* refactor: relay and system staking page

* feat: enabled overview page for staking-next

* feat: enabled actions page for staking-next

* feat: enabled targets page for staking-next

* feat: enabled query page for staking-next

* feat: add Command Center component and integrate with Relay Staking Page

* feat: limit event display to a maximum of 5 and adjust styling in Command Center

* feat: display more info for relay command center

* chore: added translations

* refactor: relay section for command center

* feat: storage fetch for ah api

* feat: integrate Command Center into StakingApp routing

* feat: add AssetHubSection component and update RelaySection styling

* chore: added translation

* feat: implement API check for staking-next route

* feat: enhance AssetHubSection with detailed multiblock and staking summaries

* chore: added translations

* chore: delete folder

* chore: added folders

* feat: update layout and styling in CommandCenter components

* feat: improve layout of relay chain and events summary in AssetHubSection

* feat: add Slashes component to StakingApp and update TypeScript paths

* feat: enhance CommandCenter with relay and para endpoints integration

* feat: refactor CommandCenter to integrate relay and para endpoints with improved state management

* feat: enhance AssetHubSection and RelaySection with API connection indicators

* feat: enhance CommandCenter and RelaySection with children prop and dropdown for API selection

* feat: improve API disconnection handling and reset state in CommandCenter

* feat: improve command center API handling and enhance relay section styling

* feat: add translations for Active Validators and All Validators in locale files

* feat: update route path for targets to all-validators in StakingApp

* feat: update README with details on Asset Hub migration and staking workflow changes

* feat: update staking-related API references to use assetHubStakingClient and improve UI components

* feat: rename stakign-next to staking-async

* fix: pallets and events renaming

* feat: enhance AssetHub and Relay sections with URL and relay chain support

* fix: avoid duplication of events
2025-06-19 10:34:38 +05:30
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
c5cbf871de
Add tsconfig override (#9563)
* Add tsconfig override

* JSON Comments
2023-06-10 10:03:55 +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
1e7ebdee40
Break (some) circular dependencies (#9464)
* Break (some) circular dependencies

* Rebuild translations
2023-05-19 10:26:23 +03:00
Jaco
93c7c0e8e5
Basic NIS dashboard (#9437) 2023-05-14 09:07:07 +03:00
Jaco
1d57436a54
Bump API (#9310) 2023-04-10 08:46:27 +03:00
Jaco
ed5f9bc93e
Switch on tsconfig composite (#9273) 2023-04-03 07:49:50 +03:00
Jaco
c069df72c0
Bump dev deps (#9199) 2023-03-18 13:04:20 +02:00
Jaco
4bfda46580
Swap TS resolution to base config (#9194)
* Swap TS resolution to base config

* Run build fixup before lint

* Adjust with specific comment on fixup
2023-03-17 12:55:10 +02:00
Jaco
043faeaac3
Bump TS to 5.0, adjust TS aliases (#9193)
* Adjust TS aliases (test-support problematic)

* Bump TS to 5

* Flatten paths (somewhat)
2023-03-17 10:16:43 +02:00
Jaco
46a5fa8f00
Adjust (some) tsconfig overrides (#9191) 2023-03-17 09:03:43 +02:00
Jaco
d3dd12d577
Add explicit axios dependency (#9179)
* Add explicit axios dependency

* Adjust tsconfig comment
2023-03-15 09:17:51 +02:00
Jaco
c6f0c6035a
Upgrade dropzone component (#9169)
* Upgrade dropzone component

* Revert as any removal
2023-03-14 14:27:31 +02:00
Jaco
069ec0de02
Bump dev (#9153)
* Bump dev

* Swap resolution for Dropzone
2023-03-12 12:24:27 +02:00
Jaco
b82cae49ff
Align tsconfig to allow moduleResolution: nodenext (#9152)
* Align tsconfig to allow moduleResolution: nodenext

* Fix bounty

* Additional from tsc --noEmit check
2023-03-12 10:53:21 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
39396c065c
Staking test app (#8822)
* Staking test app

* Split favorites

* Pack rows
2023-01-16 11:39:17 +02:00
Jaco
3436319e96
Adjust TS target (#8527)
* Adjust TS target

* es2020
2022-12-13 09:09:52 +02:00
Jaco
9154d7a31a
Split scheduler into seperate app (#8492) 2022-12-06 13:00:09 +02:00
Jaco
81d5fbf62e
Adjust light relay/para mappings (#8059)
* Adjust light relay/para mappings

* Adjust resolveJsonModule
2022-08-27 12:32:52 +03:00
Jaco
19fc4fef52
Ranked collective & Fellowship (#7945)
* Ranked collective & Fellowship

* Ranked

* Display collective members

* Members with rank
2022-07-31 16:18:52 +03:00
Jaco
5108a7590d
Preimage availability (#7941)
* Preimage availability

* Primage submission

* Display decoded proposal

* Renames

* yarn.lock
2022-07-30 16:37:23 +03:00
Jaco
3498162276
Structure for upcoming apps (#7940) 2022-07-30 13:29:35 +03:00
Jaco
20aa80de19
Alliance base (only members) (#7912) 2022-07-26 21:04:33 +03:00
Jaco
1ad8c1bf5e
App for runtime calls (#7811)
* App for runtime calls

* Display typoe in outputs

* Adjust for released

* sorting

* dedupe
2022-07-02 09:56:06 +03:00
Jaco
fd8f485053
Add basic utilities app (#7541) 2022-05-06 13:11:38 +03:00
Jaco
3bf0562a51
Collators support (#7495)
* Collators support

* Ordering

* Adjust

* Adjust icons

* Bump API

* Adjust

* Rebuild
2022-04-30 15:07:00 +03:00
Jegor Sidorenko
14c0cb6f7a
NFTs page (#7144)
* NFTs page

* Chore

* Fix no items condition

* Extract ipfs data fetching logic into a separate hook

* Update deps

* @polkadot/app-assets -> @polkadot/app-nfts in headers

* Update packages/page-nfts/src/AccountItems/Item.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/page-nfts/src/translate.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* Remove redundant component

* Add TextEncoder/TextDecoder shims

* Update version

Co-authored-by: Jaco <jacogr@gmail.com>
2022-03-15 15:41:08 +02:00
badkk
0d0bb48a0c
[Substrate Files] New files module (#6106)
* Upgrade crust-pin to Crust Mainnet

* Update yarn lock

* Files Module (#6)

* Describe file's README

* Change Endpoint name and location

* Update file's README

* Add locales for files

* Files Module (#6)

* Describe file's README

* Change Endpoint name and location

* Update file's README

* Add locales for files

* Update yarn locks file

* Update Crust Pinner to bearer authorization (#7)

* Fix yarn lock

* Add folder support (#8)

* Add folder support

* Fix

* Fix files download

* Fix translation

* Upgrade react component

* Fix ipfs gateway (#9)

* Fix yarnlock

* Upgrade metadata

* Resolve polkadot-js version

* Change copyright

* Fix lint(copyright)

Co-authored-by: Eericxu <2681350846@qq.com>
Co-authored-by: Gavin Fu <gavfu@outlook.com>
Co-authored-by: Yashiro <51014425+yuhui1208@users.noreply.github.com>
2022-02-17 09:25:00 +02:00
Jaco
f9ea628e72
Adjust tsconfig types location (#6771) 2022-01-02 18:22:12 +02:00
Jaco
00f64eb1ea
Remove @polkadot/ts dep (#6733) 2021-12-24 16:44:06 +02:00
Jaco
0f58b96f76
Bump dev with package-specific tsconfig.json (#6691)
* Bump dev with package-specific tsconfig.json

* Bump tsc

* Bumps

* Adjust

* Bumps

* Bump dev
2021-12-16 12:08:06 +02:00
Jaco
11cee3cea0
Add tsconfig.base (#6670) 2021-12-13 08:14:33 +02:00