diff --git a/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx b/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx index c3033866..0cb633ef 100644 --- a/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx +++ b/packages/ui/src/components/session/sidebar/SessionNodeItem.tsx @@ -520,19 +520,28 @@ function SessionNodeItemComponent(props: Props): React.ReactNode { title={t('sessions.sidebar.session.status.unread')} /> ); - const leadingIndicators = showStatusMarker || isPinnedSession ? ( + const hideLeadingIndicatorOnHover = !alwaysShowActions && hasChildren && (showStatusMarker || isPinnedSession); + const showPinnedMarker = isPinnedSession && !showStatusMarker; + const pinnedMarkerContent = ( + + ); + const leadingIndicators = showStatusMarker || showPinnedMarker ? ( {showStatusMarker ? statusMarkerContent : null} - {isPinnedSession ? : null} + {showPinnedMarker ? pinnedMarkerContent : null} ) : null; + const hideChevronUntilHover = hasChildren && !alwaysShowActions && (showStatusMarker || isPinnedSession); const subsessionChevron = hasChildren ? (