plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Add comment text to moderator email

Open jywarren opened this issue 7 years ago • 10 comments

I am now receiving comment moderation emails - awesome work @ValentinaTironi @gauravano and others!

image

I think we need to add the comment text itself into the template so that people can skim the comment before approving it:

https://github.com/publiclab/plots2/blob/322b7561e81fd207fcb75a7c0e48940ecf891dad/app/views/admin_mailer/notify_comment_moderators.html.erb

What do you think? Thanks!

Also, i noted that when i clicked "Approve" the comment didn't seem to appear until I reloaded the page. I think we may (separately) need to add "?_" + Time.now.to_s to the end of the route to clear the cache in the browser.

jywarren avatar Jan 02 '19 23:01 jywarren

Hi @jywarren ! Can I take this up ? add the comment text itself into the template

Dsxv avatar Jan 03 '19 10:01 Dsxv

Hi @Dsxv sure go ahead!

grvsachdeva avatar Jan 03 '19 10:01 grvsachdeva

If somebody needs some help here, don't doubt to ask!

vatbq avatar Jan 03 '19 12:01 vatbq

Yes , I wanted to make sure that is there a reason for the mail being plane ( without style ) , or I can add some styles

Dsxv avatar Jan 03 '19 13:01 Dsxv

mmm I think there isn't any problem with adding styles. What do you think @gauravano @jywarren ?

vatbq avatar Jan 03 '19 13:01 vatbq

For now, we shouldn't add style because if we are thinking of designing emails then it should be uniform for all email templates. We can form a project around designing of emails, but for now, let's keep it simple comment body addition. @jywarren any thoughts?

Thanks!

grvsachdeva avatar Jan 03 '19 14:01 grvsachdeva

Okay I'll keep that in mind !
For now , I have just added basic style for comment ( close to nothing :p ) which can be removed easily .

Dsxv avatar Jan 03 '19 14:01 Dsxv

@jywarren @gauravano @ValentinaTironi On which branch should I make the pull request to?

Dsxv avatar Jan 03 '19 14:01 Dsxv

master branch

grvsachdeva avatar Jan 03 '19 14:01 grvsachdeva

Okay Done ! Thanks !

Dsxv avatar Jan 03 '19 14:01 Dsxv