Page MenuHomePhabricator

Allow user to mute notifications from Special:Mute page
Open, NormalPublic2 Story Points

Description

This is a follow-up from T218265: Mute: Add links to disable email and mute specific user to emails sent via Special:EmailUser.

Value proposition

We should support muting notifications for users from Special:Mute, which is the special page we will be using for T218270: Mute: Add links to the Tools menu on user pages to mute/unmute user and T218266: Mute: Add links to mute specific user to Echo notification. This is also a step forward towards bringing the mute lists closer.

Acceptance criteria:

  • Add the second checkbox (Mute notifications from this user) on Special:Mute page:

  • If a user checks this checkbox and hits save, the user they are muting is added to the Muted users list under the Notifications tab in Special:Preferences.
  • After save, the checkboxes and save button go away and a confirmation message displays: User:ABC has been muted. See all muted users in Special:Preferences. - the link goes to Special:Preferences on the wiki they are on.
  • If a user lands on Special:Mute with the user they request to mute already being in one or both of the mute lists, those respective checkboxes are already checked. Unchecking a box and saving the form, removes the user from the respective mute list.

Note that this only holds if Echo is installed and enabled. If there is no Echo, we only show the one checkbox that's added in T218265

Event Timeline

Niharika created this task.Apr 5 2019, 12:33 AM
Niharika triaged this task as Normal priority.
Restricted Application added subscribers: MGChecker, Aklapper. · View Herald TranscriptApr 5 2019, 12:33 AM
Niharika updated the task description. (Show Details)Apr 17 2019, 5:06 PM
Niharika removed the point value for this task.

Just to clarify, if Echo is not enabled, then the checkboxes will not be there, correct? or would there be a single checkbox?

Just to clarify, if Echo is not enabled, then the checkboxes will not be there, correct? or would there be a single checkbox?

There will be a single checkbox. I'll add that to the description. :)

Niharika updated the task description. (Show Details)Apr 17 2019, 5:11 PM

Can we change the text of the "Mute user" button to just "Save"? The reason being, that if the user is unumutting a user, then they uncheck the box and then click "Mute user"? seems odd. :)

Can we change the text of the "Mute user" button to just "Save"? The reason being, that if the user is unumutting a user, then they uncheck the box and then click "Mute user"? seems odd. :)

Oh, good point. I'll update it. Thanks for catching that!

Niharika updated the task description. (Show Details)Apr 17 2019, 5:14 PM
Niharika set the point value for this task to 2.Thu, May 2, 6:55 PM