mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
feat(pwa): richer install metadata in the web manifest
Add categories (health, medical, lifestyle) and extend display_override to allow minimal-ui as a fallback. Maskable icons were already present. Screenshots are deferred until narrow + wide capture assets exist.
This commit is contained in:
1 parent
722af87382
commit
08d25e1cf0
2 files changed
+4
-2
No files matched your search
@@ -85,7 +85,8 @@ describe("public/manifest.json PWA identity hygiene (F-7, 2026-05-16)", () => {
|
||||
const manifest = JSON.parse(raw) as Record<string, unknown>;
|
||||
expect(manifest.scope).toBe("/");
|
||||
expect(manifest.id).toBe("/?source=pwa");
|
||||
expect(manifest.display_override).toEqual(["standalone"]);
|
||||
expect(manifest.display_override).toEqual(["standalone", "minimal-ui"]);
|
||||
expect(manifest.categories).toEqual(["health", "medical", "lifestyle"]);
|
||||
});
|
||||
|
||||
it("keeps the existing display/start_url contract", () => {
|
||||
|
||||
Reference in new issue
Block a user