2018-03-17 18:26:18 +05:30
|
|
|
/* eslint-disable no-new */
|
|
|
|
|
|
|
|
import IssuableIndex from '~/issuable_index';
|
2018-12-05 23:21:45 +05:30
|
|
|
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
|
2018-03-17 18:26:18 +05:30
|
|
|
import UsersSelect from '~/users_select';
|
|
|
|
import initFilteredSearch from '~/pages/search/init_filtered_search';
|
2019-07-07 11:18:12 +05:30
|
|
|
import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable_filtered_search_token_keys';
|
2018-03-17 18:26:18 +05:30
|
|
|
import { FILTERED_SEARCH } from '~/pages/constants';
|
|
|
|
import { ISSUABLE_INDEX } from '~/pages/projects/constants';
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
2019-07-07 11:18:12 +05:30
|
|
|
IssuableFilteredSearchTokenKeys.addExtraTokensForIssues();
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
initFilteredSearch({
|
|
|
|
page: FILTERED_SEARCH.ISSUES,
|
2018-12-05 23:21:45 +05:30
|
|
|
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
|
2018-03-17 18:26:18 +05:30
|
|
|
});
|
|
|
|
new IssuableIndex(ISSUABLE_INDEX.ISSUE);
|
|
|
|
|
|
|
|
new ShortcutsNavigation();
|
|
|
|
new UsersSelect();
|
|
|
|
});
|