Skip to content

Conversation

@etiennejouan
Copy link
Contributor

closes #12190

@etiennejouan etiennejouan changed the title patch patch messages in thread May 21, 2025
@etiennejouan etiennejouan requested a review from bosiraphael May 21, 2025 14:27
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR increases the pagination limit for fetching thread messages from 10 to 30 messages per page in fetchAllThreadMessagesOperationSignatureFactory.ts, improving message loading efficiency.

  • Changed limit parameter from 10 to 30 in /packages/twenty-front/src/modules/activities/emails/graphql/operation-signatures/factories/fetchAllThreadMessagesOperationSignatureFactory.ts
  • Optimizes performance by reducing API calls needed for threads with less than 60 messages
  • Maintains fluid experience while fixing issue where messages weren't fully loading between email and thread views

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@github-actions
Copy link
Contributor

github-actions bot commented May 21, 2025

🚀 Preview Environment Ready!

Your preview environment is available at: http://bore.pub:57845

This environment will automatically shut down when the PR is closed or after 5 hours.

Copy link
Contributor

@bosiraphael bosiraphael left a comment

Choose a reason for hiding this comment

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

LGTM

@etiennejouan etiennejouan force-pushed the fix-mail-pagination branch from 7abcd4c to bf648e9 Compare May 21, 2025 15:03
@etiennejouan etiennejouan enabled auto-merge (squash) May 21, 2025 15:04
bosiraphael and others added 2 commits May 22, 2025 13:46

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@etiennejouan etiennejouan merged commit ddab513 into main May 23, 2025
54 checks passed
@etiennejouan etiennejouan deleted the fix-mail-pagination branch May 23, 2025 10:24
abdulrahmancodes pushed a commit to abdulrahmancodes/twenty that referenced this pull request Jun 2, 2025
abdulrahmancodes pushed a commit to abdulrahmancodes/twenty that referenced this pull request Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Load all messages in thread

3 participants