Page MenuHomePhabricator

A user is notified when their collection has been hidden or unhidden
Closed, ResolvedPublic3 Estimated Story Points

Description

In the same way that hiding a collection triggers a log, it should also trigger either an echo notification or email to a user so that they know something happened and have instructions for changing their content or appealing.

Message: Your collection was hidden. Collections are hidden if they go against our [terms of use| https://en.wikipedia.org/wiki/Wikipedia:Gather/Moderation_Criteria]. You can contest this [here | https://en.wikipedia.org/wiki/Wikipedia:Gather/User_Feedback]

Event Timeline

JKatzWMF raised the priority of this task from to Needs Triage.
JKatzWMF updated the task description. (Show Details)
JKatzWMF added a project: Gather.
JKatzWMF subscribed.
Jdlrobson set Security to None.
Jdlrobson edited a custom field.

@JKatzWMF we need those questions in TODO answered.

@JKatzWMF to add the urls and move to ready for dev when done.

JKatzWMF updated the task description. (Show Details)
JKatzWMF moved this task from In Analysis to Ready for dev on the Gather Sprint Forward board.

@JKatzWMF, @Jdlrobson Does this need to indicate the collection in question? Perhaps include the title of the hidden /unhidden collection somewhere in the notification?

Each notification needs to be configured with a hook and have a notification category associated with it. Each of these notification categories can be toggled on and off by the user in their preferences. For the preference checkbox label I have "Notify me when someone hides or unhides a collection I've made." This category will be used for both hidden and unhidden notifications. What makes sense as a category name? "gather-moderate", "gather-hidden" For now I have gather-hidden as the category name.

@rmoen @Jdlrobson

Thank you for clarifying--this should indicate the collection in question (ideally linked).

here is the reworded text:
"Your collection [link to collection] was hidden. This means that you are the only one who can see them. Collections are hidden if they go against our [terms of use| https://en.wikipedia.org/wiki/Wikipedia:Gather/Moderation_Criteria]. You can contest this [here | https://en.wikipedia.org/wiki/Wikipedia:Gather/User_Feedback]

I think the category name is fine, as long as it is not visible to user. The user should only see "collection". As a side note, I will probably want to move the Gather links to pages named "Collections".

@JKatzWMF Thanks for the quick followup. I believe the category name is hidden from the user.

@JKatzWMF, Sorry last question: Do we want to include the username of the admin who hid the collection?
eg: Your collection [title | link to collection] was hidden by [User| link to user]

Things to consider:

We may find out that the text above is too long for an average notification. The general rule for notifications is that you generally want to have a single CTA in the message. Meaning if they click the item in the flyout, it takes them to one place. You can however, have multiple configured links the the message.

For now, I'm working in the full text. Though we may decide later to have a general message like "Your collection [title | link to collection] was hidden by [User| link to user]" in the flyout item and having the more verbose message in the email.

@rmoen we decided that including the blockers name might make it too personal. For the flyout, howabout:

"Your collection [link to collection] was hidden by another user. For more info see our [terms of use| https://en.wikipedia.org/wiki/Wikipedia:Gather/Moderation_Criteria].

Change 205443 had a related patch set uploaded (by Robmoen):
Notify user when their collection is hidden or unhidden

https://gerrit.wikimedia.org/r/205443

Screen cap of notification with the above patch

Screen_Shot_2015-04-20_at_2.52.08_PM.png (402×910 px, 74 KB)
I think we could iterate on this and make it fancier. I'm still learning about Echo and notification formatters.

Change 205443 merged by jenkins-bot:
Notify user when their collection is hidden or unhidden

https://gerrit.wikimedia.org/r/205443

@rmoen I can't trigger this on wmflabs. Can you?