twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.13k stars 1.52k forks source link

Move calendar and messaging from core-modules to business modules #6158

Open FelixMalfait opened 1 week ago

FelixMalfait commented 1 week ago

We have left some code related to calendar/messaging in core-modules. This is only for legacy reason, and is confusing for newcomers who don't know what to put in core-modules vs higher-level modules folder. We should move calendar and messaging to the higher-level folder.

greptile-apps[bot] commented 1 week ago

To resolve this issue, follow these steps:

  1. Move the calendar module:

    • From: /packages/twenty-server/src/engine/core-modules/calendar
    • To: /packages/twenty-server/src/modules/calendar
  2. Move the messaging module:

    • From: /packages/twenty-server/src/engine/core-modules/messaging
    • To: /packages/twenty-server/src/modules/messaging

Ensure that all imports and references to these modules are updated accordingly throughout the codebase.

References

/packages/twenty-server/src/engine/core-modules/calendar /packages/twenty-server/src/engine/core-modules/messaging /packages/twenty-server/src/modules/calendar /packages/twenty-server/src/modules/messaging

#### About Greptile This response provides a starting point for your research, not a precise solution. Help us improve! Please leave a ๐Ÿ‘ if this is helpful and ๐Ÿ‘Ž if it is irrelevant. [Ask Greptile](https://app.greptile.com/chat/github/twentyhq/twenty/main) ยท [Edit Issue Bot Settings](https://app.greptile.com/apps/github)