From 55b354e86513f5113029061a10a7422721d7b225 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 4 Jun 2026 12:27:01 +0200 Subject: [PATCH] =?UTF-8?q?Freunde:=20Annehmen/Ablehnen-Buttons=20mit=20Te?= =?UTF-8?q?xt-Label=20(Icon-only=20war=20f=C3=BCr=20Nutzer=20nicht=20erken?= =?UTF-8?q?nbar)=20+=20Fix=20/apifriends/same-breed=20Slash-Bug,=20SW=20v1?= =?UTF-8?q?162?= 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/pages/dog-profile.js | 2 +- backend/static/js/pages/friends.js | 2 ++ backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 7 files changed, 19 insertions(+), 17 deletions(-) diff --git a/VERSION b/VERSION index 8535dde..d5e7c40 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1161 \ No newline at end of file +1162 \ No newline at end of file diff --git a/backend/static/index.html b/backend/static/index.html index 950d38a..85c40c8 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 23c0284..af14237 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 = '1161'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1162'; // ← 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/dog-profile.js b/backend/static/js/pages/dog-profile.js index f942b02..c5498d8 100644 --- a/backend/static/js/pages/dog-profile.js +++ b/backend/static/js/pages/dog-profile.js @@ -2452,7 +2452,7 @@ window.Page_dog_profile = (() => { const el = document.getElementById('dp-same-breed-chip'); if (!el) return; try { - const data = await API.get('friends/same-breed'); + const data = await API.get('/friends/same-breed'); if (!data || data.count === 0) return; const hauptRasse = data.rassen[0]?.rasse || ''; const label = data.count === 1 diff --git a/backend/static/js/pages/friends.js b/backend/static/js/pages/friends.js index ea4405c..87a177a 100644 --- a/backend/static/js/pages/friends.js +++ b/backend/static/js/pages/friends.js @@ -361,10 +361,12 @@ window.Page_friends = (() => { diff --git a/backend/static/landing.html b/backend/static/landing.html index cc2d2b7..bd85f7f 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 4d7fd1d..dab5f8d 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 = '1161'; +const VER = '1162'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten