From dc26d97dc1c45254c58e40afbb024e10dfa8d563 Mon Sep 17 00:00:00 2001 From: Antonio Ventilii Date: Mon, 4 Nov 2024 22:06:46 +0100 Subject: [PATCH 1/3] refactor(frontend): remove deprecated logged out status in Transactions --- .../lib/components/transactions/Transactions.svelte | 7 +------ .../transactions/TransactionsSignedOut.svelte | 11 ----------- src/frontend/src/lib/i18n/en.json | 1 - 3 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 src/frontend/src/lib/components/transactions/TransactionsSignedOut.svelte diff --git a/src/frontend/src/lib/components/transactions/Transactions.svelte b/src/frontend/src/lib/components/transactions/Transactions.svelte index 0ddd19d579..6ad9415ffd 100644 --- a/src/frontend/src/lib/components/transactions/Transactions.svelte +++ b/src/frontend/src/lib/components/transactions/Transactions.svelte @@ -1,11 +1,6 @@ -{#if $authSignedIn} -{:else} - -{/if} + diff --git a/src/frontend/src/lib/components/transactions/TransactionsSignedOut.svelte b/src/frontend/src/lib/components/transactions/TransactionsSignedOut.svelte deleted file mode 100644 index 0208724826..0000000000 --- a/src/frontend/src/lib/components/transactions/TransactionsSignedOut.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - -
{$i18n.transactions.text.title}
- -

- {$i18n.transactions.text.sign_in} -

diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index a8c8dc29f0..46d34ab7a3 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -645,7 +645,6 @@ "title": "Transactions", "buy_or_receive": "Make your first transaction, and buy or receive tokens now!", "transaction_history": "Your transaction history will appear here", - "sign_in": "Sign in to view your transactions.", "open_transactions": "Open the list of $token transactions", "mainnet_btc_transactions_info": "BTC transaction information is obtained from central third parties and should be independently verified." }, From 8bd1f8288430229aaeed7c5d416f8873112721a5 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 21:07:51 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A4=96=20Updated=20i18n=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/lib/types/i18n.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/frontend/src/lib/types/i18n.d.ts b/src/frontend/src/lib/types/i18n.d.ts index 01e4743a3e..346efd2c99 100644 --- a/src/frontend/src/lib/types/i18n.d.ts +++ b/src/frontend/src/lib/types/i18n.d.ts @@ -579,7 +579,6 @@ interface I18nTransactions { title: string; buy_or_receive: string; transaction_history: string; - sign_in: string; open_transactions: string; mainnet_btc_transactions_info: string; }; From 2d1da2af6fbaafaa021452cd6ac26c4ccf77b7b6 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 21:09:11 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=A4=96=20Apply=20formatting=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/components/transactions/Transactions.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/src/lib/components/transactions/Transactions.svelte b/src/frontend/src/lib/components/transactions/Transactions.svelte index 6ad9415ffd..c194ddb9b3 100644 --- a/src/frontend/src/lib/components/transactions/Transactions.svelte +++ b/src/frontend/src/lib/components/transactions/Transactions.svelte @@ -2,5 +2,4 @@ import TransactionsSignedIn from '$lib/components/transactions/TransactionsSignedIn.svelte'; - - +