feat(pwa): add a separate web manifest scoped to the chat

The dashboard's manifest is generated by next-pwa from next.config.js.
A second static manifest in public/, linked from the chat page,
installs as its own app called Ask. The explicit id field stops the
two manifests on the same origin from being treated as updates to one
another.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
DEls 2026-08-30 08:57:45 +02:00
parent e63c653886
commit fce03e44f3

32
public/chat.webmanifest Normal file
View file

@ -0,0 +1,32 @@
{
"name": "MEGA Ask",
"short_name": "Ask",
"description": "Ask questions about MEGA INFRASTRUCTURE site, fleet and purchasing data.",
"theme_color": "#fdb13c",
"background_color": "#e8ebed",
"display": "standalone",
"orientation": "portrait",
"scope": "/dashboard/chat",
"start_url": "/dashboard/chat",
"id": "/dashboard/chat",
"icons": [
{
"src": "/icons/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}