From b69d2273ae92f624e4b41a52c27f9dc951732482 Mon Sep 17 00:00:00 2001 From: MateuszMichalowski <79852198+MateuszMichalowski@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:06:34 +0200 Subject: [PATCH] feat(frontend): add transaction link in latest transactions (#3375) * fix(frontend): post migration fixes * fix(frontend): align with stylelint * fix(frontend): fix tests and dashboard layout * feat(frontend): add link to transactions * feat(frontend): remove unused code * feat(frontend): let dynamic keys in translations * feat(frontend): fix stylelint * feat(frontend): add missing styles for breadcrumb --------- Co-authored-by: einhornimmond --- frontend/.eslintrc.js | 1 - .../src/components/Breadcrumb/breadcrumb.vue | 9 +- .../src/components/GddTransactionList.vue | 31 +--- frontend/src/components/Menu/Navbar.vue | 6 + .../Template/RightSide/LastTransactions.vue | 87 +++++---- frontend/src/components/Transaction.spec.js | 8 + frontend/src/components/Transaction.vue | 13 +- .../src/components/TransactionListItem.vue | 1 + .../Transactions/GddTransaction.vue | 167 ++++++++++++++++++ frontend/src/layouts/DashboardLayout.vue | 1 + frontend/src/pages/Transactions.vue | 1 - frontend/src/routes/routes.js | 1 + frontend/src/store/store.js | 7 + 13 files changed, 275 insertions(+), 58 deletions(-) create mode 100644 frontend/src/components/Transactions/GddTransaction.vue diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index 108acad23..74a82c45c 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -50,7 +50,6 @@ module.exports = { 'vue/v-on-event-hyphenation': 0, // TODO remove at the end of migration and fix 'vue/require-default-prop': 0, // TODO remove at the end of migration and fix 'vue/no-computed-properties-in-data': 0, // TODO remove at the end of migration and fix - '@intlify/vue-i18n/no-dynamic-keys': 'error', '@intlify/vue-i18n/no-missing-keys': 0, // TODO remove at the end of migration and fix '@intlify/vue-i18n/no-unused-keys': [ 'error', diff --git a/frontend/src/components/Breadcrumb/breadcrumb.vue b/frontend/src/components/Breadcrumb/breadcrumb.vue index 6eb3368e7..305b34fe7 100644 --- a/frontend/src/components/Breadcrumb/breadcrumb.vue +++ b/frontend/src/components/Breadcrumb/breadcrumb.vue @@ -1,5 +1,5 @@ @@ -17,3 +17,10 @@ export default { }, } + + diff --git a/frontend/src/components/GddTransactionList.vue b/frontend/src/components/GddTransactionList.vue index b0cd1bd5e..8396f8d52 100644 --- a/frontend/src/components/GddTransactionList.vue +++ b/frontend/src/components/GddTransactionList.vue @@ -24,27 +24,18 @@
-
+
-