From 042b0f097f2ca8a8414e662eddcb24bad54961f3 Mon Sep 17 00:00:00 2001 From: Massedil Date: Mon, 28 Oct 2024 19:41:30 +0100 Subject: [PATCH] Fix #1476 by updating the search interface - Removed "Everything" choice for search, default to "Events" - Add radio button for search type selection (events, activities, groups) - Label now have a cursor pointer - Remove the confusing concept of EVENTS, SHORTEVENTS and LONGEVENTS. There is only EVENTS and LONGEVENTS. --- src/components/NavBar.vue | 13 +- src/types/enums.ts | 2 - src/views/SearchView.vue | 431 ++++++++++++-------------------------- 3 files changed, 133 insertions(+), 313 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index fae37b5a8..31c1e966e 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -186,18 +186,7 @@ v-model:location="location" /> -
  • - {{ t("Events") }} -
  • -
  • +
  • - - - - - - - - - - + + + + + {{ content.label }} - {{ content.label }} -
  • @@ -90,7 +85,7 @@ /> @@ -106,7 +101,7 @@ /> @@ -142,7 +137,7 @@ /> @@ -182,7 +177,7 @@ /> @@ -216,7 +211,7 @@ /> @@ -277,7 +272,7 @@ /> @@ -324,7 +319,7 @@ /> @@ -360,61 +355,6 @@ - -
    -