-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Contributor Dashboard] Send feedback email to volunteers #16086
Comments
@anubhutiv Just to check, by comment, do you mean the single reviewer comment after accepting/rejecting a suggestion? |
May be a duplicate of #13129. |
@anubhutiv isn't around currently, so I can try to help with the requirements. I suggest that we send an email to a volunteer each time a suggestion they make is accepted/rejected (possibly batched if many reviews happen around the same time), |
Sounds good. And to address #13129, the email should also include any edits made by the reviewer. |
The uber requirment is that if a volunteer is making a mistake, reviewer can give feedback in a manner visible to them. Email is one of the solution. |
Hi @sagangwee, thanks for proposing this as a good first issue. I am removing the label for now and looping in @DubeySandeep to approve the label. It will be added back if approved. Thanks! |
@seanlip I would like to work in this issue. |
@aagman945 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you're changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue. Please also follow the other instructions on that wiki page if you have not yet done so. Thanks! |
Yes, it is possible to send an email to a volunteer every time feedback is given to them for a suggestion they submitted. The email should include the status of the suggestion (accepted or rejected) and any edits made by the reviewer. You can use the example email templates provided in the link you shared as a guide. Additionally, you may want to consider making the option to leave feedback more prominently visible to volunteers in the UI to ensure they are aware of it. |
Hi @seanlip, I would like to work on this issue. AFAIU, we need a new service of sending feedback email to volunteer in core/domain/email_manager.py. That service will need to be added to the suggestion controller core/controllers/suggestion.py. We also need to add tests in email_manager_test.py and suggestion_test.py Is that correct? If not, please provide any suggestions. |
Yes, I think this sounds pretty good, thanks! Happy to assign you to it @haanhvu. Just to clarify the scope: the plan is to send an email to a volunteer each time a suggestion they make is accepted/rejected (possibly batched if many reviews happen around the same time). The email should also include any edits made by the reviewer (see #13129). Two questions: (1) Could you please make a suggestion for the email template to use in the accepted/rejected cases? In the rejected case please make sure that there's a way to communicate any edits/feedback done by the reviewer. You might want to prepare a short doc outlining your implementation approach and share it here, that way we can give you some feedback and help you with any decisions needed. Thanks! |
Sorry I haven't made much progress with this issue. I'll unassign myself now so that other contributors who're interested in this issue can take it. I'll come back to this issue later when I have time. If it's not resolved yet, I'll finish it. Thanks! |
Hi @seanlip I believe I can resolve this issue easily, can you assign me the issue?? |
@shashank-mishra14 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you're changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue. Please also follow the other instructions on that wiki page if you have not yet done so. Thanks! |
Hey, I can make some changes by providing email feedback back to core/domain/email_manager.py. Adding tests in suggestions_test.py and email_manager_test.py will do the work. Adding the new suggestion to suggestion_test.py will be necessary. |
@seanlip @sagangwee I have made a short doc which has email template, PTAL docx As for the case where a reviewer reviews multiple submissions from the same person within a short amount of time, we can batch the emails and send them out in one email instead of sending individual emails for each submission. This will help reduce the number of emails that the volunteer receives and make it easier for them to manage their inbox. We can set a threshold time limit (e.g., 30 minutes) and send a single email that includes all the accepted/rejected suggestions that were reviewed within that time frame. |
@Ash-2k3 Just a note on requirements -- there's also a case where the reviewer might edit a suggestion and then accept it. We'd still want to let the contributor know what edits were made. The batching strategy sounds reasonable to me. I'll defer to @sagangwee to comment on the rest, since he leads the Contributor Dashboard team. |
@seanlip Okay I have updated the doc which will include this case too... |
@Ash-2k3 I think the batching sounds good, though noting we might want to mark each suggestion as having an email notification sent to avoid duplicates in case the batch cron job fails and it is re-run. That can be a future improvement though. Also left comments on the email template. Thanks! |
@sagangwee Okay I will update the doc accordingly and get started...Thanks! |
@sagangwee @seanlip I have done the changes..I want to test it on my local server...How can I do that ?.. |
@seanlip @sagangwee, What about a case where multiple reviewers reviewed submissions from the same person within the time frame. Do we have to batch such mails too ?.. If yes then we may need to modify |
@Ash-2k3 In general, I would say that if a user is going to receive N emails in succession, with basically the same content, then we should batch them. The combined email should be already batched before being sent to _send_email() -- i.e. the body of the batched email should be sent, and I don't think you need to modify the _send_email() function. Batching should be done in the layer of the code that has logic pertaining to that specific set of emails, not the general infrastructure. |
Okay, I will do the same. Thanks |
Since I am already working on some issues, currently I am not able to raise a PR. Un-assigning me as of now to let it be open for other contributors. . I will get back to this issue after a week if no one else takes it. Thanks! |
@seanlip can you please assign me this issue?
|
@PasunuriSrinidhi Thanks for your message. I'm afraid this is too vague and doesn't really explain how we would implement this in the current codebase specifically. I would suggest taking a look at the actual code in the Oppia codebase and maybe trying to make a working prototype on your machine; that would help you give a more specific approach in your explanation here. It would help if you could point to specific files that you plan to edit and the types of edit that you plan to do in each. |
Hi @seanlip , in my opinion, this may not be the best choice for a good first issue. While sending an email might be straightforward, developing an algorithm for batching could prove challenging for someone just starting out. |
@Ash-2k3 You might be right, but in that case @sagangwee is the person to talk to since he applied the label. Could you perhaps discuss this with him? |
@seanlip Thank you for your information. I will check the code and implement it in my local machine and give you the complete description and the changes that need to be done in specific files. |
Adding @sagangwee to confirm if this can be a good first issue. |
For new contributors
Original feature request
When I edit a card, even if I accept it, I want to send a feedback comment for the submitter.
While in the current version, there is an option to send a comment, it is not very prominently visible to the Volunteer.
Can we send an email to volunteer every time a feedback is being given to them.
The text was updated successfully, but these errors were encountered: