* Fix offline indicator UI * Add search screen with recent mentions functionality * Fix make start * Add autocomplete to the search box * Fix search bar in other screens * Get search results and scroll the list * Add reply arrow to search result posts * Search result preview and jump to channel * Feedback review
13 lines
364 B
JavaScript
13 lines
364 B
JavaScript
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {ViewTypes} from 'app/constants';
|
|
|
|
export function handleSearchDraftChanged(text) {
|
|
return async (dispatch, getState) => {
|
|
dispatch({
|
|
type: ViewTypes.SEARCH_DRAFT_CHANGED,
|
|
text
|
|
}, getState);
|
|
};
|
|
}
|