From 3d745cc0e6ee0fc51e4d2cb350f349370ff2405a Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 11 Oct 2021 12:09:11 +0530 Subject: [PATCH 1/4] Improved: code by removing the redundant usage of ion-footer and declared the footer in the app file(#ew8pb0) --- src/App.vue | 28 ++++++++++++++++++++++++---- src/views/Search.vue | 10 ---------- src/views/Settings.vue | 5 +++-- src/views/Upload.vue | 20 ++++++++------------ 4 files changed, 35 insertions(+), 28 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1c775950..600aebee 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,21 +1,35 @@ \ No newline at end of file diff --git a/src/views/Search.vue b/src/views/Search.vue index 2efd7b68..dc51f3dc 100644 --- a/src/views/Search.vue +++ b/src/views/Search.vue @@ -29,17 +29,10 @@ - - - - - - + + \ No newline at end of file From 5876896ffe47222cd13fec3f82cb32e43fb24431 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 11 Oct 2021 12:15:46 +0530 Subject: [PATCH 2/4] Removed: the count route from the array(#ew8pb0) --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 600aebee..ef620f5f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -62,7 +62,7 @@ export default defineComponent({ }, computed: { showFooter () { - if (['/settings', '/count', '/search', '/upload'].includes(this.$route.path)) return true + if (['/settings', '/search', '/upload'].includes(this.$route.path)) return true return false } } From afbcd9b83db603d178c2cae072eedc50815e13ff Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 11 Oct 2021 12:21:32 +0530 Subject: [PATCH 3/4] Removed: the requested tab from the tabbar and from the internationalization file(#ew8pb0) --- src/components/TabBar.vue | 4 ---- src/locales/en.json | 1 - 2 files changed, 5 deletions(-) diff --git a/src/components/TabBar.vue b/src/components/TabBar.vue index e6a2fd88..bc9890ae 100644 --- a/src/components/TabBar.vue +++ b/src/components/TabBar.vue @@ -6,10 +6,6 @@ {{ $t("Search") }} - - - {{ $t("Requested") }} - {{ $t("Upload") }} diff --git a/src/locales/en.json b/src/locales/en.json index 0c0e6c5d..12ca11da 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -7,7 +7,6 @@ "Logout": "Logout", "Product not found": "Product not found", "Remove": "Remove", - "Requested": "Requested", "Save":"Save", "Scan": "Scan", "Search": "Search", From 88f53c5daccb2d2c5019d13a3cdbd893e58836c5 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Mon, 11 Oct 2021 12:31:53 +0530 Subject: [PATCH 4/4] Added: changelog entry file(#ew8pb0) --- changelogs/unreleased/-ew8pb0.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 changelogs/unreleased/-ew8pb0.yml diff --git a/changelogs/unreleased/-ew8pb0.yml b/changelogs/unreleased/-ew8pb0.yml new file mode 100644 index 00000000..138ead6a --- /dev/null +++ b/changelogs/unreleased/-ew8pb0.yml @@ -0,0 +1,7 @@ +--- +title: 'Improved: code by removing the redundant usage of ion-footer and declared + the footer in the app file, also removed the requested tab' +ticket_id: "#ew8pb0" +merge_request: 2 +author: Yash Maheshwari +type: fixed