@@ -613,6 +613,13 @@ export const ChannelPane = React.memo(function ChannelPane({
613613 } ) ,
614614 [ agentSessionAgents , openAgentSessionPubkey , profilePanelPubkey , profiles ] ,
615615 ) ;
616+ const hasSplitAuxiliaryPane =
617+ useSplitAuxiliaryPane &&
618+ ( channelManagementOpen ||
619+ Boolean ( threadHeadMessage ) ||
620+ shouldShowThreadSkeleton ||
621+ Boolean ( activeChannel && selectedAgent ) ||
622+ Boolean ( profilePanelPubkey ) ) ;
616623 const wrapAux = ( panel : React . ReactNode , testId : string ) =>
617624 useSplitAuxiliaryPane ? (
618625 < RightAuxiliaryPane
@@ -628,7 +635,18 @@ export const ChannelPane = React.memo(function ChannelPane({
628635 panel
629636 ) ;
630637 return (
631- < div className = "flex min-h-0 min-w-0 flex-1 flex-row overflow-hidden" >
638+ < div className = "relative flex min-h-0 min-w-0 flex-1 flex-row overflow-hidden" >
639+ { ! isSinglePanelView ? (
640+ < div
641+ aria-hidden = "true"
642+ className = { cn (
643+ "pointer-events-none absolute inset-x-0 top-0 z-30 bg-background/80 backdrop-blur-md supports-backdrop-filter:bg-background/70 dark:bg-background/70 dark:backdrop-blur-xl dark:supports-backdrop-filter:bg-background/55" ,
644+ channelChrome . headerHeight ,
645+ ) }
646+ data-testid = "channel-shared-header-backdrop"
647+ />
648+ ) : null }
649+
632650 { ! isSinglePanelView ? (
633651 < section
634652 aria-label = "Channel messages and composer"
@@ -829,6 +847,7 @@ export const ChannelPane = React.memo(function ChannelPane({
829847 onThreadPanelResizeStart = { onThreadPanelResizeStart }
830848 threadPanelWidthPx = { threadPanelWidthPx }
831849 useSplitAuxiliaryPane = { useSplitAuxiliaryPane }
850+ transparentChrome = { hasSplitAuxiliaryPane }
832851 />
833852 ) : threadHeadMessage ? (
834853 ( ( ) => {
@@ -849,6 +868,7 @@ export const ChannelPane = React.memo(function ChannelPane({
849868 useSplitAuxiliaryPane ? false : isSinglePanelView
850869 }
851870 layout = { useSplitAuxiliaryPane ? "split" : "standalone" }
871+ transparentChrome = { useSplitAuxiliaryPane }
852872 onCancelEdit = { onCancelEdit }
853873 onCancelReply = { onCancelThreadReply }
854874 onClose = { onCloseThread }
@@ -900,6 +920,7 @@ export const ChannelPane = React.memo(function ChannelPane({
900920 useSplitAuxiliaryPane ? false : isSinglePanelView
901921 }
902922 layout = { useSplitAuxiliaryPane ? "split" : "standalone" }
923+ transparentChrome = { useSplitAuxiliaryPane }
903924 onClose = { onCloseThread }
904925 widthPx = { threadPanelWidthPx }
905926 />
@@ -929,6 +950,7 @@ export const ChannelPane = React.memo(function ChannelPane({
929950 useSplitAuxiliaryPane ? false : isSinglePanelView
930951 }
931952 layout = { useSplitAuxiliaryPane ? "split" : "standalone" }
953+ transparentChrome = { useSplitAuxiliaryPane }
932954 profiles = { profiles }
933955 onBackToProfile = { ( ) => onOpenProfilePanel ( selectedAgent . pubkey ) }
934956 onClose = { onCloseAgentSession }
@@ -946,6 +968,7 @@ export const ChannelPane = React.memo(function ChannelPane({
946968 useSplitAuxiliaryPane ? false : isSinglePanelView
947969 }
948970 layout = { useSplitAuxiliaryPane ? "split" : "standalone" }
971+ transparentChrome = { useSplitAuxiliaryPane }
949972 onClose = { onCloseProfilePanel }
950973 onOpenDm = { onOpenDm }
951974 onOpenProfile = { onOpenProfilePanel }
0 commit comments