fix(terminal): move typing indicator below terminal panel

Places the typing/bot activity bar after the terminal so the terminal's
bottom edge aligns with the thread composer when the thread panel is open.
This commit is contained in:
Taylor Ho
2026-05-21 22:56:33 -07:00
parent 97ae3c82d4
commit bced80e14e

View File

@@ -411,8 +411,14 @@ export const ChannelPane = React.memo(function ChannelPane({
}
showTopBorder={false}
/>
{activeChannel && isTerminalOpen ? (
<TerminalPanel
channelId={activeChannel.id}
isOpen={isTerminalOpen}
/>
) : null}
{hasComposerBotActivity || hasTypingActivity ? (
<div className="h-7 bg-background px-4 pb-1 pt-0 sm:px-6 -mt-1">
<div className="h-7 bg-background px-4 pb-1 pt-0 sm:px-6">
<div className="flex h-full w-full items-center gap-2">
{hasComposerBotActivity ? (
<div className="shrink-0">
@@ -440,12 +446,6 @@ export const ChannelPane = React.memo(function ChannelPane({
</div>
</div>
) : null}
{activeChannel && isTerminalOpen ? (
<TerminalPanel
channelId={activeChannel.id}
isOpen={isTerminalOpen}
/>
) : null}
</div>
</div>
)}