From 8999a0fa799564e21a5ae3b1b1fb0c5ba67231b0 Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Sun, 23 Aug 2026 14:14:49 -0700 Subject: [PATCH] fix(composer): preserve current activity host behavior Keep the shared hover-delay policy and current channel activity host while adapting the unified strip. Remove the obsolete project-panel typing prop after thread typing moved into the composed activity payload. Co-authored-by: Carl Co-authored-by: Princess Donut <0366ccd5ee09c2779a9d6bd6683daa17c16a508a51f6a7e7314018dab8fdc49b@buzz.block.builderlab.xyz> Signed-off-by: Taylor Ho --- .../features/channels/ui/BotActivityBar.tsx | 2 +- .../ui/ChannelComposerActivityRow.tsx | 48 +++++++++---------- .../projects/ui/ProjectConversationPanel.tsx | 1 - 3 files changed, 25 insertions(+), 26 deletions(-) diff --git a/desktop/src/features/channels/ui/BotActivityBar.tsx b/desktop/src/features/channels/ui/BotActivityBar.tsx index fbe629449b..5afb6acad3 100644 --- a/desktop/src/features/channels/ui/BotActivityBar.tsx +++ b/desktop/src/features/channels/ui/BotActivityBar.tsx @@ -174,7 +174,7 @@ function useStripHoverPopover(): StripHoverPopover { cancelPending(); timerRef.current = setTimeout(() => { setActive(pubkey); - }, HOVER_OPEN_DELAY_MS); + }, DEFAULT_POPOVER_HOVER_OPEN_DELAY_MS); }, [cancelPending, setActive], ); diff --git a/desktop/src/features/channels/ui/ChannelComposerActivityRow.tsx b/desktop/src/features/channels/ui/ChannelComposerActivityRow.tsx index 2e7135292c..65db2c7c60 100644 --- a/desktop/src/features/channels/ui/ChannelComposerActivityRow.tsx +++ b/desktop/src/features/channels/ui/ChannelComposerActivityRow.tsx @@ -134,34 +134,34 @@ export function ChannelComposerActivityRow({ return (
- {/* One strip hosts both groups: working pills plus the typing group + {/* One strip hosts both groups: working pills plus the typing group as the strip's trailing slot sibling, so they share the scroller, edge fades, and layout/enter/exit animations. When the row gets tight the strip scrolls horizontally (edge fades signal clipped items) rather than compressing. */} - {pillBotPubkeys.length > 0 || combinedTypingPubkeys.length > 0 ? ( - 0 ? ( - - ) : null - } - workingBotPubkeys={pillBotPubkeys} - /> - ) : null} + {pillBotPubkeys.length > 0 || combinedTypingPubkeys.length > 0 ? ( + 0 ? ( + + ) : null + } + workingBotPubkeys={pillBotPubkeys} + /> + ) : null}
); } diff --git a/desktop/src/features/projects/ui/ProjectConversationPanel.tsx b/desktop/src/features/projects/ui/ProjectConversationPanel.tsx index 59f3264b02..cb09c4be12 100644 --- a/desktop/src/features/projects/ui/ProjectConversationPanel.tsx +++ b/desktop/src/features/projects/ui/ProjectConversationPanel.tsx @@ -280,7 +280,6 @@ export function ProjectConversationPanel({ threadHead={panelData.threadHead} threadReplies={panelData.visibleReplies} threadRepliesPending={false} - threadTypingPubkeys={[]} widthPx={widthPx} />, {