mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Moved autocomplete components into web/react/components/suggestion
This commit is contained in:
@@ -5,10 +5,10 @@ import * as client from '../utils/client.jsx';
|
||||
import * as AsyncClient from '../utils/async_client.jsx';
|
||||
import SearchStore from '../stores/search_store.jsx';
|
||||
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
|
||||
import SuggestionBox from '../components/suggestion_box.jsx';
|
||||
import SearchChannelProvider from '../components/search_channel_provider.jsx';
|
||||
import SearchSuggestionList from '../components/search_suggestion_list.jsx';
|
||||
import SearchUserProvider from '../components/search_user_provider.jsx';
|
||||
import SuggestionBox from './suggestion/suggestion_box.jsx';
|
||||
import SearchChannelProvider from './suggestion/search_channel_provider.jsx';
|
||||
import SearchSuggestionList from './suggestion/search_suggestion_list.jsx';
|
||||
import SearchUserProvider from './suggestion/search_user_provider.jsx';
|
||||
import * as utils from '../utils/utils.jsx';
|
||||
import Constants from '../utils/constants.jsx';
|
||||
var ActionTypes = Constants.ActionTypes;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import SuggestionStore from '../stores/suggestion_store.jsx';
|
||||
import UserStore from '../stores/user_store.jsx';
|
||||
import * as Utils from '../utils/utils.jsx';
|
||||
import SuggestionStore from '../../stores/suggestion_store.jsx';
|
||||
import UserStore from '../../stores/user_store.jsx';
|
||||
import * as Utils from '../../utils/utils.jsx';
|
||||
|
||||
class AtMentionSuggestion extends React.Component {
|
||||
render() {
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
|
||||
import * as Client from '../utils/client.jsx';
|
||||
import Constants from '../utils/constants.jsx';
|
||||
import SuggestionStore from '../stores/suggestion_store.jsx';
|
||||
import AppDispatcher from '../../dispatcher/app_dispatcher.jsx';
|
||||
import * as Client from '../../utils/client.jsx';
|
||||
import Constants from '../../utils/constants.jsx';
|
||||
import SuggestionStore from '../../stores/suggestion_store.jsx';
|
||||
|
||||
class CommandSuggestion extends React.Component {
|
||||
render() {
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import ChannelStore from '../stores/channel_store.jsx';
|
||||
import Constants from '../utils/constants.jsx';
|
||||
import SuggestionStore from '../stores/suggestion_store.jsx';
|
||||
import ChannelStore from '../../stores/channel_store.jsx';
|
||||
import Constants from '../../utils/constants.jsx';
|
||||
import SuggestionStore from '../../stores/suggestion_store.jsx';
|
||||
|
||||
class SearchChannelSuggestion extends React.Component {
|
||||
render() {
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import Constants from '../utils/constants.jsx';
|
||||
import Constants from '../../utils/constants.jsx';
|
||||
import SuggestionList from './suggestion_list.jsx';
|
||||
import * as Utils from '../utils/utils.jsx';
|
||||
import * as Utils from '../../utils/utils.jsx';
|
||||
|
||||
export default class SearchSuggestionList extends SuggestionList {
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import SuggestionStore from '../stores/suggestion_store.jsx';
|
||||
import UserStore from '../stores/user_store.jsx';
|
||||
import SuggestionStore from '../../stores/suggestion_store.jsx';
|
||||
import UserStore from '../../stores/user_store.jsx';
|
||||
|
||||
class SearchUserSuggestion extends React.Component {
|
||||
render() {
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
|
||||
import Constants from '../utils/constants.jsx';
|
||||
import SuggestionStore from '../stores/suggestion_store.jsx';
|
||||
import * as Utils from '../utils/utils.jsx';
|
||||
import AppDispatcher from '../../dispatcher/app_dispatcher.jsx';
|
||||
import Constants from '../../utils/constants.jsx';
|
||||
import SuggestionStore from '../../stores/suggestion_store.jsx';
|
||||
import * as Utils from '../../utils/utils.jsx';
|
||||
|
||||
const ActionTypes = Constants.ActionTypes;
|
||||
const KeyCodes = Constants.KeyCodes;
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import AppDispatcher from '../dispatcher/app_dispatcher.jsx';
|
||||
import Constants from '../utils/constants.jsx';
|
||||
import SuggestionStore from '../stores/suggestion_store.jsx';
|
||||
import AppDispatcher from '../../dispatcher/app_dispatcher.jsx';
|
||||
import Constants from '../../utils/constants.jsx';
|
||||
import SuggestionStore from '../../stores/suggestion_store.jsx';
|
||||
|
||||
export default class SuggestionList extends React.Component {
|
||||
constructor(props) {
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
import AtMentionProvider from './at_mention_provider.jsx';
|
||||
import CommandProvider from './command_provider.jsx';
|
||||
import SuggestionList from './suggestion_list.jsx';
|
||||
import SuggestionBox from './suggestion_box.jsx';
|
||||
import AtMentionProvider from './suggestion/at_mention_provider.jsx';
|
||||
import CommandProvider from './suggestion/command_provider.jsx';
|
||||
import SuggestionList from './suggestion/suggestion_list.jsx';
|
||||
import SuggestionBox from './suggestion/suggestion_box.jsx';
|
||||
import ErrorStore from '../stores/error_store.jsx';
|
||||
|
||||
import * as TextFormatting from '../utils/text_formatting.jsx';
|
||||
|
||||
Reference in New Issue
Block a user