Page MenuHomePhabricator

Allow users to unsubscribe from the “Watched” tab on Special:Translate
Closed, DeclinedPublic1 Estimated Story Points

Description

T367992: Provide quick access to the groups the user has subscribed to adds a watched tab to the group selector that lists all the groups that the user is watching.

To unwatch the watched groups, the user has to select each watched group, and then click on the Stop watching button that appears.

This can be made simpler by adding an unwatch button in the group selector itself.

Event Timeline

I’m not sure if overloading the group selector is a good idea. Currently the whole line is clickable to select the group. If a part of it becomes a star, it could lead to misclicks. (It would also make keyboard navigation harder by having to tab through more things – if it was possible at all to tab through the groups… T369088.)

As I wrote in T363663#9755140, I think there should be a page usable without JavaScript that allows unsubscribing. If it looked like the core Special:EditWatchlist, it would solve this problem as well: one could check many checkboxes in a row and then press unsubscribe.

I’m not sure if overloading the group selector is a good idea. Currently the whole line is clickable to select the group. If a part of it becomes a star, it could lead to misclicks. (It would also make keyboard navigation harder by having to tab through more things – if it was possible at all to tab through the groups… T369088.)

I'm also inclined to avoid direct access to unsubscribe from the watched tab. It fragments the purpose of the selector in an unbalanced way (it is possible to unsubscribe to groups but not to subscribe to them directly) and, in the case of missclicking, reverting the action becomes problematic if the item just disappears (users need to find the group again).

If there is a need for more complex management (unsubscribing from several groups) we may want to provide such support on a dedicated view supporting both adding and removing several items. At the bottom of the Watched tab in the selector a footer item with a "manage your subscriptions" action could lead to such interface.

As suggested by @Tacsipacsi, we could use a similar structure to Special:EditWatchlist with only 3 of the 4 tabs in place as relevant to this use case. Majority of the code should be php based. We could also consider adding a link against an item to 'undo' the [un]subscribe action after the form is submitted in case there was a mistaken click. Design considerations are welcome, @Pginer-WMF.

image.png (1,980×2,256 px, 415 KB)

As suggested by @Tacsipacsi, we could use a similar structure to Special:EditWatchlist with only 3 of the 4 tabs in place as relevant to this use case. Majority of the code should be php based. We could also consider adding a link against an item to 'undo' the [un]subscribe action after the form is submitted in case there was a mistaken click. Design considerations are welcome, @Pginer-WMF.

image.png (1,980×2,256 px, 415 KB)

The approach makes sense to me. The Watchlist management is a similar usecase, so using it as a starting point sounds good.
There are a couple of small adjustments that we can consider:

  • The default tab seems to be about "viewing and editing". However, for editing, it is actually focused on removing items. We can consider (a) show a brief text indicating how to add message groups (e.g., search for message group and select the "watch" option or edit the raw list to add them manually), or (b) adjust the tab label to make it more explicit about the tab being about "view and unsubscribe".
  • The "Remove action" makes more sense to be active only when there is at least something selected. We can consider when Javascript is available to disable the button while there is an empty selection. If this complicates things technically, we can just keep it as it is with the Watchlist.

For the labels, I can imagine using the following (illustrating the option (a) above):

Edit subscriptions

View and edit subscriptions | Edit raw subscriptions list | Clear all subscriptions
••••••••••••••••••••

Subscribe to message groups
You can use the "watch" option from any message group page, or [edit the raw list] to add them manually.

*Unsubscribe from message groups**
The message groups you are subscribed to are shown below. To unsubscribe for one or more items, check the boxes next to them and use the "Unsubscribe" option at the bottom. You can also [edit the raw list].

(...List...)

[Unsubscribe]

In my understanding the raw list option mostly exists for people who have so many pages on the watchlist that managing the list becomes too slow. It seems unlikely that this would be an issue with message groups. It may still be useful for people to "mass subscribe" things by pasting text there, but that feels like niche use case. Maybe we could not have the raw version at first (unless we can reuse code that would provide it for free)?

For now, we're planning to have a separate page where users can manage their message group subscriptions. See: T363663: Add a page where translators can see a list of all groups that they are subscribed to.

I'll create a separate task to link to that page by adding a “manage your subscriptions” action at the bottom of the watched tab.

abi_ changed the point value for this task from 4 to 1.