diff --git a/site/src/pages/AIBridgePage/SessionThreadsPage/SessionTimeline/SessionTimeline.tsx b/site/src/pages/AIBridgePage/SessionThreadsPage/SessionTimeline/SessionTimeline.tsx index 776e30833c..fb64cddd4c 100644 --- a/site/src/pages/AIBridgePage/SessionThreadsPage/SessionTimeline/SessionTimeline.tsx +++ b/site/src/pages/AIBridgePage/SessionThreadsPage/SessionTimeline/SessionTimeline.tsx @@ -397,9 +397,9 @@ const ThreadItem: FC = ({ thread, initiator }) => { )} ) : ( - // if no agentic loop, we need a little spacing element to create - // the visual gap between threads -
+ // Spacer to create visual gap between threads. Hidden on the + // last thread via the wrapper div's :last-child selector. +
)} ); @@ -525,9 +525,15 @@ export const SessionTimeline: FC = ({
{/* threads */} - {threads.map((thread) => ( - - ))} +
+ {threads.map((thread) => ( + + ))} +
{/* infinite scroll sentinel — sits 200px below the last thread */}
{isFetchingNextPage && (