mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 18:30:27 +08:00
Rework of the #578 loading overlay: - Replace the simulated rAF percentage bar (which climbed to a fake 99% over ~24s, unrelated to real load progress) with an honest indeterminate spinner + 'Loading conversation…' message and an 8s 'Still loading…' hint. - Collapse the null/loading/complete state machine to a single boolean and drop the artificial 400ms completion delay, so the conversation appears the moment the fetch resolves. - Fix a stray ')' in the cancel button's className that voided its hover color, and remove the now-redundant width-transition/rAF conflict. - Drop the dead 'server is taking too long' locale key (no timeout path uses it). The AbortSignal plumbing (getSession/loadSession + cancel button) and the Strict-Mode-safe initial-load ref are kept as-is. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>