Cosa succede per un post in una categoria silenziata con un tag osservato?

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 Mi Piace

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

1 Mi Piace

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 Mi Piace

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 Mi Piace

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:

1 Mi Piace

Ciao, mi sono appena iscritto perché ho cercato/esplorato cosa si può fare per un forum basato su Discourse; (anche se questo ha 4 anni, sembra essere il più adatto)
Dove attualmente viene data molta importanza ai tag e molte persone silenziano e seguono vari tag… tuttavia, a causa di come funziona attualmente il sistema di notifica. I tag seguiti hanno la priorità sui tag silenziati, con il risultato che le persone ricevono notifiche di argomenti che non desiderano. Questo vale anche per le categorie in cui un tag seguito sovrascrive una categoria silenziata, ma il problema principale sembra essere (e lo sento anche io) che il tag seguito viene prima.
Esempio di ciò nel contesto di questo forum: Ho silenziato il tag ai-bot ma ho il tag completed seguito. Di conseguenza, mi aspetto di non ricevere mai alcun argomento con ai-bot, nemmeno quelli con completed. Tuttavia, un giorno ricevo una notifica su Enabling AI Bot in Chat che contiene entrambi i tag a causa di come funziona attualmente il sistema.

C’è un modo per dare all’utente la possibilità di decidere quale tag e/o categoria viene prima o per consentire agli amministratori di impostare/modificare questo da soli?

C’è un’opzione separata sotto le preferenze di tracciamento dove puoi configurare il comportamento. (C’è anche un’impostazione del sito per configurare l’impostazione predefinita)

1 Mi Piace

Huh…um…non vedo quell’opzione, è una questione di permessi o qualcos’altro? (inoltre non la vedo nemmeno sull’altro forum a cui sono iscritto):

È nascosto finché non guardi e metti in muto qualcosa

1 Mi Piace

Ancora non viene visualizzato, ho anche aggiornato la pagina:

Appare quando guardi una categoria?

1 Mi Piace

Sì… quindi è necessario farlo sia per le categorie che per i tag, stavo giusto modificando questo nel mio post:


Tuttavia, sembra che sia necessario averlo in “seguito”, non è possibile impostarlo prima su “in osservazione” e farlo apparire… il che spiega perché non è mai stato notato dato che le categorie sono solo circa 7, più o meno.
Comunque, solo per confermare… selezionare quella casella dovrebbe portare a quanto segue:

Non si verifica, corretto?

Modifica: Mi sono appena reso conto di non aver chiesto se questo funziona anche per la sezione “in osservazione al primo post”, dato che è lì che ho impostato tutti i miei tag, poiché poi imposto manualmente l’argomento su “seguito” o meno.

Ho provato quanto segue:

  • Imposta tag1 su guardando il primo post
  • Silenzia tag2
  • Imposta category1 su guardando e abilita “notificami gli argomenti nelle categorie o nei tag che sto guardando e che appartengono anche a uno che ho silenziato”
  • Rimuovi category1 da guardando

Quindi stavo solo guardando il primo post di tag1 e ho silenziato tag2.
Ho ricevuto una notifica per un nuovo argomento che ho creato.

Quindi ho abilitato nuovamente la visione di category1 per disabilitare “notificami gli argomenti nelle categorie o nei tag che sto guardando e che appartengono anche a uno che ho silenziato” e ho nuovamente svuotato l’elenco delle categorie guardate.

Quindi non sono stato avvisato di un nuovo argomento che era taggato con entrambi i tag.

Quindi “notificami gli argomenti nelle categorie o nei tag che sto guardando e che appartengono anche a uno che ho silenziato” funziona anche quando non stai guardando una categoria, anche se la preferenza non è visibile allora

1 Mi Piace

Quindi, se ho capito bene, per evitare che l’esempio si verifichi nell’altro forum su cui sono (come attualmente accade prima di qualsiasi intervento per far apparire questa preferenza), devo far apparire la preferenza guardando una categoria qualsiasi, abilitare la preferenza e salvare, quindi disabilitare la preferenza e cancellare la categoria di osservazione. Corretto?

Scusa se sto sbagliando a capire o se lo sto spiegando in modo confuso, di solito sono uno studente visivo a riguardo e voglio essere certo di aver capito bene per non dover tornare a disturbare tutti qui ancora una volta.