Skip to content

Conversation

@gabrycina
Copy link
Contributor

  • Add useInfiniteTaskMessages hook with cursor pagination
  • Implement infinite scroll with IntersectionObserver in task-messages.tsx
  • Add scroll position preservation when loading older messages
  • Update SDK to 0.1.0-alpha.11 with listPaginated support
  • Add spinner component for loading indicator

- Add useInfiniteTaskMessages hook with cursor pagination
- Implement infinite scroll with IntersectionObserver in task-messages.tsx
- Add scroll position preservation when loading older messages
- Update SDK to 0.1.0-alpha.11 with listPaginated support
- Add spinner component for loading indicator
@gabrycina gabrycina requested a review from a team as a code owner December 17, 2025 10:26
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​agentex@​0.1.0-alpha.9 ⏵ 0.1.0-alpha.1175 -510099 +194 +3100

View full report

Copy link
Collaborator

@MichaelSun48 MichaelSun48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm noticing a bug where when I scroll to the top of the page and trigger a refetch, it scrolls back to the bottom of the page. I suspect this callback is being triggered somewhere

Screen.Recording.2025-12-17.at.9.35.10.AM.mov

Comment on lines +314 to +316
<div className="flex justify-center py-4">
<Spinner className="text-muted-foreground h-5 w-5" />
</div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have an implementation of a loading spinner for infinite scrolling in the task-sidebar — lets choose one or the other to keep it consistent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants