描述
This ticket relates to the planned redesign of the Browse Channels modal, including the addition of a mechanism for sorting Channels in order to make discovery and navigation easier. For full specs and sizing, please see the Design Files. Scope of this ticket:
Add filtering dropdowns to the top of the browser modal UI, with the following options:
- Sort: Recommended, Newest, Most members, A to Z, Z to A
Below we define what the “recommended” sorting logic should follow:
When there is no search terms and “recommended” sorting is selected (default), then show:
- First, show unjoined public channels that users in their social circle have already joined (ie people that the current user DMs with and appears in the users sidebar). Sort by channels with the most recent messages > then most members
- Next, show remaining unjoined public channels. Sort by channels with the most recent messages > then most members
- Next, show joined public channels. Sort by last view time
- Next, show Private channels. Sort by last view time
- Lastly, show Archived channels. Sort by last view time.
When there is a search term in the input area, and the “recommended” sorting is selected (default when searching), then show:
- First, show public channels (joined and unjoined) that start with search term. Sort by channels with the most recent messages > then most members
- Next, show remaining public channels (joined and unjoined) that contain the search term in channel name. Sort by channels with the most recent messages > then most members
- Next, show Private channels that start or contain search term. Sort by channels with the most recent messages > then most members
- Next, show Archived channels that start or contain search term. Sort by channels with the most recent messages > then most members
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.