# Persist image previews in chat state and bump schema to v8 · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/0c50a2d8e1095f169d8137a0e85e0efb749e9586)

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

Visibility: public

Requested revision: 0c50a2d8e1095f169d8137a0e85e0efb749e9586

Requested commit: 0c50a2d8e1095f169d8137a0e85e0efb749e9586

Commit: 0c50a2d8e1095f169d8137a0e85e0efb749e9586

Tree: 108a3fb1d4adf993e74e4586810a333326045565

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Persist image previews in chat state and bump schema to v8

- store image attachment `previewUrl` data URLs in persisted thread messages
- migrate renderer persistence key/schema from v7 to v8 with hydration coverage
- build message attachments from prepared image data before dispatching user messages

```

## Parents

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

[Source at this commit](https://git.cafe/flambo/t3code/tree/0c50a2d8e1095f169d8137a0e85e0efb749e9586?format=markdown)
