Plots2: Adjust date of comments that are changed to answers on /questions

Created on 24 Jan 2018  Â·  7Comments  Â·  Source: publiclab/plots2

A new feature was added that allows people to move comments on /questions to answers. However, when comments are now adjusted, a new email goes out and the date of the original post is not maintained.

Here's a link to the code: https://github.com/publiclab/plots2/blob/ceb7d05404b4619c7fa8cd8cae5e8215798cb02c/app/controllers/comment_controller.rb#L154-L157

Ruby enhancement fto-candidate help wanted

All 7 comments

Let's work on ensuring the dates are set to the original comment date first.

Then, we can suppress the emails by removing this line: https://github.com/publiclab/plots2/blob/ceb7d05404b4619c7fa8cd8cae5e8215798cb02c/app/controllers/comment_controller.rb#L161

Thanks, @steviepubliclab !!

Hi @steviepubliclab, I have implemented this feature so I am well familiar with the code.Can I help to resolve this? Thanks.

@Gauravano yes please, that would be fantastic!!

Thanks, @jywarren .Actually @jywarren @steviepubliclab I have a suggestion regarding email like we have an email for a new answer, comment.etc. Can we make notification mail for this feature too?

Hi, i think we already notify for new answers and comments, but we have
been interested in a "welcome email" feature for when people sign up for
the site initially. Would you wan to make a new issue for that and we can
try to draft what such an email should include?

Thanks, Gaurav!

On Sun, Feb 4, 2018 at 1:54 PM, Gaurav Sachdeva notifications@github.com
wrote:

Thanks, @jywarren https://github.com/jywarren .Actually @jywarren
https://github.com/jywarren @steviepubliclab
https://github.com/steviepubliclab I have a suggestion regarding email
like we have an email for a new answer, comment.etc. Can we make
notification mail for this feature too?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/2099#issuecomment-362930143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ3Yro6EaYlONROlqrp-JG_TUnjjmks5tRfzmgaJpZM4Rr_kl
.

I am definitely interested in taking this one.Thanks, Jeff.

awesome!!!

On Mon, Feb 5, 2018 at 4:00 PM, Gaurav Sachdeva notifications@github.com
wrote:

I am definitely interested in taking this one.Thanks, Jeff.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/2099#issuecomment-363219689,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ5gScciRD6pq5v2UWhoOu9VV2gNlks5tR2vygaJpZM4Rr_kl
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

first-timers[bot] picture first-timers[bot]  Â·  3Comments

grvsachdeva picture grvsachdeva  Â·  3Comments

jywarren picture jywarren  Â·  3Comments

grvsachdeva picture grvsachdeva  Â·  3Comments

noi5e picture noi5e  Â·  3Comments