From ebf38add4a132ce666c7a38261a356c0123dec10 Mon Sep 17 00:00:00 2001 From: Florian Dupret <34862846+sephrat@users.noreply.github.com> Date: Tue, 27 Apr 2021 20:05:32 +0200 Subject: [PATCH] Provide feedback to user when no meal is planned --- docs/docs/changelog/v0.5.0.md | 6 +++++- frontend/src/pages/MealPlan/ThisWeek.vue | 4 ++++ frontend/src/routes/meal.js | 16 ++++++++++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/docs/changelog/v0.5.0.md b/docs/docs/changelog/v0.5.0.md index 930b272ec..f9060d554 100644 --- a/docs/docs/changelog/v0.5.0.md +++ b/docs/docs/changelog/v0.5.0.md @@ -17,6 +17,8 @@ - Fixes #281 - Slow Handling of Large Sets of Recipes ## Features and Improvements +- 'Dinner this week' shows a warning when no meal is planned yet +- 'Dinner today' shows a warning when no meal is planned yet ### General - More localization @@ -32,4 +34,6 @@ ### Behind the Scenes - Unified Sidebar Components -- Refactor UI components to fit Vue best practices (WIP) \ No newline at end of file +- Refactor UI components to fit Vue best practices (WIP) +- The API returns more consistent status codes +- The API returns error code instead of error text when appropriate \ No newline at end of file diff --git a/frontend/src/pages/MealPlan/ThisWeek.vue b/frontend/src/pages/MealPlan/ThisWeek.vue index 9043d549c..ab7e9b543 100644 --- a/frontend/src/pages/MealPlan/ThisWeek.vue +++ b/frontend/src/pages/MealPlan/ThisWeek.vue @@ -52,6 +52,7 @@