The discussion revolves around whether chat should open by default or remember its last state (open/minimized, last viewed channel/PM) when users return to the site. mcwumbly initiated the topic after DiscourseMetrics requested this feature, noting their users live in chat and find it cumbersome to manually reopen and select channels. DiscourseMetrics uses a custom RocketChat integration and currently offers a workaround to minimize chat by default. They prefer the chat to restore the exact state (channel and open/minimized) from the user’s last session. mcwumbly acknowledges the potential benefit but cautions that auto-opening chat unconditionally could be distracting. Jagster adds that for many users, chat is accessed after reading posts — so auto-opening it inconsistently (e.g., every other visit) could create a jarring experience, calling it a ‘lose-lose situation.’ The team agrees the idea is worth exploring but needs broader input to define appropriate logic for when and how to restore chat state.
Would it be possible to have an option to open the chat to the last viewed channel/PM and have it open automatically if it was open the last time the user visited?
I would prefer if the last state the user was in (channel and open/minimised) was stored and that it would just restore that by default when loading the page.
My users live in the chat. But if I use this as is they will all have to open the chat and select a channel to view new messages. Would it be possible to have an option to open the chat to the last viewed channel/PM and have it open automatically if it was open the last time the user visited? Doing this makes most sense on larger screens, of course.
mcwumbly
note: I understand this may not be completely what you're looking for, but clicking the chat icon in the header does open to the last viewed channel now (if they are living in the same browser session too)
what chat app are your users currently living in?
DiscourseMetrics
A custom RocketChat on top of Discourse :)
It looks like this, quite similar to the new chat here:
Would it be possible to have an option to open the chat to the last viewed channel/PM and have it open automatically if it was open the last time the user visited?
@DiscourseMetrics I'm interested in what the current behavior is for your chat integration and whether that's exactly what you'd like (or if you'd ideally prefer something a bit different).
Does that chat window open up by default in the bottom right? Is it expanded like that or minimized (or does that depend on the state the user last had it in?)
DiscourseMetrics
At the moment it opens to a default channel as shown in the screenshot. I've given users an option (that they enable by joining a group - hacky but it works) that will not open the chat by default, so it is just shown minimised/as a bar. I would prefer if the last state the user was in (channel and open/minimised) was stored and that it would just restore that by default when loading the page.
mcwumbly
Cool, thank you. I'm going to capture this in a topic. I think it's something worth considering, but I'd like to solicit some more input about the idea first.
I can see something like this being helpful, but it could be distracting to do this unconditionally, so we need to consider what the logic is here.
Most of my ”chat active” users normally read forum posts first and after that they open chat. So if chat would open automatically if lefted open it would act differently every second time. And that is not nice.
This is more or less another loose-loose situation, I reckon.