# Add context menu to delete threads from sidebar · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/169d06f05b543433278a123b3512fddad05f9f2a)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 169d06f05b543433278a123b3512fddad05f9f2a

Requested commit: 169d06f05b543433278a123b3512fddad05f9f2a

Commit: 169d06f05b543433278a123b3512fddad05f9f2a

Tree: 42cffede056f8464e43185582c21058707ff68f6

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add context menu to delete threads from sidebar

Adds right-click → Delete on sidebar thread items using Electron's
native Menu.popup() when running in desktop, with an imperative DOM
fallback for browser environments. The contextMenu.show() API is
generic so the returned item id is type-safe based on the items passed.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

```

## Parents

- [9023d139295fb14035424c93b9b0f30eb77e1d1d](https://git.cafe/screen/t3code-personal/commit/9023d139295fb14035424c93b9b0f30eb77e1d1d?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/169d06f05b543433278a123b3512fddad05f9f2a?format=markdown)
