Commit Graph

1102 Commits

Author SHA1 Message Date
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
Jaco
7e716b5dfa
Bump UI deps (#9803)
* Bump UI deps

* Fix icon theme passing

* Adjust
2023-08-21 11:44:33 +03:00
Jaco
aab37896cf
Fix light theme identicon background (#9802) 2023-08-21 10:14:23 +03:00
Jaco
3aa9d8702e
Move them className to css var (#9797) 2023-08-20 08:37:12 +03:00
Jaco
f48ac48b39
Bump deps (#9796)
* Bump deps

* Additional deps

* (some) fixes

* Additional
2023-08-19 12:14:57 +03:00
Jaco
e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
Jaco
adb2c98bd3
Adjust endpoint ui config with identityIcon (#9544)
* Adjust endpoint ui config with identityIcon

* Add defaults & missing package.json entry
2023-06-16 08:26:38 +03:00
Piotr Mikołajczyk
3f90e17a19
Fix jsonrpc attribute (#9576) 2023-06-13 19:13:13 +03:00
Jaco
8f9919c834
Adjust object indexing (#9564)
* Add tsconfig override

* JSON Comments

* Adjust object indexing

* Dedupe yarn.lock

* Bump deps
2023-06-12 09:11:39 +03:00
Jaco
9646bf0073
0.131.1 (#9483)
* 0.131.1

* Bump dev
2023-05-23 12:39:19 +03:00