UX: Android-Installationsanleitung — Hinweis bei Sicherheitswarnung ergänzt (SW by-v759)
This commit is contained in:
parent
5d37c96796
commit
8683de4bf2
5 changed files with 22 additions and 4 deletions
|
|
@ -327,7 +327,7 @@ MEDIA_DIR = os.getenv("MEDIA_DIR", "/data/media")
|
||||||
os.makedirs(MEDIA_DIR, exist_ok=True)
|
os.makedirs(MEDIA_DIR, exist_ok=True)
|
||||||
app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media")
|
app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media")
|
||||||
|
|
||||||
APP_VER = "758" # muss mit APP_VER in app.js übereinstimmen
|
APP_VER = "759" # muss mit APP_VER in app.js übereinstimmen
|
||||||
|
|
||||||
@app.get("/api/version")
|
@app.get("/api/version")
|
||||||
async def app_version():
|
async def app_version():
|
||||||
|
|
|
||||||
|
|
@ -578,7 +578,7 @@
|
||||||
<script src="/js/api.js?v=94"></script>
|
<script src="/js/api.js?v=94"></script>
|
||||||
<script src="/js/ui.js?v=94"></script>
|
<script src="/js/ui.js?v=94"></script>
|
||||||
<script src="/js/app.js?v=94"></script>
|
<script src="/js/app.js?v=94"></script>
|
||||||
<script src="/js/worlds.js?v=758"></script>
|
<script src="/js/worlds.js?v=759"></script>
|
||||||
|
|
||||||
<!-- Feature-Seiten werden lazy geladen -->
|
<!-- Feature-Seiten werden lazy geladen -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '758'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '759'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
const APP_VERSION = '1.5.0'; // ← semantische Version, wird bei make release gesetzt
|
const APP_VERSION = '1.5.0'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1074,6 +1074,15 @@ window.Page_welcome = (() => {
|
||||||
['dots-three-circle','Tippe auf das <strong>Menü ⋮</strong> oben rechts'],
|
['dots-three-circle','Tippe auf das <strong>Menü ⋮</strong> oben rechts'],
|
||||||
['download-simple', 'Wähle <strong>„App installieren"</strong> oder<br>„Zum Startbildschirm hinzufügen"'],
|
['download-simple', 'Wähle <strong>„App installieren"</strong> oder<br>„Zum Startbildschirm hinzufügen"'],
|
||||||
])}
|
])}
|
||||||
|
<div style="display:flex;gap:var(--space-2);align-items:flex-start;
|
||||||
|
background:var(--c-surface);border-radius:var(--radius-md);
|
||||||
|
padding:var(--space-3) var(--space-3);margin-top:var(--space-4)">
|
||||||
|
<svg class="ph-icon" style="width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--c-text-secondary)"
|
||||||
|
aria-hidden="true"><use href="/icons/phosphor.svg#shield-warning"></use></svg>
|
||||||
|
<p style="font-size:var(--text-xs);color:var(--c-text-secondary);margin:0;line-height:1.5">
|
||||||
|
Falls eine Sicherheitswarnung erscheint: Das ist normal für neuere Webseiten — unabhängig vom Inhalt. Ban Yaro läuft auf einem deutschen Server, ist DSGVO-konform und enthält keine Schadsoftware. Tippe auf <strong>„Trotzdem hinzufügen"</strong>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<button class="btn btn-ghost btn-sm" id="install-copy-btn"
|
<button class="btn btn-ghost btn-sm" id="install-copy-btn"
|
||||||
style="margin-top:var(--space-3);width:100%">
|
style="margin-top:var(--space-3);width:100%">
|
||||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#copy"></use></svg>
|
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#copy"></use></svg>
|
||||||
|
|
@ -1097,6 +1106,15 @@ window.Page_welcome = (() => {
|
||||||
['monitor', 'Klicke auf das <strong>Installations-Symbol</strong> in der Adressleiste'],
|
['monitor', 'Klicke auf das <strong>Installations-Symbol</strong> in der Adressleiste'],
|
||||||
['check', 'Bestätigen — fertig!'],
|
['check', 'Bestätigen — fertig!'],
|
||||||
])}
|
])}
|
||||||
|
<div style="display:flex;gap:var(--space-2);align-items:flex-start;
|
||||||
|
background:var(--c-surface);border-radius:var(--radius-md);
|
||||||
|
padding:var(--space-3);margin-top:var(--space-4)">
|
||||||
|
<svg class="ph-icon" style="width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--c-text-secondary)"
|
||||||
|
aria-hidden="true"><use href="/icons/phosphor.svg#shield-warning"></use></svg>
|
||||||
|
<p style="font-size:var(--text-xs);color:var(--c-text-secondary);margin:0;line-height:1.5">
|
||||||
|
Falls eine Sicherheitswarnung erscheint: Das ist normal für neuere Webseiten. Tippe auf <strong>„Trotzdem hinzufügen"</strong>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="inst-panel-ios" style="display:none">
|
<div id="inst-panel-ios" style="display:none">
|
||||||
${_steps([
|
${_steps([
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v758';
|
const CACHE_VERSION = 'by-v759';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue