Coach chat offline behaviour isn't covered by a flow #195

Open
opened 2026-11-08 18:19:36 +00:00 by chris-kreidl · 2 comments
chris-kreidl commented 2026-11-08 18:19:36 +00:00 (Migrated from github.com)

(session 16) getCoachChat is a GET server function, so the service worker caches it network-first; offline, the sheet shows the last thread and Send is disabled. Intended, but not covered by a flow.

Moved from docs/history.md → Parked follow-ups on 2026-11-08.

(session 16) `getCoachChat` is a GET server function, so the service worker caches it network-first; offline, the sheet shows the last thread and Send is disabled. Intended, but not covered by a flow. _Moved from docs/history.md → Parked follow-ups on 2026-11-08._
chris-kreidl commented 2026-11-08 20:20:06 +00:00 (Migrated from github.com)

What this is about. The coach chat's thread is loaded through the service worker, network first. Offline, the chat sheet shows the last thread it saw, with Send disabled. That's intended, but no end-to-end test checks it, so a change could break it unnoticed.

Status (checked 2026-11-08): still no flow. Session 50 (#225) adds ride chat and reworks the coach sheet, so add an offline check to its tests there.

**What this is about.** The coach chat's thread is loaded through the service worker, network first. Offline, the chat sheet shows the last thread it saw, with Send disabled. That's intended, but no end-to-end test checks it, so a change could break it unnoticed. **Status (checked 2026-11-08):** still no flow. Session 50 (#225) adds ride chat and reworks the coach sheet, so add an offline check to its tests there.
chris-kreidl commented 2026-11-19 03:21:41 +00:00 (Migrated from github.com)

Status (checked 2026-11-18): still open. Session 50 (#225) reworked the coach sheet without an offline check. Only e2e/offline.e2e.ts and e2e/history.e2e.ts go offline, and neither opens the coach.

**Status (checked 2026-11-18):** still open. Session 50 (#225) reworked the coach sheet without an offline check. Only `e2e/offline.e2e.ts` and `e2e/history.e2e.ts` go offline, and neither opens the coach.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/trainer#195
No description provided.