PLT-4457 Added AtMention component to better render at mentions (#6563)

* Moved Utils.searchForTerm into an action

* Added easier importing of index.jsx files

* PLT-4457 Added AtMention component to better render at mentions

* Fixed client unit tests

* Fixed merge conflict

* Fixed merge conflicts
Этот коммит содержится в:
Harrison Healey
2017-06-20 15:22:46 -04:00
коммит произвёл GitHub
родитель 270fc41c0f
Коммит 68ea0abfa6
11 изменённых файлов: 216 добавлений и 117 удалений

Просмотреть файл

@@ -351,3 +351,11 @@ export function increasePostVisibility(channelId, focusedPostId) {
return posts.order.length >= POST_INCREASE_AMOUNT;
};
}
export function searchForTerm(term) {
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_SEARCH_TERM,
term,
do_search: true
});
}