You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: chatbot installeren als webapp (PWA) op telefoon, incl. icon — fase 1 op NAS #35
De chatbot (chat-UI op app/static/index.html) installeerbaar maken als webapp op de telefoon, inclusief thuis-schermicon. Fase 1 draait op de Synology NAS achter NPM (zie app/docker-compose.nas.yml + scripts/deploy-nas.ps1); de VPS blijft de long-term target (ADR-0002).
Besluiten (grilling-sessie, alle vragen approved)
PWA, geen store-app (Capacitor) en geen bladwijzer.
Iconen afgeleid van app/static/wielie.jpg op clubblauw #033ec2: 512, 192, maskable 512 (80%-veilige zone), apple-touch-icon 180 (ondoorzichtig), favicon 32. Generator: scripts/make_icons.py, output committed in app/static/icons/.
Service worker cachet ALLEEN de app-shell; /chat, /feedback, /healthz gaan altijd via netwerk en worden NOOIT gecached (privacy-belofte: geen vraag-antwoord buiten de server om bewaren).
Manifest: name "WTC Chatbot", short_name "Wheely", display standalone, start_url/scope relatief (/) zodat de latere VPS-overstap DNS-only is, theme-color #033ec2.
CSP in app/main.py én app/Caddyfile uitbreiden met worker-src 'self'; manifest-src 'self'; hermetische tests mee-updaten.
NAS fase 1: NPM proxy host chat.famstieltjes.nl (Let's Encrypt, Force SSL) -> http://wtchatbot:8000 op het cloud-netwerk. Webapp-installatie is HTTPS-only; LAN-HTTP is test-only (service worker registreert niet op plain HTTP).
Deploy: scripts/deploy-nas.ps1 (bestaat al), .env met API-key leeft in fase 1 op de NAS — ADR-0007 documenteert de amendment van ADR-0002 (beschikbaarheid, dynamisch IP, key-locatie).
Geen in-app "installeer"-knop; wel een how-to in docs/how-to/ voor leden (Android Chrome + iOS Safari).
https://chat.famstieltjes.nl laadt manifest + sw.js; Android toont installatieprompt, iOS "Zet op beginscherm" met icon
The user confirms that the iPhone home-screen icon is installed and that chat works when launched from the installed webapp. This verifies installed-webapp behavior, not merely a Safari tab.
The user explicitly accepts unavailable Android installation testing as a limitation for this acceptance. Android installation and its prompt remain UNVERIFIED; this is an accepted exception to the original definition of done, not a passing Android test.
Previously verified in this session:
All 21 app tests pass, including manifest, service-worker, icon, CSP and head-tag coverage.
Public HTTPS manifest and service worker returned HTTP 200.
ADR-0007, glossary entry, installation how-to and operations updates are present.
The Firefox chat startup failure was fixed and verified on the affected iPhone; the related bug is closed.
A generic diagnostic JavaScript Error at line 0/column 0 remains unexplained, but did not prevent the verified Firefox chat. No claim is made that this error has been resolved.
The route is clear and no larger wayfinder map is needed. Closing as completed with the explicitly accepted Android verification limitation.
Activity
perf(app): snellere laadtijd + kortere worst-case bij trage answers (#35
Atrium0804 commentedon Nov 6, 2026
Acceptance resolution
The user confirms that the iPhone home-screen icon is installed and that chat works when launched from the installed webapp. This verifies installed-webapp behavior, not merely a Safari tab.
The user explicitly accepts unavailable Android installation testing as a limitation for this acceptance. Android installation and its prompt remain UNVERIFIED; this is an accepted exception to the original definition of done, not a passing Android test.
Previously verified in this session:
A generic diagnostic JavaScript Error at line 0/column 0 remains unexplained, but did not prevent the verified Firefox chat. No claim is made that this error has been resolved.
The route is clear and no larger wayfinder map is needed. Closing as completed with the explicitly accepted Android verification limitation.