From fa1b0d060376cd9e6c3535545f2f8a73ce371d96 Mon Sep 17 00:00:00 2001 From: Ulas Date: Tue, 14 Apr 2026 08:52:00 +0200 Subject: [PATCH] fix: restore weather widget position - display directly below greeting banner --- public/pages/dashboard.js | 2 +- server/routes/preferences.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/pages/dashboard.js b/public/pages/dashboard.js index 53c510e..ac055b8 100644 --- a/public/pages/dashboard.js +++ b/public/pages/dashboard.js @@ -16,7 +16,7 @@ let _fabController = null; // Widget-Definitionen (Reihenfolge = Standard-Layout) // -------------------------------------------------------- -const WIDGET_IDS = ['tasks', 'calendar', 'shopping', 'meals', 'notes', 'weather']; +const WIDGET_IDS = ['weather', 'tasks', 'calendar', 'shopping', 'meals', 'notes']; const DEFAULT_WIDGET_CONFIG = WIDGET_IDS.map((id) => ({ id, visible: true })); diff --git a/server/routes/preferences.js b/server/routes/preferences.js index fbcb73c..fe59c9f 100644 --- a/server/routes/preferences.js +++ b/server/routes/preferences.js @@ -18,7 +18,7 @@ const DEFAULT_MEAL_TYPES = VALID_MEAL_TYPES.join(','); const VALID_CURRENCIES = ['EUR', 'USD', 'GBP', 'SEK', 'NOK', 'DKK', 'CHF', 'CNY', 'PLN', 'CZK', 'HUF', 'JPY', 'AUD', 'CAD', 'TRY', 'RUB']; const DEFAULT_CURRENCY = 'EUR'; -const VALID_WIDGET_IDS = ['tasks', 'calendar', 'shopping', 'meals', 'notes', 'weather']; +const VALID_WIDGET_IDS = ['weather', 'tasks', 'calendar', 'shopping', 'meals', 'notes']; const DEFAULT_WIDGET_CONFIG = JSON.stringify(VALID_WIDGET_IDS.map((id) => ({ id, visible: true }))); // --------------------------------------------------------