diff --git a/VERSION b/VERSION index ff7be53..163dda9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1134 \ No newline at end of file +1135 \ No newline at end of file diff --git a/backend/static/index.html b/backend/static/index.html index cd373a2..de83c82 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 e116fa3..17ac074 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 = '1134'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1135'; // ← 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 71a59ec..f942b02 100644 --- a/backend/static/js/pages/dog-profile.js +++ b/backend/static/js/pages/dog-profile.js @@ -1233,7 +1233,13 @@ window.Page_dog_profile = (() => { - ` : ''} + + ${!dog ? ` +
+ +
` : ''}` : ''} @@ -1308,6 +1314,16 @@ window.Page_dog_profile = (() => { document.getElementById('dp-form-cancel') ?.addEventListener('click', UI.modal.close); + // „Später erinnern" auf der Standalone-Anlage-Seite (nicht im Modal): + // Onboarding als erledigt markieren und zurück auf die Welten/Home, + // damit man nicht in der Form festhängt. + document.getElementById('dp-form-later') + ?.addEventListener('click', () => { + localStorage.setItem('by_onboarding_done', '1'); + if (window.Worlds) window.Worlds.init(_appState); + else App.navigate('welcome'); + }); + document.getElementById('dp-gedenken-btn')?.addEventListener('click', async () => { UI.modal.close(); _openGedenkenFlow(dog); diff --git a/backend/static/landing.html b/backend/static/landing.html index a04db75..b65790a 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 f92b73f..e847531 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 = '1134'; +const VER = '1135'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten