From 49741c56be4dcd456b0e9f63aebb60b7c3d6aa22 Mon Sep 17 00:00:00 2001 From: Korbinian Date: Sun, 5 Nov 2023 02:14:15 +0100 Subject: [PATCH] feat(bridge-ui-v2): NFT transaction page (#15084) --- .../Bridge/NFTBridgeSteps/ImportStep.svelte | 1 + .../Bridge/NFTBridgeSteps/ReviewStep.svelte | 1 + .../ChainSelector/ChainSelector.svelte | 7 +- .../src/components/Header/Header.svelte | 3 +- .../src/components/Icon/IconFlipper.svelte | 10 +- .../src/components/NFTs/NFTInfoDialog.svelte | 7 +- .../TokenDropdown/TokenDropdown.svelte | 4 +- .../Transactions/StatusFilterDropdown.svelte | 79 ++++++ .../Transactions/Transaction.svelte | 244 +++++++++++++----- .../Transactions/Transactions.svelte | 75 ++++-- packages/bridge-ui-v2/src/i18n/en.json | 16 +- .../src/libs/token/fetchNFTImageUrl.ts | 125 ++++----- .../src/libs/util/customActions.ts | 41 +++ .../src/libs/util/safeParseUrl.ts | 4 +- 14 files changed, 442 insertions(+), 175 deletions(-) create mode 100644 packages/bridge-ui-v2/src/components/Transactions/StatusFilterDropdown.svelte create mode 100644 packages/bridge-ui-v2/src/libs/util/customActions.ts diff --git a/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ImportStep.svelte b/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ImportStep.svelte index c6fe84559a7..0c8d4548507 100644 --- a/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ImportStep.svelte +++ b/packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/ImportStep.svelte @@ -322,6 +322,7 @@ Automatic NFT Input
- {#if isBridgePage} + {#if isBridgePage || isTransactionsPage}