Slack command to un(watch|follow|mute) tag or category

AI-generated summary

The discussion is about implementing a Slack command to unwatch, unfollow, or unmute tags and categories in Discourse. mcwumbly proposes this feature and provides test cases to demonstrate the desired functionality. They also mention a related feature request to update the status for one tag. mcwumbly notes that several other related issues have been fixed, but this feature is still needed for sites with many channels. mcwumbly has created a PR for this feature, which includes tests. tgxworld thanks mcwumbly for the PR and appreciates the inclusion of tests, making it easier to review.

Test cases:

/discourse watch foo #watching category foo
/discourse watch bar #watching catgeory foo and bar
/discourse unwatch too #watching category bar
/discourse watch tag:foo #watching tag foo
/discourse watch tag:bar #watching tag foo and bar
/discourse unwatch tag:foo #watching tag bar

And perhaps this is a separate feature request, but what about updating the status for one tag? I think today it may do this:

/discourse watch tag:foo #watching tag foo
/discourse watch tag:bar #watching tag foo and bar
/discourse follow tag:foo 
#watching tag foo and bar, following tag foo

Instead of this:

/discourse watch tag:foo #watching tag foo
/discourse watch tag:bar #watching tag foo and bar
/discourse follow tag:foo 
#watching tag bar, following tag foo
4 Likes

A bunch of other issues have now been fixed:

This is the only one I see remaining that really prevents the plugin from being manageable for sites integrating with a slack instance that has 100’s of channels where admins need to enable users to have the ability to use the slack command as a self-service means to choose what kinds of topics their channels are subscribed to.

2 Likes

Created a PR for this feature here:

https://github.com/discourse/discourse-slack-official/pull/38

6 Likes

Thank you for the PR :+1: It was great that you added tests as well making it easier to review.

2 Likes