Commit Graph

61 Commits

Author SHA1 Message Date
Arjun Porwal
16826c9268
Show Multilocation for Foreign Assets <> Assets Page (#11306)
* feat: create hook for quering foreign assets locations

* feat: add foreign assets tab

* fix: useMapKeys used instead of useMapEntries

* chore: rename hook

* feat: add ForeignAssets component and Summary for displaying foreign asset counts

* chore: rename folder

* feat: implement useForeignAssetInfos hook for managing foreign asset information

* feat: add Asset and Assets components for displaying foreign asset information

* feat: enhance Asset component with CopyButton for location and adjust Assets table layout

* chore: add translations

* fix: CI error

* fix: CI build errors

* feat: added expander component for multilocation

* chore: align position change
2025-02-19 08:16:59 -05:00
Arjun Porwal
11024f141a
Refactor Assets Page <> Improve Non-Native Asset Balance Display (#11290)
* feat: shown assets in table format

* feat: refactor Account and Asset components for improved rendering and styling

* feat: add search functionality to asset balances display

* feat: remove emptySpinner prop from Balances table
2025-02-12 08:17:07 -05: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
Arjun Porwal
cc01f15892
fix: broken balances page (#11230) 2025-01-23 09:57:59 -05:00
Arjun Porwal
ee75d54869
fix: get next asset id issue (#11213)
* fix: get next asset id

* fix: asset id bit length as prop

* chore: type for asset id bitlength

* fix: special case for assethub chains

* chore: remove toLowerCase()
2025-01-21 10:47:30 -05:00
Arjun Porwal
fdca72830b
fix: default asset selection (#11222) 2025-01-21 08:05:32 -05:00
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Tarik Gul
51052fb3d6
Filter assets before multi call (#10592) 2024-05-18 00:49:25 +03:00
Tarik Gul
d7d297590e
Fix polkadex assets balances page (#10576)
* Fix polkadex assets balances page

* remove console.log
2024-05-15 15:09:33 +03:00
Levi
3392970904
feat: support asset filter (#10423) 2024-04-04 10:20:55 -04:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02: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
e0e2605564
Bump dev (w/ eslint config updates) (#9472) 2023-05-21 09:04:36 +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
b4098280d0
Upgrade to latest react-router (#9230)
* Upgrade to latest react-router

* Additional

* Adjustment to tabs, dedupe routes

* Adjust for Route element={...} usage

* Align (soon-to-be-removed) gilt routing

* Change path='' to index
2023-03-28 09:35:15 +03: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
27098f34b8
Bump deps (#9040)
* Bump deps

* Bumps

* Adjust

* Adjust

* Adjust test imports

* Adjust

* Re-adjust

* Fix frequency package name

* Adjust build

* Adjust

* Fix before import

* Adjust

* require script

* Adjust checks

* Linting fixes

* Fix json alongside other tests

* Move fixup script

* Remove main type: "module"

* Adjust (some) tests

* Adjust chartjs imports

* Bump deps

* Adjust

* Bump deps

* Adjust styled imports

* Bump deps

* Adjust
2023-02-20 11:38:52 +02:00
Jaco
7d24f50c38
Bump deps (incl. TS) (#8931)
* Bump deps (incl. TS)

* Adjust ESM packages for Jest

* Yet more Jest hacks

* Make horrible jest config slightly prettier

* Unbump electron

* Fix external package deps
2023-02-03 15:01:45 +02:00
Jaco
6ecccdc031
Additional alignment of staking UI layout (#8828)
* Additional alignment of staking UI layout

* Allow for validator tagging & sorting

* Adjust flag injection (re-create object)

* currentEra for staking queries

* Pass SessionInfo structure

* Display badges

* Adjust flags

* Adjust status media

* Badge background adjustments

* Don't do additional table split

* Adjust table split
2023-01-17 11:30:34 +02:00
Jaco
9f401cc8ec
Adjust styled injection (assets, bounties, calendar, claims) (#8808)
* Adjust styled injection (assets, bounties, calendar, claims)

* Build fixes
2023-01-15 11:03:06 +02:00
Jaco
e63eeb506c
Rework (some) component styled injection (#8795)
* Rework (some) component styled injection

* Small build fixes

* Additional build fixes

* Additional

* Fixes

* Remove unused SelectedDrag

* Remover unneeded props passing

* Fix build

* Remove unneeded inline-block
2023-01-14 15:22:42 +02:00
Jaco
0bf67023d0
Adjust InputBalance label positions (#8790)
* Adjust InputBalance label positions

* Allow null values

* Fix undefined params
2023-01-14 09:46:26 +02:00
Jaco
453a505d58
Predefine columns for Table favorites/expander (#8690)
* Predefine columns for Table favorites/expander

* Adjust header definition types

* Additional header typings

* lint override

* Add Table.Column.Id

* Use Table.Column.Favorite for staking
2023-01-05 17:39:02 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
7cd2b81583
Display individual ranked votes (#8480)
* Display individual ranked votes

* Adjust
2022-12-05 14:13:12 +02: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
c55a15dc53
Extract Latency/API stats reusable chart (#7679)
* Extract Latency/API stats reusable chart

* Adjust
2022-06-02 11:54:47 +03:00
Jaco
0e54bb3643
Adjust options for useTxBatch (#7311) 2022-04-06 08:21:07 +03:00
Jaco
832ae3a5ff
Align unique id trigger to assets (#7174) 2022-03-17 08:34:29 +02:00
Jaco
dec2af80f0
useEventChanges for AssetId updates (#7131)
* useEventChanges for AssetId updates

* Update packages/react-hooks/src/useEventChanges.ts
2022-03-15 17:30:22 +02:00
Jaco
47767ea424
Align entry retrieval with key retrieval (#7096) 2022-03-03 10:19:33 +02:00
Jaco
01d78c33af
Adjust useMapKeys trigger params (#7091) 2022-03-02 20:04:32 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
8e1b261f94
Bump dev (#6765)
* Bump dev

* Rebuild
2022-01-01 11:58:33 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
30f61b3262
Adjust asset column breakpoints (#6760) 2021-12-31 09:07:15 +02:00
Jaco
a16d60076d
Use relay identity for common-good & system chains (#6758)
* Use relay identity for common-good & system chains

* Adjust

* Align useCallMulti
2021-12-30 17:38:26 +02:00
Jaco
22b0d5daea
Bump API (7.0.2, derive fixes) (#6718)
* Bump API (7.0.2, derive fixes)

* Fix assets for latest/older

* No composite
2021-12-21 11:22:02 +02:00
goldsteinsveta
35ca160a43
Style bug fix: Balances asset selector (#6668)
* Update index.tsx

* lint
2021-12-12 07:18:46 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
3715cfe6d3
Use metadata v14 types in assets (statemine upgraded) (#6446) 2021-10-30 08:39:53 +03:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one (#5914)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
Jaco
c21dadcd9e
Optimize crowdloan refresh (delta only on events) (#5549)
* Optimize crowdloan refresh (delata only on events)

* Adjust own contributions
2021-06-10 09:05:40 +02:00
Jaco
0c942dc10a
Add useMap{Entries, Keys} hooks (#5164) 2021-04-30 09:03:13 +02:00
Jaco
c45ba809c8
Asset supply with no metadata (#5148) 2021-04-26 21:00:46 +02:00
Jaco
c2265a75e4
Bump deps (#5136) 2021-04-24 11:04:52 +02:00
Jaco
70a68182c9
Adjust asset available id lookup (#5135)
* Adjust available id lookup

* Update packages/page-assets/src/index.tsx

* (now) unused import
2021-04-24 09:11:47 +02:00
Jaco
d00c562e70
Show minimum balance on asset mint/transfer (#5134)
* Show minimum blanace on asset mint/transfer

* Bump API
2021-04-24 07:08:50 +02:00