Commit Graph

1112 Commits

Author SHA1 Message Date
peetzweg/
a19f060f2e
uses flex column layout with dedicated scrollable area just for chains and keeping the header visible at the top (#12023) 2025-11-24 22:26:07 +05:30
Tarik Gul
025f1b6e30
Fix cross-chain vesting display after Asset Hub migration (#12013)
* Fix vesting schedules for accounts

* Fix linter with typings

* small fixes
2025-11-20 07:33:23 -05:00
Arjun Porwal
d628dcd267
Bump dependencies (#11997)
* chore: bump dependencies

* fix: build
2025-11-13 11:45:06 +05:30
Arjun Porwal
b5599b352a
Shown era duration correctly in staking (#11972)
* fix: era duration in staking

* fix: vesting schedule timer
2025-11-05 17:56:14 +05:30
Arjun Porwal
68c45b91b6
Fix: Staking summary and Schedular remaining time (#11903)
* feat: enhance staking overview by combining data from multiple sources and add SummarySession component

* feat: integrate staking async APIs into Scheduled and Scheduler components

* fix: build

* feat: integrate staking async APIs into StakingUnbonding component

* feat: enhance SummarySession component with era progress calculation and improved API integration

* fix: chart timeline

* chore: comment
2025-10-13 22:00:06 +05:30
Arjun Porwal
5630635d4c
Refactor: Move Relay and Asset Hub API Connections to Context (#11891)
* feat: add StakingAsync context and hooks for improved staking API integration

* refactor: rename isStakingAsyncPage to isStakingAsync for consistency across components

* feat: introduce useBestNumberRelay hook for enhanced best number retrieval based on staking async state

* feat: add 'Kusama Asset Hub' link to Polkassembly and Subsquare configurations
2025-10-09 09:47:24 +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
254c1fbad7
feat: enhance tooltip styling and content in Vesting component (#11815) 2025-09-05 10:07:52 +05:30
Arjun Porwal
c907fde127
Mark Chains as Favorites (#11718)
* feat: added star icon for chain

* feat: add favorite chains header and localization support

* fix: star ux flow enhanced

* feat: mark chains as favorite and store it

* feat: added transitions and shown already favorite chains

* fix: remove favorite chains key from localStorage on error

* feat: integrate favorite chains functionality in Group

* chore: fix spacing between group headers

* feat: enhance favorite chains functionality with structured storage and utility functions

* fix: prevent rendering empty component for groups with no favorite chains

* chore: translations

* chore: match favorite network with relay and paraId

* chore: remove logging
2025-08-01 12:22:40 +05:30
Arjun Porwal
d5da43bbf6
fix: improve regex for weight formatting in formatMeta function (#11640) 2025-06-19 22:08:24 +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
Arjun Porwal
bebd286e0e
fix: prevent rendering without options for specific types in InputAddress component (#11583) 2025-05-28 17:56:34 +05:30
Arjun Porwal
0cc4b563d5
Upgraded polkadot dependencies (#11556)
* chore: upgraded polkadot dependencies

* fix: build error

* chore: upgraded phishing
2025-05-15 17:47:33 +05:30
Ernesto
05eb5a22d3
chore: fixed bug on chart and ui issue in sale page (#11354)
* fixing eslint

* chore: fixed bug on chart and ui issue in sale page

* chore: fixed all eslint issues

* chore: fixed linting

* sales page

* chore: resolved sales theme

* lint
2025-04-07 09:30:56 +05:30
Arjun Porwal
d9ee47c09d
fix: allow anonymous proxy and account dropdown behaviour (#11450) 2025-04-02 17:11:18 +05:30
Arjun Porwal
e9de252577
Improve Address Book Search (#11350)
* fix: improve address filtering logic for better visibility control

* feat: add visibility toggle for addresses in the contacts overview

* feat: enhance account name resolution with custom matchers
2025-03-03 18:10:49 +05:30
Arjun Porwal
a36d3ab0e9
Enhancement: Fee Payment with Sufficient Assets (#11336)
* refactor: remove choosing fee asset from transfer and it's types

* feat: choose fee asset in authorize tx modal

* fix: asset id formatting
2025-02-26 18:36:14 +05:30
Arjun Porwal
d1a0977a65
feat: max transfer value while teleport (#11332) 2025-02-25 08:37:12 -05:00
Arjun Porwal
91c20a3141
Input Number component (#11275)
* feat: add tooltip support for Labelled components

* chore: basic translations added

* chore: minor change

* fix: tooltip

* feat: removed tooltip and used labelExtra
2025-02-11 08:25:24 -05:00
Arjun Porwal
43a38c3630
fix: table spacing issue (#11287) 2025-02-11 07:18:43 -05: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
Arjun Porwal
bdfcedae72
AssetHub: Fee payment with any sufficient asset (#11229)
* feat: created useAssetIds and useAssetInfo hook

* feat: created pay with asset component

* feat: add paywith asset component with Transfer modal

* fix: signer options as prop

* fix: payment info

* feat: created PayWithAsset provider and integrated with transfer form

* chore: rename variable

* fix: PayWithAsset provider wrapping

* feat: integrate PayWithAsset context and enhance asset info fetching

* fix: some build errors

* refactor: update imports and simplify getFeeAssetLocation function

* refactor: simplify component structure and update PayWithAsset import paths

* fix: all build errors

* fix: avoid redundant type

* feat: added translation

* feat: enhance fee payment info & fee asset handling

* fix: translations ordering

* fix: remove redundant types and hooks

* chore: added statemine chain

* refactor: generalize fee acceptance check for non-native assets

* fix: remove constants and generalize palletIndex
2025-02-06 21:20:08 +05:30
Daria
fd45bb870c
More sale details + region info (#11188)
* added more details of the sale phases to the sale detail, added current region dates on the sale overview, links to other coretime resellers

* refactor, separated components for readability

* partial lint

* arranged white boxes

* added dotlake link, added price graph link, visual improvements

* fixed incorrect sale times plus added an exception for the second sale on Kusams

* lint and tsc

* added ui colour

* translation

* wording change

* typo
2025-01-20 15:28:22 +13: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
9409a49771
adding an option to use AccountId20 type for H160 addresses (#10969) 2024-10-01 20:27:15 +08:00
Daria
4e80393ba9
Reflecting changes to Identity pallet (#10959)
* showing discord, github and matrix

* restored other attribute for backwards compatibility
2024-09-30 19:01:06 +08:00
Daria
9b8fec7af0
Patch for crashing explorer on Laos (#10967) 2024-09-30 05:13:05 -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
Tarik Gul
1f3234c9b9
Allow reserved in voting balance (#10858)
* Allow reserved in voting balance

* convictionVoting check

* fix nit

* Fix nit logic
2024-08-26 10:16:08 -04:00
Tarik Gul
81ea5db8d0
Revert 0d59324dec (#10865) 2024-08-23 23:07:07 +03:00
Alberto Nicolas Penayo
0d59324dec
fix(bug): user can input invalid lifetime for tx (#10862)
* fix lifetime input

* updated isLifetime
2024-08-23 12:51:24 -03:00
Tarik Gul
9e1af82fd9
Fix transferable balance (#10842)
* Fix transferable balance

* fix nits

* Fix all transferrable to transferable
2024-08-21 01:06:10 +03:00
Przemek Rzad
927f7fdd34
Change the rendering of chains' Sovereign Accounts (#10791) 2024-07-29 12:54:51 -04:00
Tarik Gul
003ae66680
Add support for migration ledger app (#10777)
* Add ledgerApp

* New settings for ledger in apps

* Add ledger migration and legacy support via ui

* Update useLedger

* Fix and get migration working

* Add ledger notices about which app is currently set in the settings

* dedupe
2024-07-24 12:59:00 -04:00
Tarik Gul
478cd03e7e
Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598)
* Use apiSystemPeople for identities on relay chains

* Add apiIdentity support

* add config

* Fix nits

* Get working condition for all chains!

* add enableIdentity for correct support

* Add comments to EndpointOption type

* Add some inline comments
2024-05-21 21:28:03 +03:00
Tarik Gul
c615b4354a
Backwards compatibility for identityOf (#10570)
* Backwards compatibility for identityOf

* Fix null check

* nit
2024-05-13 20:17:51 +03: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
Nikhil Ranjan
46fa32472b
Identity fix. Username has been introduced in identity pallet. (#10491)
* Identity fix

* Identity fix
2024-04-22 10:20:48 -04:00
Qiwei Yang
453b94f381
feat: local fork allow fake accounts (#10342)
* fix: upgrade chopsticks

* feat: expose fork in context

* fix lock

* fix: add account to chopsticks

* feat: sign fake

* fix: lint
2024-04-10 22:12:57 -04:00
Dominik Fedor
130eac4d90
Search/filter functionality of selection dropdowns (#9766)
* feat: added search/filter functionality to selection dropdowns in the storage, constants, RPC calls, runtime calls, and extrinsic pages

* chore: update copyright header

* fix: types

---------

Co-authored-by: Dominik Fedor <DominikFedor@users.noreply.github.com>
2024-03-28 09:24:30 -04:00
Tarik Gul
8f1c183dd6
Bump @polkadot/* deps (#10378)
* Bump `@polkadot/*` deps

* fix linting errors

* more fixes

* fix nit
2024-03-21 22:30:36 +02:00
Qiwei Yang
e2db0ba1be
fix: switch rpc in url should not auto use local fork (#10308)
* fix: switch rpc in url auto use local fork #10305

* fix: lint
2024-02-29 08:53:29 -05:00
Qiwei Yang
8208fc5a4a
Integrate chopsticks (#9965)
* fork locally feature

* use chopsticks provider

* update

* test locally

* update provider usage

* upgrade chospticks

* upgrade chopsticks

* fix lint

* remove extra code

* add setStorage back with alice

* update chopsticks

* update chopsticks

* updade chospticks version

* fix: chopsticks version

* fix: update and testing

* fix: remove isLocalFork from global var
2024-02-27 07:42:45 -05:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
Paco Yang
1f0d910d11
Fix transfer button disappearance (#10081)
* fix: removed transfer call in polkadot v1.2 causing button disappearance

* fix: fallback to transfer call
2023-12-12 17:38:20 +02:00
G. Kami Ekbatanifard
02e9cf489f
Fixes #9260 (#10002) 2023-11-03 12:06:18 +02:00
Jaco
e748063551
Disable unreachable endpoints (#9862) 2023-09-08 08:23:56 +03:00
Jaco
bb75a7b27f
Bump deps (#9815)
* Bump deps

* Adjust withTranslation usage

* Omit<T, 't'>

* Adjust translate Props

* Adjust straglers
2023-08-23 14:36:40 +03:00
Jaco
6a197bab13
Add missing & specifier to status (#9805) 2023-08-21 13:53:57 +03:00