Fix for keeping a room hidden after activity#6299
Fix for keeping a room hidden after activity#6299kable-wilmoth wants to merge 1 commit intoRocketChat:developfrom
Conversation
| update = | ||
| $set: | ||
| alert: true | ||
| open: true |
There was a problem hiding this comment.
setAlertForRoomIdExcludingUserId is only called in one place and there was no expectation of the side effect of updating the room 'open' property.
There was a problem hiding this comment.
This was not a bug :) it was intended. If you want a different behaviour, we need to make it configurable.
|
This was not a bug :) it was intended. If you want a different behaviour, we need to make it configurable. |
|
Oh, I had no idea. I couldn't find any docs about it and the code and comments didn't make it obvious. So the current behavior just hides it until there is activity. This was the intent? So I assume people probably hid rooms that they were a member of but are not very active? |
|
We copied the behavior from Skype at the time. Maybe we could change the wording to CLOSE rather than HIDE? |
|
Hummm.. On a second thought, CLOSE may be even more confusing... |
|
My specific use case for our team. What did you think of my suggested setting? |
|
@kable-wilmoth I like your proposal of "Show hidden rooms when unread messages" |
marceloschmidt
left a comment
There was a problem hiding this comment.
I would love to see the suggested changes for "Show hidden rooms when unread messages"
|
I know your latest PRs were open for far too long, but we were busy with implementing the new UX and were trying to catch up, so I am sorry for that. Having said that, is there any reason why you closed all the open PRs? |
|
Hey guys! Let me know what you think about my suggestions for this feature on PR #8053. |
@RocketChat/core
Currently you can mark a room as hidden and it will be removed from your channel list, even after a browser refresh. BUT, if any activity occurs in this hidden channel, it no longer remains hidden.
This fix keeps the channel hidden w/ normal channel activity. Other things (notification settings) will make the room visible (mentions, etc.) but that is a different concern.