Include submitted form contents in hackathon request confirmation email - #276
Merged
Merged
Conversation
The /hack/request confirmation email was generic — recipients had no copy of what they submitted. Render an HTML-escaped 'Your Submission' table (labels mirror the admin HackathonRequestDetailDialog) in the email for both create and self-service update. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/hack/requestconfirmation email was generic — requesters had no copy of what they submitted. It now includes a "Your Submission" table with the full form contents, on both initial submit and self-service edits.create_hackathon/update_hackathon_requestpass the full payload tosend_hackathon_request_email(request_data=...); a new_render_request_summary_htmlrenders it. Backend-only — no frontend or API contract changes.Details
HackathonRequestDetailDialog(Organization, Theme, Preferred call date, …);nonprofitSourcevalues map to the form's actual checkbox wording.$15,000, custom theme as "Custom — {their text}", responsibilities as "Venue & equipment: Your organization"-style rows.donationPercentage: 0, and internal keys (status,created, agreement checkboxes) are skipped.Testing
api/messages/tests/test_hackathon_requests.pypass: 13 pre-existing + 5 new (labels, HTML escaping, skipped fields, empty payload, payload pass-through).🤖 Generated with Claude Code