feat: PWA offline capture — IndexedDB queue, service worker cache, auto-sync on reconnect

This commit is contained in:
2026-07-11 19:07:35 +08:00
parent 8c88118b15
commit c048878600
7 changed files with 251 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"name": "IMS — Incident Management",
"short_name": "IMS",
"description": "HSE Incident Management System — Setia Corporation",
"start_url": "/ims/report",
"scope": "/ims/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#2563eb",
"icons": [
{
"src": "/ims/icons/icon.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "any maskable"
}
]
}