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

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

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

Visibility: public

Requested revision: 0d67424f6945fb451e9b7639861cdac8b18a0c3b

Requested commit: 0d67424f6945fb451e9b7639861cdac8b18a0c3b

Commit: 0d67424f6945fb451e9b7639861cdac8b18a0c3b

Tree: dee629d5ea66259e9c36a2c4fdd4c4532ca2b8bc

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

- [1245ce984ba9c79a8eb658f749425d3086bc667b](https://git.cafe/gitcafe/t3code/commit/1245ce984ba9c79a8eb658f749425d3086bc667b?format=markdown)

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