Add an "Unread" section to the channel switcher and include "Threads" in results

Start date

Due date

Description

1. Add Unreads section

There was a change made recently to show recent channels in the channel switcher when it launches, instead of Unreads. Based on feedback, some users are missing the "Unreads" section and we should consider adding both an Unreads and Recent section to the channel switcher when it launches. Discord is an example of this.

When the channel switcher launches, show the following headings. Once a user types, these sections are hidden:

UNREAD
Show up to 5 unread channels, sorted with mentions first (secondary sorting by recent activity, ie last post time)

  • If a channel is unread AND recent, only show it in the unread category

  • If a channel is unread, bold the channel display name in the switcher

  • If items qualify for recent and unread only display it in the unread section and replace with another recent that is not unread.

    • So, the recent section displays the most recently viewed channel that is not unread

  • Include threads in the unread category if it qualifies

RECENT

Show 20 recently viewed channels using the same logic as the RECENT section today shows below the unreads section.

  • If there are no unreads, hide the unread section. Display recent category with 20 recently viewed

  • If a channel is unread AND recent, don’t show it in recent, only show in unread

  • Include threads in the recent category if it qualifies (and is not unread)

2. Include threads in search results

Threads should be accessible in the switcher when the user types if it matches the characters, and it should be prioritized first in the list if it matches, for example if the user types "t" then Threads should appear at the top of the list of returned channels

Design

 

 

Figma:

https://www.figma.com/file/3H4x6ZdXIpVql5T5TM0TY6/MM-35918-Add-Threads-to-Channel-Switcher?node-id=521%3A67221

QA Test Steps

See description

Attachments

1

Activity

Show:

Jelena Gilliam June 13, 2022 at 5:58 PM

Tested and Passed on v7.0. Closing.

Jelena Gilliam May 6, 2022 at 12:31 AM

Tested and Passed on Cloud May 11th 10739_a096a995_b217f89a_c101b324.

QA note: This ticket will be closed after v7.0 testing.

Ashish Dhama April 8, 2022 at 1:44 AM

Few points worth noting down.

  1. If a channel is unread AND recent, don’t show it in recent. Only show it in unread.
    When we have more than five unread channels, and they are also recent, they are showing up in the recent section

Yeah, this is correct as we are showing only five unread, so after that, if a channel is unread and recent, we show it as bold in the recent category. The goal is not to show duplicates.


2. Threads are not added to Recent when read and qualify as recent.

Threads aren’t actual channels. I am not sure if we have data of recent view, but a good catch will get back on this.
cc// @esethna @matthewbirtch we want threads in recent's like every other channel


3. DMs are not sorted on top of unread; recency seems to be the primary sorting

Here we follow the same sorting logic as in LHS, so yeah, it’s different than the sorting logic for Recent's category.
Thread on community https://community-daily.mattermost.com/core/pl/yiu7wgtss7nj8jiwyzfxowh81y on the same Discussion.

Matt Birtch March 21, 2022 at 3:43 PM
Edited

I updated this ticket description based on our discussion today.

Kaan Sahin November 9, 2021 at 2:40 PM

I don’t know if this is obvious, but I can’t really see it in the description above, so I comment again (sorry): The most value for me is reached when by pressing CTRL+K and then ENTER (without any typing in between) it switches to the first unread channel NOT the first recent channel. I think this is what many users want as default behaviour. Thank you.

Done
Pinned fields
Click on the next to a field label to start pinning.

Assignee

Ashish Dhama(Deactivated)

QA Assignee

Reporter

Sprint

Mattermost Team

Channels
Created August 6, 2021 at 8:20 PM
Updated June 13, 2022 at 5:58 PM
Resolved May 3, 2022 at 12:23 PM
Loading...