2018-03-17 18:26:18 +05:30
|
|
|
/* eslint-disable no-new */
|
|
|
|
|
2020-01-01 13:55:28 +05:30
|
|
|
import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable_filtered_search_token_keys';
|
2018-03-17 18:26:18 +05:30
|
|
|
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';
|
|
|
|
import { FILTERED_SEARCH } from '~/pages/constants';
|
|
|
|
import { ISSUABLE_INDEX } from '~/pages/projects/constants';
|
2020-05-24 23:13:21 +05:30
|
|
|
import initIssuablesList from '~/issuables_list';
|
2019-09-30 21:07:59 +05:30
|
|
|
import initManualOrdering from '~/manual_ordering';
|
2020-06-23 00:09:42 +05:30
|
|
|
import { showLearnGitLabIssuesPopover } from '~/onboarding_issues';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
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,
|
2020-10-24 23:57:45 +05:30
|
|
|
useDefaultState: true,
|
2018-03-17 18:26:18 +05:30
|
|
|
});
|
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
new IssuableIndex(ISSUABLE_INDEX.ISSUE);
|
2018-03-17 18:26:18 +05:30
|
|
|
new ShortcutsNavigation();
|
|
|
|
new UsersSelect();
|
2020-05-24 23:13:21 +05:30
|
|
|
|
2019-09-30 21:07:59 +05:30
|
|
|
initManualOrdering();
|
2020-05-24 23:13:21 +05:30
|
|
|
initIssuablesList();
|
2020-06-23 00:09:42 +05:30
|
|
|
showLearnGitLabIssuesPopover();
|
2018-03-17 18:26:18 +05:30
|
|
|
});
|