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
frontend: voortgangsindicatie in typing-bubble + client-timeout met retry (index.html) #84
De UI toont statisch "Wielie denkt na…" en fetch("/chat") in app/static/index.html heeft geen timeout. Bij een 504 (NPM, 60s) of timeout verschijnt alleen de generieke "Er ging iets mis. Probeer het opnieuw." — de gebruiker wacht eindeloos zonder feedback.
Gewenst
Alleen frontend (app/static/index.html):
Typing-bubble met elapsed-time berichten: direct "Wielie denkt na…", na ~15s "Ik zoek in de reglementen…", na ~45s "Dit duurt langer dan normaal, nog even geduld…".
AbortController na ~120s: vriendelijker melding ("Dit duurt ongewoon lang — probeer het opnieuw.") en max. één automatische retry. Retry alléén bij netwerkfout, NIET na een read-timeout: Mistral kan de beurt dan al verwerkt hebben (dubbele beurt in de conversatie; zie eval/run_eval.py).
Acceptatiecriteria
Wijziging in app/static/index.html (zelfde stijl, geen nieuwe dependencies).
DOM-tests in app/tests/ (bestaande *.cjs-teststructuur volgen) voor de staged berichten en de abort/retry.
Activity
Atrium0804 commentedon Nov 13, 2026
Implemented in commits 3f567c5 (#81-84) and 049878b (#85); #80 was al geland in feb92a6. Alle tests groen (274 Python + 42 JS DOM).
Implement issues #81-84: prompt batching, age-in-years context, per-a…
Implement issue #85: /chat als 202 + status-endpoint voor voortgang i…