From 8f8127a5fc05777446326dc56c750d57c0a1a0d2 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Mon, 24 May 2021 20:28:14 -0800 Subject: [PATCH] bug/mobile-fixes (#426) * search dialog rewrite * lazy-load shopping list * fit search bar * event table * set urls for static content Co-authored-by: hay-kot --- frontend/src/App.vue | 3 + .../src/components/MealPlan/MealPlanCard.vue | 10 +- .../components/Recipe/MobileRecipeCard.vue | 72 ++++---- .../src/components/UI/Dialogs/BaseDialog.vue | 5 +- .../components/UI/Dialogs/SearchDialog.vue | 161 ++++++++++++++++++ .../components/UI/Search/FuseSearchBar.vue | 6 +- .../src/components/UI/Search/SearchBar.vue | 161 ++---------------- .../src/components/UI/Search/SearchDialog.vue | 17 +- frontend/src/components/UI/TheAppBar.vue | 2 +- .../Admin/ToolBox/CategoryTagEditor/index.vue | 5 +- .../pages/Admin/ToolBox/EventNotification.vue | 147 +++++++--------- frontend/src/pages/ShoppingList/index.vue | 26 +-- 12 files changed, 326 insertions(+), 289 deletions(-) create mode 100644 frontend/src/components/UI/Dialogs/SearchDialog.vue diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 6abf35e5e528..d096b49031ff 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -75,6 +75,9 @@ export default { diff --git a/frontend/src/components/UI/Dialogs/SearchDialog.vue b/frontend/src/components/UI/Dialogs/SearchDialog.vue new file mode 100644 index 000000000000..e77e88a006c6 --- /dev/null +++ b/frontend/src/components/UI/Dialogs/SearchDialog.vue @@ -0,0 +1,161 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/components/UI/Search/FuseSearchBar.vue b/frontend/src/components/UI/Search/FuseSearchBar.vue index e721c47c74ca..fa109197e945 100644 --- a/frontend/src/components/UI/Search/FuseSearchBar.vue +++ b/frontend/src/components/UI/Search/FuseSearchBar.vue @@ -73,4 +73,8 @@ export default { }; - + diff --git a/frontend/src/components/UI/Search/SearchBar.vue b/frontend/src/components/UI/Search/SearchBar.vue index ef256ceef476..f84d3ba02237 100644 --- a/frontend/src/components/UI/Search/SearchBar.vue +++ b/frontend/src/components/UI/Search/SearchBar.vue @@ -1,24 +1,20 @@