fix: reconcile the running state when the app returns
A turn that starts or ends while the app is in the background leaves no event behind, so the activity strip kept its old state (stayed visible after the turn ended) and the sidebar's running marks went stale too. - on return, read the server's active set and the transcript tail once and settle both the open chat's strip and the sidebar from them - do the same on the first event after the stream reconnects, since a silent drop loses the same events without leaving the app - opening a chat whose turn is already under way asks once, so the strip is right from the first frame - when the server cannot answer, the tail decides (an assistant message without a completion time is a live turn); a failed request is never read as "everything is idle"
This commit is contained in:
1 parent
9564019a91
commit
00564fe94b
5 files changed
+139
-10
No files matched your search
@@ -5,7 +5,7 @@ Android first. This branch (`flutter`) is a framework evaluation: the same
|
||||
feature set as the earlier Asuka/Go and MyGo attempts, reimplemented in
|
||||
Flutter to compare mobile UI maturity.
|
||||
|
||||
Status: 0.4.15 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
Status: 0.4.16 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
SOCKS5/socks5h proxy, self-signed certificates and pinning, or a pairing link
|
||||
over the OpenChamber private relay with end-to-end encryption; the pairing
|
||||
link is pasted or scanned with the camera), session list with search and live
|
||||
|
||||
Reference in new issue
Block a user