resources/js/admin/mobile/lib.
- Admin push is end‑to‑end: new backend model/migration/service/job + API endpoints, admin runtime config, push‑aware
service worker, and a settings toggle via useAdminPushSubscription. Notifications now auto‑refresh on push.
- New PHP/JS tests: admin push API feature test and queue/haptics unit tests
Added admin-specific PWA icon assets and wired them into the admin manifest, service worker, and admin shell, plus a
new “Device & permissions” card in mobile Settings with a persistent storage action and translations.
Details: public/manifest.json, public/admin-sw.js, resources/views/admin.blade.php, new icons in public/; new hook
resources/js/admin/mobile/hooks/useDevicePermissions.ts, helpers/tests in resources/js/admin/mobile/lib/
devicePermissions.ts + resources/js/admin/mobile/lib/devicePermissions.test.ts, and Settings UI updates in resources/
js/admin/mobile/SettingsPage.tsx with copy in resources/js/admin/i18n/locales/en/management.json and resources/js/
admin/i18n/locales/de/management.json.
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
||
"name": "Fotospiel Customer Admin",
|
||
"short_name": "Fotospiel Admin",
|
||
"id": "/event-admin",
|
||
"start_url": "/event-admin/",
|
||
"scope": "/event-admin/",
|
||
"display": "standalone",
|
||
"lang": "de-DE",
|
||
"description": "Verwalte Events, Pakete und Gäste mobil – inklusive geführtem Onboarding und schnellen Management-Tools.",
|
||
"background_color": "#0f172a",
|
||
"theme_color": "#f43f5e",
|
||
"orientation": "portrait",
|
||
"categories": ["productivity", "photo-video"],
|
||
"icons": [
|
||
{
|
||
"src": "/favicon.svg",
|
||
"sizes": "any",
|
||
"type": "image/svg+xml",
|
||
"purpose": "any"
|
||
},
|
||
{
|
||
"src": "/admin-icon-192.png",
|
||
"sizes": "192x192",
|
||
"type": "image/png",
|
||
"purpose": "any"
|
||
},
|
||
{
|
||
"src": "/admin-icon-512.png",
|
||
"sizes": "512x512",
|
||
"type": "image/png",
|
||
"purpose": "any"
|
||
},
|
||
{
|
||
"src": "/admin-icon-192-maskable.png",
|
||
"sizes": "192x192",
|
||
"type": "image/png",
|
||
"purpose": "maskable"
|
||
},
|
||
{
|
||
"src": "/admin-icon-512-maskable.png",
|
||
"sizes": "512x512",
|
||
"type": "image/png",
|
||
"purpose": "maskable"
|
||
}
|
||
],
|
||
"shortcuts": [
|
||
{
|
||
"name": "Neues Event planen",
|
||
"short_name": "Event planen",
|
||
"url": "/event-admin/welcome",
|
||
"description": "Starte den geführten Onboarding-Prozess für dein nächstes Event."
|
||
},
|
||
{
|
||
"name": "Dashboard",
|
||
"short_name": "Dashboard",
|
||
"url": "/event-admin/",
|
||
"description": "Direkt zur Übersicht deiner Events und Aufgaben."
|
||
}
|
||
],
|
||
"prefer_related_applications": false
|
||
}
|