# fix\(web\): a thread opened before its shell loads still clears its visit state · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/9d3d988056ac5b91ecd0d895d07ebd437417ed4a)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 9d3d988056ac5b91ecd0d895d07ebd437417ed4a

Requested commit: 9d3d988056ac5b91ecd0d895d07ebd437417ed4a

Commit: 9d3d988056ac5b91ecd0d895d07ebd437417ed4a

Tree: 83c997fac0cf398f3203e05374d1bbed1de45cd2

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): a thread opened before its shell loads still clears its visit state

The thread structure leaves out lastVisitedAt. Before the thread reaches
the shell index, ChatView builds its shell from that structure, so the
shell had no visit mark and "Woke from snooze" stayed after the visit.
That fallback now takes lastVisitedAt from lastVisitedAtAtom, a live
binding of just the visit mark. With a shell present it is not subscribed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [fb94ac6375920b6cbfd7a39175d820ef784a212b](https://git.cafe/pingdotgg/t3code/commit/fb94ac6375920b6cbfd7a39175d820ef784a212b?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/9d3d988056ac5b91ecd0d895d07ebd437417ed4a?format=markdown)
