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

3889 activate settingsaccountsemailsinboxsettings #3962

Merged
merged 32 commits into from
Feb 14, 2024

Conversation

bosiraphael
Copy link
Contributor

Closes #3889

@bosiraphael bosiraphael linked an issue Feb 14, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Feb 14, 2024

TODOs/FIXMEs:

  • /* TODO : Add this section when the backend will be ready to auto create contacts */}: packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmailsInboxSettings.tsx

Generated by 🚫 dangerJS against 7950170

type: FieldMetadataType.BOOLEAN,
label: 'Is Contact Auto Creation Enabled',
description: 'Is Contact Auto Creation Enabled',
icon: 'IconUserCircle',
Copy link
Member

Choose a reason for hiding this comment

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

You can set a defaultValue here FYI (so you don't have to put it in the insert in google-gmail.service.ts

@Injectable()
export class MessageService {
constructor(
private readonly workspaceDataSourceService: WorkspaceDataSourceService,
private readonly messageChannelMessageAssociationService: MessageChannelMessageAssociationService,
private readonly messageThreadService: MessageThreadService,
private readonly messageParticipantService: MessageParticipantService,
private readonly messageChannelService: MessageChannelService,
private readonly createCompaniesAndContactsService: CreateCompaniesAndContactsService,
Copy link
Member

Choose a reason for hiding this comment

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

Note, can be done in another PR: I prefer to avoid injecting non-repository services inside repository service, you are including business logic here. You can create a logic service that will wrap everything

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll do that in another PR

@Weiko Weiko merged commit 94ad0e3 into main Feb 14, 2024
15 of 16 checks passed
@Weiko Weiko deleted the 3889-activate-settingsaccountsemailsinboxsettings branch February 14, 2024 16:30
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.

Activate SettingsAccountsEmailsInboxSettings
2 participants