crowdAI / crowdai

Fighting for Open Science with Open Data
https://www.crowdai.org
GNU Affero General Public License v3.0
149 stars 32 forks source link

Changes to email preferences #75

Closed scarroll32 closed 7 years ago

scarroll32 commented 7 years ago

Verify emails are correctly being sent to the users as per email preferences.

scarroll32 commented 7 years ago

Post Notification and Leaderboard mailers suspended while investigating.

scarroll32 commented 7 years ago

"A post is made to a topic to which I am participating" is actually sending an email to every participant, not just those participating to the challenge.

screen shot 2017-03-06 at 19 33 15

This can be fixed but we are still sending many emails out. For example https://www.crowdai.org/topics/observation-vector/posts/new has had 12 posts with 7 in a in a single day. Each post triggered an email to every participant (except those already opted out).

scarroll32 commented 7 years ago

Suggested changes to settings:

All emails are logged before sending to Mandrill. I will add a view to more easily visualise how many emails are going out in response to which events.

screen shot 2017-03-06 at 19 38 47

@marcelsalathe your thoughts?

scarroll32 commented 7 years ago

40,081 emails have been sent from crowdAI since tracking started (I think around October 2016). We have 687 participants.

marcelsalathe commented 7 years ago

"A post is made to a topic to which I am participating" is actually sending an email to every participant, not just those participating to the challenge.

This obviously needs fixing.

I agree to remove "in any challenge, a new entry is made on the leaderboard"

Also, "general" is not clear -> if I click crowdAI newsletter, will I get it? This is incoherent.

I think we need to discuss these in person in the next few days.

scarroll32 commented 7 years ago

Ok let's discuss.

The post and leaderboard emails are disabled at the moment.

On 6 Mar 2017, at 22:51, Marcel Salathé notifications@github.com wrote:

"A post is made to a topic to which I am participating" is actually sending an email to every participant, not just those participating to the challenge.

This obviously needs fixing.

I agree to remove "in any challenge, a new entry is made on the leaderboard"

Also, "general" is not clear -> if I click crowdAI newsletter, will I get it? This is incoherent.

I think we need to discuss these in person in the next few days.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

scarroll32 commented 7 years ago

Proposed changes to email preferences:

The check boxes on the Email Preferences change to:

Add a email frequency section:

Email Frequency

It may be useful to have a tab on the user profile listing challenges which they are following.

marcelsalathe commented 7 years ago

I think this is a very good way. What should also be possible is to be able to follow a challenge, without participating. So this would need a new user interface element.

scarroll32 commented 7 years ago

@marcel I agree. We could either use the proposed "heart" for a challenge as both a like and a follow indicator, or have a separate "follow" or "watch" indicator. GitHub uses "watch" and I think this makes sense for us also.

scarroll32 commented 7 years ago

Partially implemented. Will hold for new designs for remainder.

https://github.com/crowdAI/crowdai/commit/8266e52cc9c44274c41b132c622b6b9c1b7de898

scarroll32 commented 7 years ago

Needs to include integration with Mailchimp's API for the newsletter.

scarroll32 commented 7 years ago

First part of changes applied: https://github.com/crowdAI/crowdai/commit/c8055c5af88867556c7e9c9cfcfd7d48ec090c8a

scarroll32 commented 7 years ago

Send emails only on create and not update, in case the author edits the post

scarroll32 commented 7 years ago

Send only on create https://github.com/crowdAI/crowdai/commit/ae6be2d8b397ddc2e665105d8d328f1cfd114de0

scarroll32 commented 7 years ago

Summary of discussion

Email Settings

These do not change, and the default settings are marked below. The crowdAI newsletter needs to be integrated with the Mailchimp list.

Challenge Participants

Email Text

You have received this email because you are following one or more challenges on crowdAI.

The frequency for emails is set as daily digest | weekly digest 
OR
You will receive an email for every discussion post.

You can change your email settings [here]

@jsnrynlds What should the on state for the Follow button be?

jsnrynlds commented 7 years ago

Hi @seanfcarroll – I would simply change the text to "Following".

marcelsalathe commented 7 years ago

@jsnrynlds Is there any issue that the shape of the button will increase / decrease depending on the text?

jsnrynlds commented 7 years ago

@marcelsalathe @seanfcarroll Yes, it maybe best to create a separate modifier that can be applied to this button to maintain a min. width:

btn-min-width {
    min-width: 110px;
}
scarroll32 commented 7 years ago

I think the expanding button looks fine. Please review @marcelsalathe

jsnrynlds commented 7 years ago

I'd say in this scenario it would be better to apply a min-width so the button doesn't expand. Not a massive deal either way though.

scarroll32 commented 7 years ago

Implemented https://github.com/crowdAI/crowdai/commit/21eeb4ae999225dbc3c1f91cab1705f5da12f02b

scarroll32 commented 7 years ago

Closed