Skip to content

feat: add unsubscribe configuration to message templates#668

Open
wzh425 wants to merge 1 commit into
mainfrom
feature/sms-unsubscribe
Open

feat: add unsubscribe configuration to message templates#668
wzh425 wants to merge 1 commit into
mainfrom
feature/sms-unsubscribe

Conversation

@wzh425
Copy link
Copy Markdown
Contributor

@wzh425 wzh425 commented May 21, 2026

  • Introduced MessageTemplateUnsubscribeConfig to MessageTemplate and MessageTemplateDto, allowing for unsubscribe functionality.
  • Updated MessageTemplateUpsertDto and its validator to include rules for unsubscribe configuration.
  • Enhanced message handling in SendSmsMessageEventHandler and RetrySmsMessageEventHandler to append unsubscribe suffix to messages.
  • Added localization support for unsubscribe-related validation messages in English and Chinese.
  • Updated database context and migrations to support the new unsubscribe configuration structure.

- Introduced MessageTemplateUnsubscribeConfig to MessageTemplate and MessageTemplateDto, allowing for unsubscribe functionality.
- Updated MessageTemplateUpsertDto and its validator to include rules for unsubscribe configuration.
- Enhanced message handling in SendSmsMessageEventHandler and RetrySmsMessageEventHandler to append unsubscribe suffix to messages.
- Added localization support for unsubscribe-related validation messages in English and Chinese.
- Updated database context and migrations to support the new unsubscribe configuration structure.
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
20.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant