Prioritize from: autocomplete results based on recent DM activity

Description

Repro: Type from: in the search input field

Observed: server returns all users on the team ordered alphabetically

Expected: Show a maximum of 20 results that match the search criteria in the following order:

A) First, show users with DM channels that have a last_viewed_at time (with sorting by most recent first)
B) Next, show all other users in the team (sorting alphabetical)

Note: Can this be done as a hybrid client-server approach so the local results of the users are returned immediately and then the server results are added after

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Eric Sethna

Fix versions

Mattermost Team

Platform

Sprint

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure