GA Release

  1. Muting Categories - Jira ticket

    1. Categories

      1. Muting a category mutes all channels within it

        1. Users can then explicitly unmute desired channels (via the channel notification preferences or quick access menu)

      2. Unmuting a category unmutes all channels within it, except channels that were explicitly muted (via the channel notification preferences or quick access menu). 

      3. Dragging a channel between categories:

        1. If an explicitly muted channel (muted via the channel notification preferences or quick access menu) is moved to a new category, it remains explicitly muted.

        2. In all other cases, the channel being moved inherits it’s mute preference from the category it’s been dragged into.

      4. The Direct Messages category cannot be muted

      5. Examples:

        1. Muting a category mutes all channels within the category. 

          1. I can explicitly unmute a select channel within the category. Dragging the explicitly unmuted channel into a muted category will keep the channel unmuted.

          2. Dragging any other channels from the muted category into an unmuted category unmutes those channels. 

        2. Unmuting a category unmutes all channels within it 

          1. I can explicitly mute a select channel within the unmuted category.

          2. The explicitly muted channel stays muted when dragging it to an unmuted category.

        3. User unmutes all the channels in a muted category

          1. The category becomes “unmuted”

        4. User mutes all the channels in an unmuted category

          1. The category becomes “muted”

  2. Next steps for the unreads filter - Jira ticket

    1. Functional Notes

      1. No changes when the filter is OFF - design

        1. The sidebar will display in the default view displaying all channels and categories

      2. Removes all categories when the filter is ON - design

        1. Unreads with mentions will be grouped and sorted to the top by recency.

        2. Unreads without mentions will be grouped and sorted by recency below.

        3. Muted channels with mentions will be grouped and sorted by recency below.

        4. Note - this is the same functionality we have for the 'Unreads grouped separately' category in the non-experimental channel sidebar when the channel grouping is set to 'Recency'

  3. Logic for auto-closing DMs - Jira ticket

    1. The number of direct messages shown in the sidebar should be customizable via the … menu > Show dropdown

      1. When “All direct messages” is selected, show all DMs and GMs that the user has opened, unless they’ve manually removed them from the sidebar

      2. When any other number is selected, show a maximum of XX direct/group messages in the sidebar and hide the others. 

        1. If the user has more than XX conversations, show the XX with the most recent activity. Recent activity is considered the greater of “last_viewed_at” time or timestamp of the most recent message in the channel. 

        2. If there are XX conversations in the sidebar already and the user receives a new message in a DM or GM that isn’t in the sidebar yet, or opens a new DM or GM, then remove the conversation from the sidebar that has the oldest recent activity (as defined above). 

        3. If there are over XX unread DM’s, show all unread DMs in the sidebar

    2. The default (out-of-the-box) should be 20 DMs shown in the sidebar, but the user can change this from the sub-menu anytime

    3. The old setting for “Auto-close DMs after 7 days” should not be supported with the new sidebar after these changes are implemented, meaning it’s not shown in Account settings if the new sidebar is enabled. It should still be supported when using the old sidebar though (ie when the user setting for the new “Experimental Sidebar Features” is disabled)

    4. Unread DMs should always be visible, even if they haven't been viewed by the user for longer than the last XX direct/group messages.

  4. Channel Multi-select: - Jira ticket

    1. Selecting non-sequential channels

      1. Users can hold ⌘ (mac) or CTRL (win) and click on channels to select non-sequential channels. 

    2. Selecting sequential channels

      1. Users can hold shift (mac) and (win) and click on channels to select sequential channels.

      2. Channels will be selected consecutively across categories if applicable

    3. When using multi-select (ctrl or shift clicking on channels), the first selected channel/DM/GM is what we display in the center channel.

    4. Once multiple channels are selected, users can move them by:

      1. Use the … > Move to menu to move channels to specific categories. 

        1. If the selection contains DM/GMs, then don’t show the “Channels” category in the Move to menu

        2. If the selection contains channels, then don’t show the “Direct Messages” category in the Move to menu

      2. Drag the selected channels to a different category

        1. Show a count indicator on the draggable to indicate how many items are being dragged

        2. If the selection contains DM/GMs only, show a “cant drop” cursor on the “Channels” category when dragged over and also dim the category opacity

        3. If the selection contains Channels only, show a “cant drop” cursor on the “Direct Messages” category when dragged over and also dim the category opacity

        4. If the selection contains a mix of DM/GMs and channels,

          1. Allow dropping into the “Channels” category, but the DM/GMs in the selection should remain in their original location and should be left selected after the drop is complete.

          2. Allow dropping into the “Direct Messages” category, but the channels in the selection should remain in their original location and should be left selected after the drop is complete.

    5. If multiple channels/DMs/GMs are selected, the … menu on those items should have the following modifications

      1. Pluralize the word “channel” > “channels” in the menu texts

      2. The “Copy Link” and “Add members” options should be removed 

      3. The actions taken in the menu should apply to all the selected channels (favorite, mark as read, mute etc)

      4. If the user selects “Leave channels”,

        1. If the selection contains private channels, we need to modify the help text of the leave private channel modal to list all the private channels being left.

        2. If the selection contains DMs/GMs then those channels are closed from the sidebar.

  5. Reintroduce the “Unreads” category (configurable in account settings)

    1. Account settings:

      1. Add a new setting to Account Settings > Sidebar for Group unread channels separately. Default: Unchecked https://mattermost.atlassian.net/browse/MM-30806

      2. Migration: Anyone who has the old Uber Account Setting > Channel Grouping and Sorting > Unreads grouped separately option enabled, then enable the new checkbox by-default

    2. When the “List unread channels separately” checkbox is selected,

      1. Remove the unread filter button from the UI (See design)

      2. Introduce an UNREADS category at the top of the sidebar

        1. Move unread channels to the UNREADS category, sorting by the same rules as when the updated unread filter is applied: https://docs.google.com/document/d/17Uw_HMptsXADgganXffjB1k8_WuAn5nyOU5JrqZj_AA/edit#bookmark=id.sa914mtdjufl  

        2. Do not allow channels/DMs in the UNREADS category to be picked up/dragged

        3. Show the can’t drop indicator over the UNREADS category if trying to drop a channel from another category

        4. For channels outside the UNREADS category, don’t show the UNREADS category in the “Move to” submenu

        5. For unread channels in the UNREADS category, don’t show the “Move to” menu option in the channel … menu

        6. Do not allow the UNREADS category to be collapsed (do not have a collapse arrow) and do not have a … menu on the unreads category

    3. When the “List unread channels separately” checkbox is not selected,

      1. We have the same behaviour as we have today for sorting and filtering (see designs for updated UI for filter mechanism)

    4. Update the UI around the filter mechanism and global “+” button (see designs):

      1. Add the the following options to every category “•••” menu (except the Direct Messages category). See designs

        1. Browse channels

        2. Create new channel

        3. Create new category

      2. The global + button should have the following options. See designs

        1. Browse channels

        2. Create new channel

        3. Open a direct message 

        4. Create new category (not available when the unread filter is on)

      3. When viewing in the browser (not desktop app), the history back/forward buttons are hidden and the layout for the filter button and global + button modifies to show these controls on either side of the ‘Find channels’ button. (see design)

    5. Updated the Direct Messages category hover state:

      1. Replace the sorting toggle with a ••• icon with the following options:

        1. Sort

        2. Show

        3. Open a Direct Message

      2. Plus button - no change in functionality - opens up the DM modal