chore: Add consent message when SMS workflows are related (#20741)

* Add consent message

* Add consent message if using SMS workflow

* Skip flakey tests

* Revert "Skip flakey tests"

This reverts commit 3bd6f3fd71469df4dbd67b69b8e17011657df9d8.
This commit is contained in:
Joe Au-Yeung
2025-04-18 09:23:15 +05:30
committed by GitHub
parent 89b5d1ebc3
commit dc409e1c5a
2 changed files with 4 additions and 0 deletions
@@ -3140,5 +3140,6 @@
"reschedule_cta_short": "Reschedule here.",
"you_and_conjunction": "You &",
"email_survey_triggered_by_workflow": "This survey was triggered by a Workflow in Cal.",
"sms_workflow_consent": "By entering your phone number you consent to receive SMS messages for this event. SMS rates may apply.",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}
@@ -164,6 +164,9 @@ const WithLabel = ({
</div>
)}
{children}
{field.name === "smsReminderNumber" && (
<div className="text-sm text-gray-500">{t("sms_workflow_consent")}</div>
)}
</div>
);
};