From dc9bddc6b281200599155f84b9d6e76dafea4f09 Mon Sep 17 00:00:00 2001 From: natsoni Date: Sun, 3 Mar 2024 18:31:39 +0100 Subject: [PATCH] Remove checkbox for expired UTXOs and add new tab --- .../expired-utxos-stats.component.html | 8 +++----- .../federation-utxos-list.component.html | 9 --------- .../federation-utxos-list.component.ts | 6 ------ .../federation-wallet/federation-wallet.component.html | 6 ++++-- .../federation-wallet/federation-wallet.component.scss | 7 +++++++ .../federation-wallet/federation-wallet.component.ts | 4 ++++ frontend/src/app/dashboard/dashboard.component.html | 4 ++-- 7 files changed, 20 insertions(+), 24 deletions(-) diff --git a/frontend/src/app/components/liquid-reserves-audit/expired-utxos-stats/expired-utxos-stats.component.html b/frontend/src/app/components/liquid-reserves-audit/expired-utxos-stats/expired-utxos-stats.component.html index 79c30cafa..9ac503f49 100644 --- a/frontend/src/app/components/liquid-reserves-audit/expired-utxos-stats/expired-utxos-stats.component.html +++ b/frontend/src/app/components/liquid-reserves-audit/expired-utxos-stats/expired-utxos-stats.component.html @@ -1,10 +1,8 @@
- -
Non-Dust Expired
-
+
Non-Dust Expired
-
{{ (+expiredStats.nonDust.total) / 100000000 | number: '1.5-5' }} BTC
+
{{ (+expiredStats.nonDust.total) / 100000000 | number: '1.5-5' }} BTC
{{ expiredStats.nonDust.count }} UTXOs
@@ -14,7 +12,7 @@
Total Expired 
-
{{ (+expiredStats.all.total) / 100000000 | number: '1.5-5' }} BTC
+
{{ (+expiredStats.all.total) / 100000000 | number: '1.5-5' }} BTC
{{ expiredStats.all.count }} UTXOs
diff --git a/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.html b/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.html index b31e3f9ac..f386ed64b 100644 --- a/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.html +++ b/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.html @@ -1,14 +1,5 @@
-
-
- - -
-
-
diff --git a/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.ts b/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.ts index da4bfc09b..78181375d 100644 --- a/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.ts +++ b/frontend/src/app/components/liquid-reserves-audit/federation-utxos-list/federation-utxos-list.component.ts @@ -120,12 +120,6 @@ export class FederationUtxosListComponent implements OnInit { this.page = page; } - onShowExpiredUtxosToggleChange(e): void { - const fragment = e.target.checked ? 'expired' : null; - this.router.navigate([], { fragment }); - this.isLoading = true; - } - getGradientColor(value: number): string { const distanceToGreen = Math.abs(4032 - value); const green = '#7CB342'; diff --git a/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.html b/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.html index a92264e0a..4f9fd1ff4 100644 --- a/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.html +++ b/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.html @@ -6,8 +6,10 @@
-
Federation Expired UTXOs
+
Federation Timelock-Expired UTXOs
@@ -310,7 +310,7 @@
-
Federation Expired UTXOs
+
Federation Timelock-Expired UTXOs