Commit 5144b25
Fix chat showing thinking shimmer instead of reconnecting state on reopen
When reopening a chat closed mid-session, the app was showing the
"Thinking…" shimmer instead of the reconnecting state. Two bugs:
1. reconnectToServiceLogs set status = .reconnecting then immediately
overwrote it with status = .streaming before starting log replay,
so the reconnecting state was never actually visible.
2. The ThinkingShimmerView condition only checked isStreaming, which
returns true for .reconnecting, causing the shimmer to show with
a misleading "Thinking…" label.
Fix: keep status = .reconnecting throughout log replay and suppress
the shimmer during reconnect, letting the status bar pill handle it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 543d38e commit 5144b25
File tree
2 files changed
+6
-2
lines changed- Wisp
- ViewModels
- Views/SpriteDetail/Chat
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
994 | 999 | | |
995 | 1000 | | |
996 | 1001 | | |
997 | | - | |
998 | 1002 | | |
999 | 1003 | | |
1000 | 1004 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments