Skip to content

Commit 7d2f8cc

Browse files
🤖 fix: display queued messages inline with other messages (#649)
_Generated with `mux`_ Fixes queued messages appearing as a separate floating element instead of inline with the rest of the message flow. ## Changes - Moved QueuedMessage component inside the scrollable message container - Positioned after streaming barrier for consistent flow - No functional changes, purely visual improvement ## Before Queued message appeared below the scrollable area as a separate element ## After Queued message appears inline with other messages in the chat flow
1 parent 22d0bce commit 7d2f8cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/browser/components/AIView.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,13 @@ const AIViewInner: React.FC<AIViewProps> = ({
478478
}
479479
/>
480480
)}
481+
{workspaceState?.queuedMessage && (
482+
<QueuedMessage
483+
message={workspaceState.queuedMessage}
484+
onEdit={() => void handleEditQueuedMessage()}
485+
/>
486+
)}
481487
</div>
482-
{workspaceState?.queuedMessage && (
483-
<QueuedMessage
484-
message={workspaceState.queuedMessage}
485-
onEdit={() => void handleEditQueuedMessage()}
486-
/>
487-
)}
488488
</div>
489489
{!autoScroll && (
490490
<button

0 commit comments

Comments
 (0)