Files
HealthLog/public/manifest.json
T
Marc-André Bombeck 0278b6045e fix(pwa): keep the Medications home-screen shortcut
The shortcut is the quickest way to a dose for everyone who tracks
medications. With the module switched off it opens the page that says so
and offers to turn it back on, which is a sensible landing, so the
shortcut stays. The unread `source=shortcut` parameter stays removed.
2026-11-11 21:33:07 +01:00

66 lines
1.5 KiB
JSON

{
"name": "HealthLog",
"short_name": "HealthLog",
"description": "Personal health tracking — weight, blood pressure, medications",
"id": "/?source=pwa",
"scope": "/",
"start_url": "/",
"display": "standalone",
"display_override": ["standalone", "minimal-ui"],
"categories": ["health", "medical", "lifestyle"],
"theme_color": "#282a36",
"background_color": "#282a36",
"icons": [
{
"src": "/logo-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/logo-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/logo-maskable-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/logo-maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"shortcuts": [
{
"name": "Add measurement",
"short_name": "Add",
"url": "/measurements?add=WEIGHT",
"icons": [
{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }
]
},
{
"name": "Today",
"short_name": "Today",
"url": "/",
"icons": [
{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }
]
},
{
"name": "Medications",
"short_name": "Meds",
"url": "/medications",
"icons": [
{ "src": "/logo-192.png", "sizes": "192x192", "type": "image/png" }
]
}
]
}