From b239eee0d6212d5d060672b2a744446884406064 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:36:30 +0200 Subject: [PATCH 1/9] Wetter: aktuelle Ist-Temperatur als Jetzt-Banner oben (API.weather.get parallel), SW v1121 --- VERSION | 2 +- backend/static/index.html | 24 +++++++-------- backend/static/js/app.js | 2 +- backend/static/js/pages/wetter.js | 49 +++++++++++++++++++++++++++++-- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 63 insertions(+), 18 deletions(-) diff --git a/VERSION b/VERSION index a2998a8..1bbe7d8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1120 \ No newline at end of file +1121 \ No newline at end of file diff --git a/backend/static/index.html b/backend/static/index.html index 23df4c7..492a942 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 bcdacdd..2f73a26 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 = '1120'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1121'; // ← 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/pages/wetter.js b/backend/static/js/pages/wetter.js index e3803fe..eea9c5f 100644 --- a/backend/static/js/pages/wetter.js +++ b/backend/static/js/pages/wetter.js @@ -58,6 +58,7 @@ window.Page_wetter = (() => { let _container = null; let _appState = null; let _data = null; + let _current = null; let _selDay = 0; let _loading = false; let _recordsLoaded = false; @@ -239,8 +240,13 @@ window.Page_wetter = (() => { if (_loading) return; _loading = true; try { - _data = await API.weather.forecast(lat, lon); - _selDay = 0; + const [forecast, current] = await Promise.all([ + API.weather.forecast(lat, lon), + API.weather.get(lat, lon).catch(() => null), // Ist-Temperatur, best-effort + ]); + _data = forecast; + _current = current; + _selDay = 0; _renderWeather(); } catch { const body = _container.querySelector('#wttr-body'); @@ -275,6 +281,8 @@ window.Page_wetter = (() => { if (!days.length) return; body.innerHTML = ` + ${_nowBanner()} +
+ ${_wmoIcon(c.weathercode, '3rem')} +
+ + ${Math.round(c.temp_c)}° + + + Jetzt + +
+
+ ${UI.escape(sub)} +
+
+ `; + } + // ---------------------------------------------------------- // STRIP AKTUALISIEREN (aktiver Tag) // ---------------------------------------------------------- diff --git a/backend/static/landing.html b/backend/static/landing.html index ce34c61..a139a4f 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 0b797bf..ef11b5a 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 = '1120'; +const VER = '1121'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From 87c688d5b78f6b663f2182745d02e82818f1aade Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:43:30 +0200 Subject: [PATCH 2/9] =?UTF-8?q?Wetter-Chip=20JETZT:=20Wetter-=20und=20Warn?= =?UTF-8?q?-Icon=20vertikal=20gestapelt=20statt=20nebeneinander=20(mehr=20?= =?UTF-8?q?Platz=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 From bf67bf558feec9a9e599f07f18e211d25697f87a Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:48:44 +0200 Subject: [PATCH 3/9] TEST: Chip/Banner-Abdunklung+Blur je Welt unterschiedlich (JETZT mild, HUND mittel, WELT stark reduziert), SW v1123 --- VERSION | 2 +- backend/static/css/components.css | 31 +++++++++++++++++++------------ backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 35 insertions(+), 28 deletions(-) diff --git a/VERSION b/VERSION index 4ee16cc..dbbcbc8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1122 \ No newline at end of file +1123 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index 309f5e4..9296bb0 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8179,9 +8179,9 @@ svg.empty-state-icon { /* Frosted-Glass Info-Card (oben in jeder Welt) */ .world-info-card { - background: rgba(0, 0, 0, 0.38); - backdrop-filter: blur(18px) saturate(1.6); - -webkit-backdrop-filter: blur(18px) saturate(1.6); + background: rgba(0, 0, 0, var(--wbg-dim, 0.38)); + backdrop-filter: blur(var(--wbg-blur, 18px)) saturate(1.6); + -webkit-backdrop-filter: blur(var(--wbg-blur, 18px)) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; padding: 16px 18px; @@ -8202,9 +8202,9 @@ svg.empty-state-icon { /* Frosted-Glass Reminder-Card (für Streak, Alerts) */ .world-reminder { - background: rgba(0, 0, 0, 0.32); - backdrop-filter: blur(12px); - -webkit-backdrop-filter: blur(12px); + background: rgba(0, 0, 0, var(--wbg-dim, 0.32)); + backdrop-filter: blur(var(--wbg-blur, 12px)); + -webkit-backdrop-filter: blur(var(--wbg-blur, 12px)); border-radius: 16px; padding: 12px 16px; display: flex; @@ -8226,9 +8226,9 @@ svg.empty-state-icon { /* Einzelner Chip: Frosted Glass */ .world-chip { - background: rgba(0, 0, 0, 0.35); - backdrop-filter: blur(12px); - -webkit-backdrop-filter: blur(12px); + background: rgba(0, 0, 0, var(--wbg-dim, 0.35)); + backdrop-filter: blur(var(--wbg-blur, 12px)); + -webkit-backdrop-filter: blur(var(--wbg-blur, 12px)); border-radius: 16px; padding: 12px 6px; text-align: center; @@ -8267,6 +8267,13 @@ svg.empty-state-icon { #wp-hund .world-chip { border: 1px solid rgba(196, 132, 58, 0.65); } #wp-welt .world-chip { border: 1px solid rgba(99, 130, 220, 0.55); } +/* TEST: Chip/Banner-Abdunklung + Blur je Welt unterschiedlich (zum Vergleich) + Defaults (ohne Override): dim 0.32–0.38 / blur 12–18px + → JETZT mild, HUND mittel, WELT stark reduziert */ +#wp-jetzt { --wbg-dim: 0.28; --wbg-blur: 8px; } +#wp-hund { --wbg-dim: 0.20; --wbg-blur: 5px; } +#wp-welt { --wbg-dim: 0.14; --wbg-blur: 3px; } + /* Sektion-Label über Chip-Gruppen */ .world-section-label { font-size: 9px; @@ -8285,9 +8292,9 @@ svg.empty-state-icon { .wj-chip { flex: 1; min-width: 0; - background: rgba(0, 0, 0, 0.32); - backdrop-filter: blur(12px); - -webkit-backdrop-filter: blur(12px); + background: rgba(0, 0, 0, var(--wbg-dim, 0.32)); + backdrop-filter: blur(var(--wbg-blur, 12px)); + -webkit-backdrop-filter: blur(var(--wbg-blur, 12px)); border-radius: 14px; padding: 10px 6px 9px; display: flex; diff --git a/backend/static/index.html b/backend/static/index.html index b365ccd..81ce30d 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 daba218..1363879 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 = '1122'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1123'; // ← 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/landing.html b/backend/static/landing.html index d5194a9..b03cda8 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 e6aa54a..37752e9 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 = '1122'; +const VER = '1123'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From d468eed98fda2a055f8a541598d6174104bd9b9e Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:52:03 +0200 Subject: [PATCH 4/9] =?UTF-8?q?Welten:=20dim/blur=20einheitlich=20(WELT-We?= =?UTF-8?q?rt),=20TEST=20Chip-Rahmenst=C3=A4rke=20je=20Welt=20(JETZT=20sch?= =?UTF-8?q?wach/HUND=20mittel/WELT=20stark),=20SW=20v1124?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- backend/static/css/components.css | 17 +++++++---------- backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 23 insertions(+), 26 deletions(-) diff --git a/VERSION b/VERSION index dbbcbc8..63192f7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1123 \ No newline at end of file +1124 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index 9296bb0..babb25a 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8262,17 +8262,14 @@ svg.empty-state-icon { -webkit-box-orient: vertical; } -/* Chip-Umrandung je Welt */ -#wp-jetzt .world-chip { border: 1px solid rgba(196, 132, 58, 0.55); } -#wp-hund .world-chip { border: 1px solid rgba(196, 132, 58, 0.65); } -#wp-welt .world-chip { border: 1px solid rgba(99, 130, 220, 0.55); } +/* Chip/Banner-Abdunklung + Blur: einheitlich auf allen drei Welten (reduziert) */ +.world-panel { --wbg-dim: 0.14; --wbg-blur: 3px; } -/* TEST: Chip/Banner-Abdunklung + Blur je Welt unterschiedlich (zum Vergleich) - Defaults (ohne Override): dim 0.32–0.38 / blur 12–18px - → JETZT mild, HUND mittel, WELT stark reduziert */ -#wp-jetzt { --wbg-dim: 0.28; --wbg-blur: 8px; } -#wp-hund { --wbg-dim: 0.20; --wbg-blur: 5px; } -#wp-welt { --wbg-dim: 0.14; --wbg-blur: 3px; } +/* TEST: Chip-Rahmenstärke je Welt unterschiedlich (zum Vergleich) + → JETZT schwach, HUND mittel, WELT stark */ +#wp-jetzt .world-chip { border: 1px solid rgba(196, 132, 58, 0.25); } +#wp-hund .world-chip { border: 1px solid rgba(196, 132, 58, 0.55); } +#wp-welt .world-chip { border: 1px solid rgba(99, 130, 220, 0.90); } /* Sektion-Label über Chip-Gruppen */ .world-section-label { diff --git a/backend/static/index.html b/backend/static/index.html index 81ce30d..a55c31a 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 1363879..c457985 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 = '1123'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1124'; // ← 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/landing.html b/backend/static/landing.html index b03cda8..afad400 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 37752e9..de86c91 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 = '1123'; +const VER = '1124'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From 5c6af0991cb4bb0622807cd3f263237d5637a59e Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:55:44 +0200 Subject: [PATCH 5/9] Welten: WELT-Rahmen (blau 0.90) einheitlich auf allen Chips + Banner oben (info-card, reminder), SW v1125 --- VERSION | 2 +- backend/static/css/components.css | 10 ++++------ backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 20 insertions(+), 22 deletions(-) diff --git a/VERSION b/VERSION index 63192f7..304d0b0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1124 \ No newline at end of file +1125 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index babb25a..cc37ed5 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8182,7 +8182,7 @@ svg.empty-state-icon { background: rgba(0, 0, 0, var(--wbg-dim, 0.38)); backdrop-filter: blur(var(--wbg-blur, 18px)) saturate(1.6); -webkit-backdrop-filter: blur(var(--wbg-blur, 18px)) saturate(1.6); - border: 1px solid rgba(255, 255, 255, 0.14); + border: 1px solid rgba(99, 130, 220, 0.90); border-radius: 20px; padding: 16px 18px; color: white; @@ -8205,6 +8205,7 @@ svg.empty-state-icon { background: rgba(0, 0, 0, var(--wbg-dim, 0.32)); backdrop-filter: blur(var(--wbg-blur, 12px)); -webkit-backdrop-filter: blur(var(--wbg-blur, 12px)); + border: 1px solid rgba(99, 130, 220, 0.90); border-radius: 16px; padding: 12px 16px; display: flex; @@ -8265,11 +8266,8 @@ svg.empty-state-icon { /* Chip/Banner-Abdunklung + Blur: einheitlich auf allen drei Welten (reduziert) */ .world-panel { --wbg-dim: 0.14; --wbg-blur: 3px; } -/* TEST: Chip-Rahmenstärke je Welt unterschiedlich (zum Vergleich) - → JETZT schwach, HUND mittel, WELT stark */ -#wp-jetzt .world-chip { border: 1px solid rgba(196, 132, 58, 0.25); } -#wp-hund .world-chip { border: 1px solid rgba(196, 132, 58, 0.55); } -#wp-welt .world-chip { border: 1px solid rgba(99, 130, 220, 0.90); } +/* Chip-Rahmen: einheitlich auf allen drei Welten (WELT-Look, blau, deutlich) */ +.world-chip { border: 1px solid rgba(99, 130, 220, 0.90); } /* Sektion-Label über Chip-Gruppen */ .world-section-label { diff --git a/backend/static/index.html b/backend/static/index.html index a55c31a..1c70afb 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 c457985..bc9bd03 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 = '1124'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1125'; // ← 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/landing.html b/backend/static/landing.html index afad400..7e85b4e 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 de86c91..af1da4a 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 = '1124'; +const VER = '1125'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From 8bf451c16c3c43925f4eb3dfdebacd8f3a4acf3b Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 08:59:31 +0200 Subject: [PATCH 6/9] Welten-Rahmen: pro-Welt-Farbe via --wborder (JETZT/HUND orange, WELT blau, Alpha 0.55), JETZT-Chip-Reihe einbezogen, SW v1126 --- VERSION | 2 +- backend/static/css/components.css | 12 ++++++++---- backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 24 insertions(+), 20 deletions(-) diff --git a/VERSION b/VERSION index 304d0b0..8061414 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1125 \ No newline at end of file +1126 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index cc37ed5..a6954fd 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8182,7 +8182,7 @@ svg.empty-state-icon { background: rgba(0, 0, 0, var(--wbg-dim, 0.38)); backdrop-filter: blur(var(--wbg-blur, 18px)) saturate(1.6); -webkit-backdrop-filter: blur(var(--wbg-blur, 18px)) saturate(1.6); - border: 1px solid rgba(99, 130, 220, 0.90); + border: 1px solid var(--wborder, rgba(99, 130, 220, 0.55)); border-radius: 20px; padding: 16px 18px; color: white; @@ -8205,7 +8205,7 @@ svg.empty-state-icon { background: rgba(0, 0, 0, var(--wbg-dim, 0.32)); backdrop-filter: blur(var(--wbg-blur, 12px)); -webkit-backdrop-filter: blur(var(--wbg-blur, 12px)); - border: 1px solid rgba(99, 130, 220, 0.90); + border: 1px solid var(--wborder, rgba(99, 130, 220, 0.55)); border-radius: 16px; padding: 12px 16px; display: flex; @@ -8266,8 +8266,11 @@ svg.empty-state-icon { /* Chip/Banner-Abdunklung + Blur: einheitlich auf allen drei Welten (reduziert) */ .world-panel { --wbg-dim: 0.14; --wbg-blur: 3px; } -/* Chip-Rahmen: einheitlich auf allen drei Welten (WELT-Look, blau, deutlich) */ -.world-chip { border: 1px solid rgba(99, 130, 220, 0.90); } +/* Rahmenfarbe je Welt (Alpha einheitlich 0.55) — gilt für Chips + Banner oben */ +#wp-jetzt { --wborder: rgba(196, 132, 58, 0.55); } +#wp-hund { --wborder: rgba(196, 132, 58, 0.55); } +#wp-welt { --wborder: rgba(99, 130, 220, 0.55); } +.world-chip { border: 1px solid var(--wborder, rgba(99, 130, 220, 0.55)); } /* Sektion-Label über Chip-Gruppen */ .world-section-label { @@ -8290,6 +8293,7 @@ svg.empty-state-icon { background: rgba(0, 0, 0, var(--wbg-dim, 0.32)); backdrop-filter: blur(var(--wbg-blur, 12px)); -webkit-backdrop-filter: blur(var(--wbg-blur, 12px)); + border: 1px solid var(--wborder, rgba(99, 130, 220, 0.55)); border-radius: 14px; padding: 10px 6px 9px; display: flex; diff --git a/backend/static/index.html b/backend/static/index.html index 1c70afb..db4ce24 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 bc9bd03..6d72217 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 = '1125'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1126'; // ← 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/landing.html b/backend/static/landing.html index 7e85b4e..5c38e15 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 af1da4a..6fe3c33 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 = '1125'; +const VER = '1126'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From ac291995bde14b515f1feb6d0d77327083039ec4 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 09:03:47 +0200 Subject: [PATCH 7/9] =?UTF-8?q?Welten-Rahmen:=20ged=C3=A4mpfte=20Erdt?= =?UTF-8?q?=C3=B6ne=20(JETZT=20orange,=20HUND=20naturgr=C3=BCn=20#6B8055,?= =?UTF-8?q?=20WELT=20blaugrau=20#4A7A9B),=20SW=20v1127?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- backend/static/css/components.css | 9 +++++---- backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 21 insertions(+), 20 deletions(-) diff --git a/VERSION b/VERSION index 8061414..a496f02 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1126 \ No newline at end of file +1127 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index a6954fd..c6e9999 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8266,10 +8266,11 @@ svg.empty-state-icon { /* Chip/Banner-Abdunklung + Blur: einheitlich auf allen drei Welten (reduziert) */ .world-panel { --wbg-dim: 0.14; --wbg-blur: 3px; } -/* Rahmenfarbe je Welt (Alpha einheitlich 0.55) — gilt für Chips + Banner oben */ -#wp-jetzt { --wborder: rgba(196, 132, 58, 0.55); } -#wp-hund { --wborder: rgba(196, 132, 58, 0.55); } -#wp-welt { --wborder: rgba(99, 130, 220, 0.55); } +/* Rahmenfarbe je Welt (Alpha einheitlich 0.55) — gilt für Chips + Banner oben + Gedämpfte Erdtöne: JETZT orange, HUND naturgrün, WELT blaugrau */ +#wp-jetzt { --wborder: rgba(196, 132, 58, 0.55); } /* #C4843A Bernstein */ +#wp-hund { --wborder: rgba(107, 128, 85, 0.55); } /* #6B8055 Naturgrün */ +#wp-welt { --wborder: rgba(74, 122, 155, 0.55); } /* #4A7A9B Blaugrau */ .world-chip { border: 1px solid var(--wborder, rgba(99, 130, 220, 0.55)); } /* Sektion-Label über Chip-Gruppen */ diff --git a/backend/static/index.html b/backend/static/index.html index db4ce24..ca5df63 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 6d72217..6298146 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 = '1126'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1127'; // ← 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/landing.html b/backend/static/landing.html index 5c38e15..a72ba0a 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 6fe3c33..c1e27d6 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 = '1126'; +const VER = '1127'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From 184522a7c7cdd6136ae961c26bcbaf3aca87fa1c Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 09:09:28 +0200 Subject: [PATCH 8/9] =?UTF-8?q?Welten-Chips:=20bei=20<4=20Chips=20auf=20de?= =?UTF-8?q?m=20Handy=20horizontal=20zentriert=20(Flex=20statt=20linksb?= =?UTF-8?q?=C3=BCndiges=20Grid),=20SW=20v1128?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- backend/static/css/components.css | 13 +++++++++++++ backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 29 insertions(+), 16 deletions(-) diff --git a/VERSION b/VERSION index a496f02..46be098 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1127 \ No newline at end of file +1128 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index c6e9999..970c9c6 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -8225,6 +8225,19 @@ svg.empty-state-icon { gap: 7px; } +/* Handy: bei weniger als 4 Chips zentriert statt linksbündig (Symmetrie). + Chip-Breite bleibt exakt wie im 4er-Raster (3 Gaps × 7px = 21px). */ +@media (max-width: 767px) { + .world-chips-grid:not(:has(.world-chip:nth-child(4))) { + display: flex; + justify-content: center; + flex-wrap: wrap; + } + .world-chips-grid:not(:has(.world-chip:nth-child(4))) .world-chip { + width: calc((100% - 21px) / 4); + } +} + /* Einzelner Chip: Frosted Glass */ .world-chip { background: rgba(0, 0, 0, var(--wbg-dim, 0.35)); diff --git a/backend/static/index.html b/backend/static/index.html index ca5df63..4ad71f5 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 6298146..cdbffa3 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 = '1127'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1128'; // ← 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/landing.html b/backend/static/landing.html index a72ba0a..9aed3dd 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 c1e27d6..7236abb 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 = '1127'; +const VER = '1128'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten From fa1ecfa0fbdf5aa4d95d6e4fc3a839f389bc5982 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 29 May 2026 09:16:04 +0200 Subject: [PATCH 9/9] Fix: Welten-Chips letzte Zeile zentriert (Flex statt Grid), force-update setzt Cooldown gegen Dauerschleife, SW v1129 --- VERSION | 2 +- backend/main.py | 4 ++++ backend/static/css/components.css | 14 ++++++++------ backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 7 files changed, 28 insertions(+), 22 deletions(-) diff --git a/VERSION b/VERSION index 46be098..50e2ad9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1128 \ No newline at end of file +1129 \ No newline at end of file diff --git a/backend/main.py b/backend/main.py index aac642e..a582355 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1772,6 +1772,10 @@ border-radius:8px;font-size:16px;cursor:pointer} + - - - - - + + + + + @@ -617,11 +617,11 @@ - - - - - + + + + + @@ -631,7 +631,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index cdbffa3..b162e31 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 = '1128'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1129'; // ← 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/landing.html b/backend/static/landing.html index 9aed3dd..8febaa4 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 7236abb..8b38373 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 = '1128'; +const VER = '1129'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten