Secure categories was where I was thinking mostly.
I work with a not-for-profit where more content is in secure categories than not.
Additionally a larger portion of the user base has access to the secure categories than not, it becomes important for them to know if other users can see the content when interacting.
Making this happen in the composer preview window would be huge! I’ve been asked before (and had to ask myself the first time) what happens if you @mention a user in a PM or secure category. Showing clearly that they will not be notified in any way is great.
The muted case I am not worried about, just the general “this person won’t be notified”.
One thing I have done myself a fair bit is be in a PM and say something like hey @user can you have a look at this? and they never get notified because, duh, they are not on the PM. It would be nice to have a popup that says:
You mentioned @user but they won’t be notified because they are unable to see this personal message. Would you like to add them to this PM?
And similarly:
You mentioned @user but they won’t be notified because they do not have access to this category. Would you like to add them to a group that has access to this category?
I have a very rough version of this working now. I still need to clean it up and add a few tests, but it is getting close. Should have time again later this week to finish this off.
Those questions, are they intended to be rhetorical, or will there a link/button to click to answer “yes” to the question?
If not, I would like to suggestion copy changes:
Change “Would you like to add them to a group that has access to this category?” to “You will need to add them to a group that has access to this category.” (a statement)
and change “Would you like to add them to this PM?” to “You will need to invite them to this PM.” (again, a statement)
Regardless, nice job! This will be really nice when chatting in PMs, especially as it makes it clear to new staff that they can mention a user without worrying about them seeing the PM.
I have experienced the modal as a minor annoyance.
At SitePoint we have restricted Staff categories. One of the Staff members that might be mentioned has the name “PaulOB”. There are also non-Staff members with the names “PauL” and “Paulo”
I can simply ignore the modal that covers the preview pane, but if I close the “paul does not have access” to see the preview I get another for Paulo.
I consider it only a minor annoyance, but if the modal could not happen until a space character after the mention I think it would be better.