From 7473dceeea5595a61765f902bf11bd9feff18494 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Wed, 8 Jun 2022 14:53:10 +0200 Subject: [PATCH] favorite modules component and navigationb composable --- src/components/FavoriteModules.vue | 56 +++++ src/components/LeftMenu.vue | 223 +++++++++++++------- src/components/Navbar.vue | 17 +- src/components/__tests__/Leftmenu.spec.js | 6 +- src/composables/__tests__/useModule.spec.js | 42 ++++ src/composables/useNavigation.js | 92 ++++++++ src/i18n/en/index.js | 5 + src/i18n/es/index.js | 5 + src/pages/Customer/CustomerMain.vue | 2 +- src/pages/Dashboard/Dashboard.vue | 117 +++++----- src/pages/Ticket/TicketMain.vue | 2 +- src/router/modules/customer.js | 1 + src/router/modules/ticket.js | 1 + 13 files changed, 422 insertions(+), 147 deletions(-) create mode 100644 src/components/FavoriteModules.vue create mode 100644 src/composables/__tests__/useModule.spec.js create mode 100644 src/composables/useNavigation.js diff --git a/src/components/FavoriteModules.vue b/src/components/FavoriteModules.vue new file mode 100644 index 000000000..0e04429c9 --- /dev/null +++ b/src/components/FavoriteModules.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/components/LeftMenu.vue b/src/components/LeftMenu.vue index fccaef1cb..3dfbe194e 100644 --- a/src/components/LeftMenu.vue +++ b/src/components/LeftMenu.vue @@ -1,91 +1,166 @@