cheogram-www

created pr with cheogram-www/clear-thread-icon.1 on 2026-11-12T18:31:28Z · by 3c31bc8c
commented on 2026-11-12T18:31:28Z · by 3c31bc8c
Changes are available at https://tangled.org/mrry.band/cheogram-www on branch clear-thread-icon.
added cheogram-www/clear-thread-icon.2 on 2026-11-12T18:34:45Z · by 3c31bc8c
1: e8b4965 = 1: e8b4965 Allow clearing thread icon with right click
added cheogram-www/clear-thread-icon.3 on 2026-11-12T18:34:57Z · by 3c31bc8c
1: e8b4965 ! 1: 8ddcfeb Allow clearing thread icon with right click
added cheogram-www/clear-thread-icon.4 on 2026-11-12T21:00:28Z · by 3c31bc8c
1: 8ddcfeb ! 1: a803aa8 Allow clearing thread icon with right click
added cheogram-www/clear-thread-icon.5 on 2026-11-12T21:45:55Z · by 3c31bc8c
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 -3
checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:clear-thread-icon [rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:clear-thread-icon
add comment to patch request:
ssh pr.pico.sh comment cheogram-www:clear-thread-icon "lgtm!"

Patchset cheogram-www/clear-thread-icon.5 on 2026-11-12T21:45:55Z · commit eae2a14

Allow clearing thread icon with right click
Eric Roberts 2026-11-12T18:30:25Z
Right 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
+9 -1 src/components/Chat.tsx #
......@@ -1549,7 +1549,15 @@ export const ChatInner = () => {
15491549 <>
15501550 <Button
15511551 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={
1557+ currentThread
1558+ ? "Thread to send this message to. Click to start a new thread or right-click to clear"
1559+ : "Click to start a new thread"
1560+ }
15531561 icon={
15541562 currentThread ? (
15551563 <img
Back to top