feat(pos-pwa): pOS: make TPV installable PWA and launch fullscreen

This commit is contained in:
Deploy
2026-08-26 20:38:19 +02:00
parent 158d55b8c6
commit 19f37b70e1
10 changed files with 137 additions and 8 deletions

View File

@@ -0,0 +1,4 @@
# POS-PWA
## Change
POS app now has a PWA manifest (`/manifest.webmanifest`), enabling installability on Android/Chrome. iOS support via appleWebApp meta tags.

View File

@@ -0,0 +1,16 @@
# Implementer — POS-PWA
## Summary
Added PWA manifest and viewport/theme_color to POS app.
## Files
- `app/manifest.ts`: PWA manifest with standalone display, theme_color #70AD47
- `app/layout.tsx`: added viewport export with themeColor, appleWebApp config, manifest link
## Note
Removed `themeColor` from metadata export (unsupported by Next.js 16) — it now lives only in the `viewport` export.
## Validation
- `cd project/apps/pos && npm run build` ✅ (no warnings)
- `/manifest.webmanifest` generated as static page
- `git diff --check`

View File

@@ -0,0 +1,13 @@
{
"feature_id": "POS-PWA",
"agent": "leader",
"stage": "close",
"verdict": "APPROVED",
"summary": "POS-PWA cerrada: manifest + viewport añadidos.",
"gates_summary": {
"reviewer": "APPROVED",
"security": "APPROVED",
"qa": "APPROVED"
},
"timestamp": "2026-08-26T18:36:35Z"
}

View File

@@ -0,0 +1,12 @@
{
"feature_id": "POS-PWA",
"agent": "qa",
"stage": "qa_gate",
"verdict": "APPROVED",
"qa_check": "qa",
"summary": "Build clean. manifest.webmanifest visible in build output.",
"test_results": {
"automated": ["cd project/apps/pos && npm run build ✅", "git diff --check ✅"]
},
"timestamp": "2026-08-26T18:36:30Z"
}

View File

@@ -0,0 +1,14 @@
{
"feature_id": "POS-PWA",
"agent": "reviewer",
"stage": "review_gate",
"verdict": "APPROVED",
"summary": "PWA manifest + viewport added to POS app. themeColor moved to viewport export per Next.js 16 requirements.",
"checks": [
{ "item": "manifest.webmanifest generated", "ok": true },
{ "item": "No build warnings", "ok": true }
],
"issues": [],
"evidence": ["cd project/apps/pos && npm run build", "git diff --check"],
"timestamp": "2026-08-26T18:36:20Z"
}

View File

@@ -0,0 +1,9 @@
{
"feature_id": "POS-PWA",
"agent": "security",
"stage": "security_gate",
"verdict": "APPROVED",
"security_check": "security",
"summary": "Manifest and viewport metadata, no security implications.",
"timestamp": "2026-08-26T18:36:25Z"
}