Skip to content

[CORE-340] Submit success email#143

Merged
elvisdragonmao merged 1 commit into
mainfrom
docs/CORE-340-submit-success-email
Jul 2, 2026
Merged

[CORE-340] Submit success email#143
elvisdragonmao merged 1 commit into
mainfrom
docs/CORE-340-submit-success-email

Conversation

@EthelHsiao

Copy link
Copy Markdown
Contributor

Type of changes

  • Docs

Purpose

  • Add sendResponseEmail to the form API contract
  • Document whether a form should send a confirmation email to respondents after successful submission

Additional Information

  • FormRequest now accepts optional sendResponseEmail; if omitted, backend should default it to false.
  • FormResponse now returns required sendResponseEmail so frontend can initialize the settings toggle from form data.
  • This PR only updates the API docs/contract. Backend storage, submission-time email decision logic, and email template implementation should be handled in the backend repo.
  • Regenerated OpenAPI and Redocly docs successfully.

@github-actions

github-actions Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

🧹 PR is closed. Preview docs removed.

🔗 https://NYCU-SDC.github.io/core-system-api/preview-143/

@EthelHsiao EthelHsiao requested a review from kevinlin0313 May 18, 2026 14:15
@elvisdragonmao elvisdragonmao merged commit 64e5449 into main Jul 2, 2026
4 checks passed
github-actions Bot added a commit that referenced this pull request Jul 2, 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.

3 participants