diff --git a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue index f4521f32d..e11459217 100644 --- a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue +++ b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue @@ -56,10 +56,15 @@ +
+
+ {{ $t("expert_mode") }} +
+
- + @@ -85,7 +90,28 @@ - + + + + + + + + + + + + + + + + + + + + + + @@ -95,6 +121,9 @@ + + + @@ -290,7 +319,7 @@ Vue.use(VueCookies) Vue.use(BootstrapVue) let SEARCH_COOKIE_NAME = "search_settings" -let UI_COOKIE_NAME = "_uisearch_settings" +let UI_COOKIE_NAME = "ui_search_settings" export default { name: "RecipeSearchView", @@ -316,6 +345,7 @@ export default { search_foods_or: true, search_books_or: true, pagination_page: 1, + expert_mode: false, }, ui: { show_meal_plan: true, @@ -327,6 +357,13 @@ export default { remember_hours: 4, sql_debug: false, tree_select: false, + enable_expert: false, + show_keywords: true, + show_foods: true, + show_books: true, + show_rating: true, + show_units: false, + show_filters: false, }, pagination_count: 0, random_search: false, diff --git a/vue/src/locales/en.json b/vue/src/locales/en.json index 9bf72a48c..c0ce9c9bf 100644 --- a/vue/src/locales/en.json +++ b/vue/src/locales/en.json @@ -296,5 +296,15 @@ "food_recipe_help": "Linking a recipe here will include the linked recipe in any other recipe that use this food", "Foods": "Foods", "review_shopping": "Review shopping entries before saving", - "view_recipe": "View Recipe" + "view_recipe": "View Recipe", + "enable_expert": "Enable Export Mode", + "expert_mode": "Expert Mode", + "advanced": "Advanced", + "fields": "Fields", + "show_keywords": "Show Keywords", + "show_foods": "Show Foods", + "show_books": "Show Books", + "show_rating": "Show Rating", + "show_units": "Show Units", + "show_filters": "Show Filters" }