mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 09:39:48 +08:00
The study screen refetched the topic on one signal: a revision bump from the mastery WebSocket, or the REST reconcile that window focus, visibility and `online` trigger. There is no polling, no turn-end refresh, and the screen never called `activity.refresh()` — the three existing calls are all on the topic detail page. So a proxy that will not upgrade WebSockets, or a connection an idle timeout closed, leaves the outline rail frozen at whatever it read when the page opened, until the learner switches windows and comes back — which someone working through a question does not do. The end of a turn is when the map is most likely to have moved, since grading and assessment both happen inside one. Reconciling there costs one GET on a healthy socket and is the only thing that reports progress without one.