cheogram-www
created pr with
cheogram-www/clear-thread-icon.1
commented
Changes are available at https://tangled.org/mrry.band/cheogram-www on branch clear-thread-icon.
added cheogram-www/clear-thread-icon.2
1: e8b4965 = 1: e8b4965 Allow clearing thread icon with right click
added cheogram-www/clear-thread-icon.3
1: e8b4965 ! 1: 8ddcfeb Allow clearing thread icon with right click
added cheogram-www/clear-thread-icon.4
1: 8ddcfeb ! 1: a803aa8 Allow clearing thread icon with right click
added cheogram-www/clear-thread-icon.5
1: a803aa8 ! 1: eae2a14 Allow clearing thread icon with right click
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:clear-thread-icon | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:clear-thread-icon [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:clear-thread-iconadd comment to patch request:
ssh pr.pico.sh comment cheogram-www:clear-thread-icon "lgtm!"
Patchset
cheogram-www/clear-thread-icon.2
Allow clearing thread icon with right click
Eric Roberts
2026-11-12T18:30:25ZRight now the only way to do it is to click a message without a thread, which I think is a pain. This does prevent the browser's context menu for this one tiny area but I hope you will forgive this sin for convenience sake.
Semantic diff summary
0 added,
1 modified,
0 signature changed,
0 removed
across 1 analyzed file
+5
-1
src/components/Chat.tsx
#
| ... | ... | @@ -1549,7 +1549,11 @@ export const ChatInner = () => { | |
| 1549 | 1549 | <> | |
| 1550 | 1550 | <Button | |
| 1551 | 1551 | onClick={() => setSelectedThread(uuidv7())} | |
| 1552 | - | title="Thread to send this message to, tap to start new" | |
| 1552 | + | onContextMenu={(event) => { | |
| 1553 | + | event.preventDefault(); | |
| 1554 | + | setSelectedThread(null); | |
| 1555 | + | }} | |
| 1556 | + | title="Thread to send this message to, tap to start new, right-click to clear" | |
| 1553 | 1557 | icon={ | |
| 1554 | 1558 | currentThread ? ( | |
| 1555 | 1559 | <img |