From f22484d9a148f4cb70c7de51a0a6c5ec1b4b3600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Castillo?= Date: Fri, 4 Sep 2026 13:28:11 -0300 Subject: [PATCH 1/3] fix: add resend speakers checkbox on summit speakers email send popup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Castillo --- src/actions/speaker-actions.js | 5 +- src/actions/submitter-actions.js | 3 + src/i18n/en.json | 1 + .../summit-speakers-list-page.js | 73 +++++++++++++------ 4 files changed, 59 insertions(+), 23 deletions(-) diff --git a/src/actions/speaker-actions.js b/src/actions/speaker-actions.js index a3cea557d..3f86ea71b 100644 --- a/src/actions/speaker-actions.js +++ b/src/actions/speaker-actions.js @@ -1141,6 +1141,7 @@ export const exportSummitSpeakers = * @param testRecipient * @param excerptRecipient * @param shouldSendCopy2Submitter + * @param shouldResendSpeakers * @param source * @param promoCodeStrategy * @param promocodeSpecification @@ -1153,6 +1154,7 @@ export const sendSpeakerEmails = testRecipient = "", excerptRecipient = "", shouldSendCopy2Submitter = false, + shouldResendSpeakers = false, // eslint-disable-next-line no-unused-vars source = null, promoCodeStrategy = null, @@ -1172,7 +1174,8 @@ export const sendSpeakerEmails = const payload = { email_flow_event: currentFlowEvent, - should_send_copy_2_submitter: shouldSendCopy2Submitter + should_send_copy_2_submitter: shouldSendCopy2Submitter, + should_resend: shouldResendSpeakers }; if (!selectedAll && selectedItems.length > 0) { diff --git a/src/actions/submitter-actions.js b/src/actions/submitter-actions.js index e5209b8cc..7b962e82f 100644 --- a/src/actions/submitter-actions.js +++ b/src/actions/submitter-actions.js @@ -261,6 +261,7 @@ export const exportSummitSubmitters = * @param testRecipient * @param excerptRecipient * @param shouldSendCopy2Submitter + * @param shouldResendSpeakers * @param source * @param promoCodeStrategy * @param promocodeSpecification @@ -275,6 +276,8 @@ export const sendSubmitterEmails = excerptRecipient = "", // not used only left to keep the signature shouldSendCopy2Submitter = false, + // not used only left to keep the signature + shouldResendSpeakers = false, source = null, promoCodeStrategy = null, promocodeSpecification = null diff --git a/src/i18n/en.json b/src/i18n/en.json index c01abeafd..61b9e6550 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -1158,6 +1158,7 @@ "resend_done": "Emails sent successfully.", "send_emails_title": "You are about to send an EMAIL BLAST to selected speakers !", "should_send_copy_2_submitter": "Also send to submitter?", + "should_resend_speakers": "Resend to already-sent speakers?", "allows_to_reassign": "Allow to reassign?", "items_qty": "Selected {qty} Speakers | {activitiesQty} Activities", "placeholders": { diff --git a/src/pages/summit_speakers/summit-speakers-list-page.js b/src/pages/summit_speakers/summit-speakers-list-page.js index 94c797eb8..1009d56e4 100644 --- a/src/pages/summit_speakers/summit-speakers-list-page.js +++ b/src/pages/summit_speakers/summit-speakers-list-page.js @@ -524,6 +524,8 @@ class SummitSpeakersListPage extends React.Component { const excerptRecipient = this.ingestEmailRef.value; const shouldSendCopy2Submitter = isSpeakerMode && this.shouldSendCopy2SubmitterRef.checked; + const shouldResendSpeakers = + isSpeakerMode && this.shouldResendSpeakersRef.checked; const { term, selectionPlanFilter, @@ -567,6 +569,7 @@ class SummitSpeakersListPage extends React.Component { testRecipient, excerptRecipient, shouldSendCopy2Submitter, + shouldResendSpeakers, source, promoCodeStrategy, currentPromocodeSpecification.entity @@ -1178,29 +1181,55 @@ class SummitSpeakersListPage extends React.Component { /> {this.state.source === sources.speakers && ( -
-
- { - this.shouldSendCopy2SubmitterRef = node; - }} - /> - + <> +
+
+ { + this.shouldSendCopy2SubmitterRef = node; + }} + /> + +
-
+
+
+ { + this.shouldResendSpeakersRef = node; + }} + defaultChecked + /> + +
+
+ )}
From ed98c323d45f182d4d35ac3f138592e5d691b7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Castillo?= Date: Mon, 7 Sep 2026 15:06:35 -0300 Subject: [PATCH 2/3] fix: add resend checkbox for submitters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Castillo --- src/actions/speaker-actions.js | 6 +- src/actions/submitter-actions.js | 8 +- src/i18n/en.json | 5 +- .../summit-speakers-list-page.js | 102 +++++++++--------- 4 files changed, 61 insertions(+), 60 deletions(-) diff --git a/src/actions/speaker-actions.js b/src/actions/speaker-actions.js index 3f86ea71b..67f410f9d 100644 --- a/src/actions/speaker-actions.js +++ b/src/actions/speaker-actions.js @@ -1141,7 +1141,7 @@ export const exportSummitSpeakers = * @param testRecipient * @param excerptRecipient * @param shouldSendCopy2Submitter - * @param shouldResendSpeakers + * @param shouldResend * @param source * @param promoCodeStrategy * @param promocodeSpecification @@ -1154,7 +1154,7 @@ export const sendSpeakerEmails = testRecipient = "", excerptRecipient = "", shouldSendCopy2Submitter = false, - shouldResendSpeakers = false, + shouldResend = false, // eslint-disable-next-line no-unused-vars source = null, promoCodeStrategy = null, @@ -1175,7 +1175,7 @@ export const sendSpeakerEmails = const payload = { email_flow_event: currentFlowEvent, should_send_copy_2_submitter: shouldSendCopy2Submitter, - should_resend: shouldResendSpeakers + should_resend: shouldResend }; if (!selectedAll && selectedItems.length > 0) { diff --git a/src/actions/submitter-actions.js b/src/actions/submitter-actions.js index 7b962e82f..f4ae886fa 100644 --- a/src/actions/submitter-actions.js +++ b/src/actions/submitter-actions.js @@ -261,7 +261,7 @@ export const exportSummitSubmitters = * @param testRecipient * @param excerptRecipient * @param shouldSendCopy2Submitter - * @param shouldResendSpeakers + * @param shouldResend * @param source * @param promoCodeStrategy * @param promocodeSpecification @@ -276,8 +276,7 @@ export const sendSubmitterEmails = excerptRecipient = "", // not used only left to keep the signature shouldSendCopy2Submitter = false, - // not used only left to keep the signature - shouldResendSpeakers = false, + shouldResend = false, source = null, promoCodeStrategy = null, promocodeSpecification = null @@ -296,7 +295,8 @@ export const sendSubmitterEmails = }; const payload = { - email_flow_event: currentFlowEvent + email_flow_event: currentFlowEvent, + should_resend: shouldResend }; if (!selectedAll && selectedItems.length > 0) { diff --git a/src/i18n/en.json b/src/i18n/en.json index 61b9e6550..b6ef9b500 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -1158,14 +1158,15 @@ "resend_done": "Emails sent successfully.", "send_emails_title": "You are about to send an EMAIL BLAST to selected speakers !", "should_send_copy_2_submitter": "Also send to submitter?", - "should_resend_speakers": "Resend to already-sent speakers?", + "should_resend": "Resend to already-sent {users}?", "allows_to_reassign": "Allow to reassign?", "items_qty": "Selected {qty} Speakers | {activitiesQty} Activities", "placeholders": { "search_speakers": "Search by Full Name, Email, Speaker Id, Member Id, Title Or Abstract", "test_recipient": "Optional Test Recipient" }, - "speakers": "Speakers" + "speakers": "Speakers", + "submitters": "Submitters" }, "summit_submitters_list": { "summit_submitters_list": "Summit Submitters List", diff --git a/src/pages/summit_speakers/summit-speakers-list-page.js b/src/pages/summit_speakers/summit-speakers-list-page.js index 1009d56e4..bcf3e3670 100644 --- a/src/pages/summit_speakers/summit-speakers-list-page.js +++ b/src/pages/summit_speakers/summit-speakers-list-page.js @@ -524,8 +524,7 @@ class SummitSpeakersListPage extends React.Component { const excerptRecipient = this.ingestEmailRef.value; const shouldSendCopy2Submitter = isSpeakerMode && this.shouldSendCopy2SubmitterRef.checked; - const shouldResendSpeakers = - isSpeakerMode && this.shouldResendSpeakersRef.checked; + const shouldResend = this.shouldResendRef.checked; const { term, selectionPlanFilter, @@ -569,7 +568,7 @@ class SummitSpeakersListPage extends React.Component { testRecipient, excerptRecipient, shouldSendCopy2Submitter, - shouldResendSpeakers, + shouldResend, source, promoCodeStrategy, currentPromocodeSpecification.entity @@ -1181,56 +1180,57 @@ class SummitSpeakersListPage extends React.Component { /> {this.state.source === sources.speakers && ( - <> -
-
- { - this.shouldSendCopy2SubmitterRef = node; - }} - /> - -
-
-
-
- { - this.shouldResendSpeakersRef = node; - }} - defaultChecked - /> - -
+
+
+ { + this.shouldSendCopy2SubmitterRef = node; + }} + /> +
- +
)} +
+
+ { + this.shouldResendRef = node; + }} + defaultChecked + /> + +
+
From dfed319985b519983e1e2a49db43c698f41ceb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Castillo?= Date: Tue, 8 Sep 2026 01:20:46 -0300 Subject: [PATCH 3/3] fix: update shouldResend default value on actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Castillo --- src/actions/speaker-actions.js | 2 +- src/actions/submitter-actions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/speaker-actions.js b/src/actions/speaker-actions.js index 67f410f9d..dd635d196 100644 --- a/src/actions/speaker-actions.js +++ b/src/actions/speaker-actions.js @@ -1154,7 +1154,7 @@ export const sendSpeakerEmails = testRecipient = "", excerptRecipient = "", shouldSendCopy2Submitter = false, - shouldResend = false, + shouldResend = true, // eslint-disable-next-line no-unused-vars source = null, promoCodeStrategy = null, diff --git a/src/actions/submitter-actions.js b/src/actions/submitter-actions.js index f4ae886fa..4fca16c0e 100644 --- a/src/actions/submitter-actions.js +++ b/src/actions/submitter-actions.js @@ -276,7 +276,7 @@ export const sendSubmitterEmails = excerptRecipient = "", // not used only left to keep the signature shouldSendCopy2Submitter = false, - shouldResend = false, + shouldResend = true, source = null, promoCodeStrategy = null, promocodeSpecification = null