Skip to content

Expert Finder: send reply_to as email array for preview/send#889

Open
nicktytarenko wants to merge 1 commit into
mainfrom
fix/expert-finder-reply-to-array
Open

Expert Finder: send reply_to as email array for preview/send#889
nicktytarenko wants to merge 1 commit into
mainfrom
fix/expert-finder-reply-to-array

Conversation

@nicktytarenko
Copy link
Copy Markdown
Member

What?

  • Aligns Expert Finder outreach preview/send with the backend breaking change (Support multiple reply-to addresses for expert finder emails researchhub-backend#3544). reply_to is now a required JSON array of email strings (1–10), not a single string.
  • Supports multiple Reply-To addresses in the send/preview confirmation modal via comma-separated input.
  • Adds client-side parsing and validation before API calls (min 1, max 10, per-email format).

How?

  • Added parseReplyToAddresses helper (app/expert-finder/lib/parseReplyToAddresses.ts) to split comma-separated input, trim, and validate addresses.
  • Updated ExpertFinderService.previewEmails / sendEmails and usePreviewEmails / useSendEmails to require and always send reply_to: string[].

@nicktytarenko nicktytarenko requested a review from a team as a code owner June 1, 2026 15:42
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Jun 1, 2026 3:44pm

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 1, 2026

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