What happens for a post in a muted category with a watched tag?

Hi everyone,

I have a community working on a lot of projects. Each one of them has its own category, which is muted by default (what is written is not private but most people don’t care, we do not display it unless the user is specifically going in the category page).

Those projects sometime need to display publicly something (major news, need for help…).

I thought about using a tag «important» that would be tracked or watch by default, so that those post could reach everyone, but the category setting seems to override the tag setting.

Right now, I have to use two categories : one for usual work which stays muted by default and an other one that is just with normal setting. This set up is very unsatisfactory, we have to double the number of setting, people see twice the number of category when choosing where to post…

Can you see a way to locally:

  • Prioritize tag setting over category setting ?
  • Prioritize watched setting over muted setting ?
  • An other way to achieve my goal ?

Thanks in advance.

2 Likes

There should be a different public category for these posts, like “major public project updates” then you could tag it with the project.

1 Like

Thank you for that answer,
We’re on the way to switch as you recommended as it seems indeed more intuitive.

But there is still a problem.
We’ll have two categories:

  • Announcement
  • Work in Progress

And we’ll have tags, for each project.

The target behaviour would be:

  • On Announcement, every user should see the post for any project/tag
  • On W-i-P, the user should be able to mute the projects/tags they don’t participate in.

So I think the setting should be:

  • Announcement : Track or Watch by default
  • W-i-P : Normal by default
  • Tags : let the user decide witch tag to follow or mute, and maybe add a theme component on front page to let them toggle the notification level easily for these selected tags.

But this setting will also mute the tag in the announcement category.
Is there a way to prevent this behaviour?

  • By making tracked or watch override mute when there is a tag and a category with different setting (the message would be muted only with a setting “mute/mute” or “mute/normal”, which would be the most intuitive behaviour. I mean, “Better safe than sorry”, in case of conflicting setting, the rule should to not drop the post. And normal not conflicting with anything.)

  • By making the category setting (for a specific category) override the tag setting ? Is that doable with a theme component ? I guess not but I’m not advanced enough for plugins.

The alternative would be to remove tags from announcements but that seems very not satisfactory. There would be no way to have an overview of all posts regarding one project.

Yes oca, I believe we already discussed this in the past. There may be problems of priority according to what you actually want to achieve: For example: User muted, when you actually would like his replies to show when it’s in tracked topic. A tracked topic inside a muted category. Tracked tags inside a muted category (your case) or for muted topics. Muted tags inside a tracked category or for tracked topics. (Note: Tracked or watched)

I’m not even totally sure how all this actually reacts.
Does the muting always have priority currently ?

This seems to be something which would need more complex settings to handle: A list of priorities to set what has priority over what (in what order), or at least an additional setting on the “muting” to select “low priority” or “high priority”.

1 Like

I haven’t broadly tested (because It quite tricky to notify myself, I do that with a do-admin when we both have time) but I haven’t found a case where it’s not.

I can understand if that’s not on this issue is not on the current roadmap but I would be glad to try to make a plugin to handle this if someone can give me some hints on where to look on the codebase.

Edit: May I have found the setting: remove muted tags from latest?
I’ll do some more tests.
Edit2: Seems it only deal with the conflicts between tags, not between tags and category. Such a setting would be a nice thing to have.

1 Like

May one solution for you be to suppress yourself the categories from latest with some code rather than to mute them ? In this case, you could check in your code if there isn’t a reason to still show a topic despite it being in a suppressed category (for example: presence of a certain tag). One con is that users can’t select themselves to not “mute” the categories anymore.

Here is some code that may help you get started:
https://github.com/communiteq/discourse-suppress-category-from-latest
https://github.com/discourse/discourse-categories-suppressed

1 Like

Hey there just signed up as I’ve been trying to searching/look around for what can be done for Discourse powered forum; (although this is 4 years old it appears to fit best)
Where currently it has a big focus put on tags and that many people mute and follow various tags…however as a result of how currently the notification system works. The watching tags have priority over muted tags resulting in people getting notifications of topics that they do not want. This does also apply to categories of where a watched tag is overriding a muted category as well, but the main problem appears to be (and I feel is as well) is that watching tag comes first.
Example of this in the context of this forum: I have muted ai-bot tag but have completed tag watched. As a result I expect to never get any topic with ai-bot even ones with completed. However I one day I get a notification about Enabling AI Bot in Chat which has both tags in it due to how the system currently works.

Is there some way to have an option for the user to decide as to which tag and/or category comes first or have the admins be able to change/set this themselves?

There is a separate option below the tracking preferences where you can configure the behavior. (There is also a site setting to configure the default)

1 Like

Huh…um…I don’t see that option is it a permission thing or something else? (also don’t see it on the other site forum I’m on):

It is hidden until you watch and mute something

1 Like

Still not showing, refreshed the page too:

Does it appear when you watch a category?

1 Like

Yep…so it needs you to do it for both categories and tags, was just editing that into my post:


However it seems like it is required that you have it in watched, you can’t do watching first post and have it appear…which explains why it’s never been spotted as the categories are only like 7 give or take.
Anyway just to confirm…ticking that box should result in the following:

Not occurring, correct?

Edit: Just realized I didn’t ask if this also works for watching first post section too as that’s where I have all my tags set in as I then manually set the topic to watched or not.

I have tried the following:

  • Set tag1 to watching first post
  • Muted tag2
  • Set category1 to watching and enabled ‘notify me about topics in categories or tags I’m watching that also belong to one I have muted’
  • Removed category1 from watching

So I was only watching first post of tag1 and muted tag2.
I received a notification for a new topic I created.

Then I enabled watching of category1 again to disable ‘notify me about topics in categories or tags I’m watching that also belong to one I have muted’ and cleared the watching category list again.

Then I wasn’t notified about a new topic which was tagged with both tags.

So 'notify me about topics in categories or tags I’m watching that also belong to one I have muted’ also works when you do not watch a category though the preference is not visible then

1 Like

So if I understood correctly to get the example to not occur in the other site forum I’m on (as currently it does occur before any meddling to get this preference to appear) , I need to get the preference to appear via watching any category, enable preference and save, then disable preference and clear the watching category. Correct?

Sorry if I am messing up with understanding this or making this sound messy, I am usually a visual learner in this regard and want to be certain that I understand this and don’t then need to come back and bother everyone here once more.