-
Notifications
You must be signed in to change notification settings - Fork 4.6k
patch messages in thread #12191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
patch messages in thread #12191
Conversation
There was a problem hiding this 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
limitparameter 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
...ls/graphql/operation-signatures/factories/fetchAllThreadMessagesOperationSignatureFactory.ts
Outdated
Show resolved
Hide resolved
|
🚀 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. |
...dules/command-menu/pages/message-thread/hooks/__tests__/useEmailThreadInCommandMenu.test.tsx
Outdated
Show resolved
Hide resolved
bosiraphael
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7abcd4c to
bf648e9
Compare
closes #12190