From 87c688d5b78f6b663f2182745d02e82818f1aade Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:43:30 +0200 Subject: [PATCH] =?UTF-8?q?Wetter-Chip=20JETZT:=20Wetter-=20und=20Warn-Ico?= =?UTF-8?q?n=20vertikal=20gestapelt=20statt=20nebeneinander=20(mehr=20Plat?= =?UTF-8?q?z=20f=C3=BCr=20Text),=20SW=20v1122?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/js/worlds.js | 19 +++++++++++-------- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 27 insertions(+), 24 deletions(-) diff --git a/VERSION b/VERSION index 1bbe7d8..4ee16cc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1121 \ No newline at end of file +1122 \ No newline at end of file diff --git a/backend/static/index.html b/backend/static/index.html index 492a942..b365ccd 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -86,14 +86,14 @@ Ban Yaro - + - - - - - + + + + + @@ -617,11 +617,11 @@ - - - - - + + + + + @@ -631,7 +631,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 2f73a26..daba218 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '1121'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1122'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VERSION = APP_VERSION; diff --git a/backend/static/js/worlds.js b/backend/static/js/worlds.js index 7459eeb..c85881f 100644 --- a/backend/static/js/worlds.js +++ b/backend/static/js/worlds.js @@ -1147,13 +1147,13 @@ window.Worlds = (() => { } const gassiScore = _calcGassiScore(w); const gassiColor = gassiScore >= 8 ? '#10B981' : gassiScore >= 5 ? '#F59E0B' : '#EF4444'; - const weatherEmoji = !w ? '🌤️' - : w.thunderstorm ? '⛈️' - : (w.precip_prob ?? 0) > 70 ? '🌧️' - : (w.precip_prob ?? 0) > 30 ? '🌦️' - : (w.temp_c ?? 20) > 28 ? '☀️🔥' - : (w.temp_c ?? 20) < 2 ? '🌨️' - : '☀️'; + const weatherEmoji = !w ? ['🌤️'] + : w.thunderstorm ? ['⛈️'] + : (w.precip_prob ?? 0) > 70 ? ['🌧️'] + : (w.precip_prob ?? 0) > 30 ? ['🌦️'] + : (w.temp_c ?? 20) > 28 ? ['☀️', '🔥'] + : (w.temp_c ?? 20) < 2 ? ['🌨️'] + : ['☀️']; // User-Geburtstag Reminder const userBdayHtml = userBdayToday ? ` @@ -1227,7 +1227,10 @@ window.Worlds = (() => {
- ${weatherEmoji} +
+ ${weatherEmoji.map(e => `${e}`).join('')} +
Gassi-Score
diff --git a/backend/static/landing.html b/backend/static/landing.html index a139a4f..d5194a9 100644 --- a/backend/static/landing.html +++ b/backend/static/landing.html @@ -4,7 +4,7 @@ - + Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz diff --git a/backend/static/sw.js b/backend/static/sw.js index ef11b5a..e6aa54a 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -4,7 +4,7 @@ ============================================================ */ // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab -const VER = '1121'; +const VER = '1122'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten