# Add Mark unread thread action to sidebar context menu · pingdotgg/t3code

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

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

Visibility: public

Requested revision: c0e3c1a93ac8f89f33dd40ffc1a05fcb5264dc29

Requested commit: c0e3c1a93ac8f89f33dd40ffc1a05fcb5264dc29

Commit: c0e3c1a93ac8f89f33dd40ffc1a05fcb5264dc29

Tree: cfc6269cd0d5d727da270084167424945f0be934

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add Mark unread thread action to sidebar context menu

- Add `mark-unread` option to thread context menu and dispatch reducer action
- Implement `MARK_THREAD_UNREAD` to set `lastVisitedAt` just before latest completion
- Add reducer tests for unread behavior and no-op when no completed turn
- Update fallback context menu styling so only delete uses destructive color

```

## Parents

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

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