diff --git a/packages/desktop/components/menus/ActivityListMenu.svelte b/packages/desktop/components/menus/ActivityListMenu.svelte new file mode 100644 index 0000000000..dc9794f0fd --- /dev/null +++ b/packages/desktop/components/menus/ActivityListMenu.svelte @@ -0,0 +1,33 @@ + + +{#if items.length} + + + +{/if} diff --git a/packages/desktop/components/menus/index.ts b/packages/desktop/components/menus/index.ts index c551404b8b..5fcb127bf1 100644 --- a/packages/desktop/components/menus/index.ts +++ b/packages/desktop/components/menus/index.ts @@ -1,4 +1,5 @@ export { default as AccountActionsMenu } from './AccountActionsMenu.svelte' +export { default as ActivityListMenu } from './ActivityListMenu.svelte' export { default as CollectibleDetailsMenu } from './CollectibleDetailsMenu.svelte' export { default as CollectiblesListMenu } from './CollectiblesListMenu.svelte' export { default as ContactActionsMenu } from './ContactActionsMenu.svelte' diff --git a/packages/desktop/components/popup/Popup.svelte b/packages/desktop/components/popup/Popup.svelte index f2a8330bd9..9a1875f58d 100644 --- a/packages/desktop/components/popup/Popup.svelte +++ b/packages/desktop/components/popup/Popup.svelte @@ -34,6 +34,7 @@ import DiagnosticsPopup from './popups/DiagnosticsPopup.svelte' import ErrorLogPopup from './popups/ErrorLogPopup.svelte' import EvmTransactionFromDappPopup from './popups/EvmTransactionFromDappPopup.svelte' + import ExportActivitiesPopup from './popups/ExportActivitiesPopup.svelte' import FaucetRequestPopup from './popups/FaucetRequestPopup.svelte' import ImportErc20TokenFormPopup from './popups/ImportErc20TokenFormPopup.svelte' import ImportErc721TokenFormPopup from './popups/ImportErc721TokenFormPopup.svelte' @@ -113,6 +114,7 @@ [PopupId.Diagnostics]: DiagnosticsPopup, [PopupId.ErrorLog]: ErrorLogPopup, [PopupId.EvmTransactionFromDapp]: EvmTransactionFromDappPopup, + [PopupId.ExportActivities]: ExportActivitiesPopup, [PopupId.FaucetRequest]: FaucetRequestPopup, [PopupId.ImportErc20Token]: ImportErc20TokenFormPopup, [PopupId.ImportErc721Token]: ImportErc721TokenFormPopup, diff --git a/packages/desktop/components/popup/popups/ExportActivitiesPopup.svelte b/packages/desktop/components/popup/popups/ExportActivitiesPopup.svelte new file mode 100644 index 0000000000..a8e3485291 --- /dev/null +++ b/packages/desktop/components/popup/popups/ExportActivitiesPopup.svelte @@ -0,0 +1,31 @@ + + + diff --git a/packages/desktop/features/wallet.features.ts b/packages/desktop/features/wallet.features.ts index 5c9312e935..3ca9df9184 100644 --- a/packages/desktop/features/wallet.features.ts +++ b/packages/desktop/features/wallet.features.ts @@ -28,6 +28,9 @@ const walletFeatures: IWalletFeatures = { search: { enabled: true, }, + exportCsv: { + enabled: false, + }, }, portfolio: { filter: { diff --git a/packages/desktop/lib/auxiliary/popup/enums/popup-id.enum.ts b/packages/desktop/lib/auxiliary/popup/enums/popup-id.enum.ts index 2567f4377c..7abc08dfd4 100644 --- a/packages/desktop/lib/auxiliary/popup/enums/popup-id.enum.ts +++ b/packages/desktop/lib/auxiliary/popup/enums/popup-id.enum.ts @@ -17,6 +17,7 @@ export enum PopupId { Diagnostics = 'diagnostics', ErrorLog = 'errorLog', EvmTransactionFromDapp = 'EvmTransactionFromDapp', + ExportActivities = 'ExportActivities', FaucetRequest = 'faucetRequest', ImportErc20Token = 'importErc20Token', ImportErc721Token = 'importErc721Token', @@ -45,7 +46,6 @@ export enum PopupId { TestDeepLinkForm = 'testDeepLinkForm', TokenInformation = 'tokenInformation', UnlockStronghold = 'unlockStronghold', - VerifyLedgerTransaction = 'verifyLedgerTransaction', VoteForProposal = 'voteForProposal', VotingPowerToZero = 'votingPowerToZero', } diff --git a/packages/desktop/lib/auxiliary/popup/types/popup-component-map.type.ts b/packages/desktop/lib/auxiliary/popup/types/popup-component-map.type.ts index e4c58b6c21..e525300efe 100644 --- a/packages/desktop/lib/auxiliary/popup/types/popup-component-map.type.ts +++ b/packages/desktop/lib/auxiliary/popup/types/popup-component-map.type.ts @@ -1,3 +1,4 @@ +import { SvelteComponent } from 'svelte' import { PopupId } from '../enums' -export type PopupComponentMap = { [key in PopupId]: unknown } +export type PopupComponentMap = { [key in PopupId]: typeof SvelteComponent } diff --git a/packages/desktop/views/dashboard/wallet/tab-section/TabSection.svelte b/packages/desktop/views/dashboard/wallet/tab-section/TabSection.svelte index 9fafb39e38..830feee6ef 100644 --- a/packages/desktop/views/dashboard/wallet/tab-section/TabSection.svelte +++ b/packages/desktop/views/dashboard/wallet/tab-section/TabSection.svelte @@ -1,6 +1,6 @@