From 805e1c2d7d99e14806bc78844d31cd4bdfdd3879 Mon Sep 17 00:00:00 2001 From: boc-the-git <3479092+boc-the-git@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:40:57 +1100 Subject: [PATCH] feat: Add shortcuts for PWA (#3255) * Add PWA shortcuts, for Meal Planner and Shopping List * Remove icons from shortcuts - they don't seem to work with nuxt * Remove icon --- frontend/nuxt.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/frontend/nuxt.config.js b/frontend/nuxt.config.js index ce63574c4ba8..9e01cb343bfa 100644 --- a/frontend/nuxt.config.js +++ b/frontend/nuxt.config.js @@ -379,6 +379,20 @@ export default { purpose: "maskable", }, ], + "shortcuts": [ + { + "name": "Shopping Lists", + "short_name": "Shopping Lists", + "description": "Open the shopping lists", + "url": "/shopping-lists", + }, + { + "name": "Meal Planner", + "short_name": "Meal Planner", + "description": "Open the meal planner", + "url": "/group/mealplan/planner/view", + }, + ], }, icon: false, // disables the icon module },