# Defer thread creation until first message send · pingdotgg/t3code

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

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

Visibility: public

Requested revision: ac39b6fe05c4c508c7d51284d8dcceb48631741f

Requested commit: ac39b6fe05c4c508c7d51284d8dcceb48631741f

Commit: ac39b6fe05c4c508c7d51284d8dcceb48631741f

Tree: fde9be76084e9c65ccc22b049b6ef79f7d1f86b7

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Defer thread creation until first message send

- Track draft thread metadata in composer draft store
- Reuse and update local draft threads from Sidebar/ChatView
- Create server thread only when sending first message, with rollback on failure
- Add/expand draft-thread store tests for mapping and context updates

```

## Parents

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

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