UX: Hinweis 'Welten bearbeiten' im Ausgeblendete-Funktionen-Sheet (SW by-v929)
This commit is contained in:
parent
00457f52f9
commit
3585958c47
4 changed files with 23 additions and 3 deletions
|
|
@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
|
||||||
raise _HE(404, "Nicht gefunden.")
|
raise _HE(404, "Nicht gefunden.")
|
||||||
return _media_response(filepath)
|
return _media_response(filepath)
|
||||||
|
|
||||||
APP_VER = "928" # muss mit APP_VER in app.js übereinstimmen
|
APP_VER = "929" # muss mit APP_VER in app.js übereinstimmen
|
||||||
|
|
||||||
@app.get("/.well-known/assetlinks.json")
|
@app.get("/.well-known/assetlinks.json")
|
||||||
async def assetlinks():
|
async def assetlinks():
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '928'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '929'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
|
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||||
|
|
|
||||||
|
|
@ -373,6 +373,22 @@ window.Worlds = (() => {
|
||||||
${sections || `<div style="text-align:center;padding:24px 0;color:var(--c-text-secondary);font-size:var(--text-sm)">
|
${sections || `<div style="text-align:center;padding:24px 0;color:var(--c-text-secondary);font-size:var(--text-sm)">
|
||||||
Alle Funktionen sind bereits in deinen Welten sichtbar.
|
Alle Funktionen sind bereits in deinen Welten sichtbar.
|
||||||
</div>`}
|
</div>`}
|
||||||
|
<div style="margin-top:16px;padding:12px 14px;border-radius:12px;
|
||||||
|
background:var(--c-surface-raised,rgba(0,0,0,.04));
|
||||||
|
font-size:var(--text-xs);color:var(--c-text-secondary);line-height:1.6;
|
||||||
|
display:flex;align-items:flex-start;gap:10px">
|
||||||
|
<svg class="ph-icon" style="width:1rem;height:1rem;flex-shrink:0;margin-top:1px;color:var(--c-primary)">
|
||||||
|
<use href="/icons/phosphor.svg#info"></use>
|
||||||
|
</svg>
|
||||||
|
<span>Einzelne Funktionen ausblenden oder zwischen den Welten verschieben:
|
||||||
|
<button id="fab-all-goto-worlds" style="background:none;border:none;padding:0;cursor:pointer;
|
||||||
|
color:var(--c-primary);font-size:inherit;font-family:inherit;font-weight:600;
|
||||||
|
text-decoration:underline;text-underline-offset:2px">
|
||||||
|
Welten bearbeiten
|
||||||
|
</button>
|
||||||
|
in deinem Profil.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
@ -387,6 +403,10 @@ window.Worlds = (() => {
|
||||||
navigateTo(btn.dataset.page);
|
navigateTo(btn.dataset.page);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
ov.querySelector('#fab-all-goto-worlds')?.addEventListener('click', () => {
|
||||||
|
_close();
|
||||||
|
_openConfigModal();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── SCHNELL-GASSI ─────────────────────────────────────────────
|
// ── SCHNELL-GASSI ─────────────────────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v928';
|
const CACHE_VERSION = 'by-v929';
|
||||||
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