From 8405ae8d52e186dd755b6f3c289f1b6f0df1ae03 Mon Sep 17 00:00:00 2001 From: Carlos Rosado Date: Wed, 10 Apr 2024 23:22:25 -0600 Subject: [PATCH 01/16] feat: automatic update of blocks and transactions - An option was added to the view to be able to indicate the automatic updating of blocks and transactions. - Unnecessary code was removed from the home view - The automatic update for transactions only works when you are in the home view, this prevents the data from being reloaded in the transaction view. --- src/components/Home.vue | 24 +---- .../Transactions/LastTransactions.vue | 70 +++++++++++--- src/components/Transactions/TxBox.vue | 7 +- src/components/home/Block/LastBlocks.vue | 39 +++++--- src/store/modules/backend/actions.js | 6 +- src/store/modules/backend/getters.js | 4 + src/styles/_controls.scss | 96 ++++++++++--------- src/styles/_home.scss | 13 ++- 8 files changed, 159 insertions(+), 100 deletions(-) diff --git a/src/components/Home.vue b/src/components/Home.vue index 363c7d5a..e27fbc93 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -12,9 +12,8 @@ diff --git a/src/components/Transactions/LastTransactions.vue b/src/components/Transactions/LastTransactions.vue index 8b19ba80..4d30f809 100644 --- a/src/components/Transactions/LastTransactions.vue +++ b/src/components/Transactions/LastTransactions.vue @@ -1,20 +1,22 @@ diff --git a/src/components/Transactions/TxBox.vue b/src/components/Transactions/TxBox.vue index 3520e69f..2c4fc9e6 100644 --- a/src/components/Transactions/TxBox.vue +++ b/src/components/Transactions/TxBox.vue @@ -19,14 +19,11 @@
-
+
-
- {{ tx.txType }} -
@@ -34,7 +31,7 @@
-
+
diff --git a/src/components/home/Block/LastBlocks.vue b/src/components/home/Block/LastBlocks.vue index 2b13f184..f77c72b5 100644 --- a/src/components/home/Block/LastBlocks.vue +++ b/src/components/home/Block/LastBlocks.vue @@ -1,15 +1,24 @@