-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fixes on messaging and calendar #7485
Conversation
packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts
Show resolved
Hide resolved
.../src/modules/calendar/calendar-event-import-manager/services/calendar-save-events.service.ts
Outdated
Show resolved
Hide resolved
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.
Left a few comments! Let's make sure the sync-metadata on a workspace in 0.30 is working as expected
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 pull request implements changes to the calendar and messaging data models, focusing on improving sync functionality and data consistency. Here are the key modifications:
- Moved 'recurringEventExternalId' from CalendarEventWorkspaceEntity to CalendarChannelEventAssociationWorkspaceEntity
- Added 'syncedAt' field to CalendarChannelWorkspaceEntity and MessageChannelWorkspaceEntity
- Updated CalendarSaveEventsService to reflect new data model changes
- Modified seed data and standard field IDs to align with the new structure
- Adjusted types in calendar-event.ts to include 'recurringEventExternalId' where necessary
These changes aim to enhance the accuracy of event tracking across different calendar channels and improve sync status monitoring for both calendar and messaging functionalities.
10 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Fix syncedAt no longer been set on message sync. Fix calendar data model: - Add `syncedAt` to `CalendarChannelWorkspaceEntity` - Move `recurringEventExternalId` from `CalendarEventWorkspaceEntity` to `CalendarChannelEventAssociationWorkspaceEntity` since the id is relative to one channel Fix save queries on calendar sync after regression.
Fix syncedAt no longer been set on message sync.
Fix calendar data model:
syncedAt
toCalendarChannelWorkspaceEntity
recurringEventExternalId
fromCalendarEventWorkspaceEntity
toCalendarChannelEventAssociationWorkspaceEntity
since the id is relative to one channelFix save queries on calendar sync after regression.