# Derive active thread from route and drop persisted selection · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 1a315235b77d0a5b32057c700c4e5285d7dcd9b8

Requested commit: 1a315235b77d0a5b32057c700c4e5285d7dcd9b8

Commit: 1a315235b77d0a5b32057c700c4e5285d7dcd9b8

Tree: c563be1436b37df2d5e57129cd3c8e537c79a87f

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Derive active thread from route and drop persisted selection

- remove `activeThreadId` from web store state and persistence schema
- drive thread-scoped event handling and toast visibility from router params
- simplify chat index/route flow and add explicit `apps/web/vite.config.js`

```

## Parents

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

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