Skip to content
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

Merged
merged 4 commits into from
Oct 8, 2024
Merged

Fixes on messaging and calendar #7485

merged 4 commits into from
Oct 8, 2024

Conversation

bosiraphael
Copy link
Contributor

@bosiraphael bosiraphael commented Oct 8, 2024

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.

Copy link
Member

@charlesBochet charlesBochet left a 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

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 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

@bosiraphael bosiraphael merged commit e042711 into main Oct 8, 2024
14 of 15 checks passed
@bosiraphael bosiraphael deleted the fix-syncedAt branch October 8, 2024 11:44
harshit078 pushed a commit to harshit078/twenty that referenced this pull request Oct 14, 2024
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.
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.

2 participants