When the user clicks "Submit" the report is being sent out via email to a private email address.
We need to define the subject line and content of the email.
Madalina | |
Aug 25 2023, 3:22 PM |
F37672174: image.png | |
Sep 8 2023, 2:32 PM |
When the user clicks "Submit" the report is being sent out via email to a private email address.
We need to define the subject line and content of the email.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T337566 [EPIC]: Incident Reporting System - Minimal Testable Product (MTP) | |||
Resolved | kostajh | T345257 Wire the reporting form to the API endpoint | |||
Resolved | kostajh | T337635 Create API endpoint for receiving report data | |||
Resolved | kostajh | T344997 Define email content and subject line |
@Madalina this is what I have defined in the work-in-progress patch for T345256: Send email based on form submission:
What do you think?
Do we want to vary the subject line to include e.g. the reported username or a timestamp, for the use-case that a user files multiple reports?
Looks good!
For the subject line, I assume we want to use the username of the reporter, so something like "New Incident Report from [reporter username]"? "Admin" is confusing me a bit.
@JSengupta-WMF any thoughts on this one?
Yeah, in this case, "Admin" is the username I was testing with on my local wiki. Maybe a template like New incident report from User:{username} would be more clear.