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-12-05 23:21:45 +05:30
|
|
|
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
|
2021-04-17 20:07:23 +05:30
|
|
|
import initCsvImportExportButtons from '~/issuable/init_csv_import_export_buttons';
|
2021-03-11 19:13:27 +05:30
|
|
|
import initIssuableByEmail from '~/issuable/init_issuable_by_email';
|
|
|
|
import IssuableIndex from '~/issuable_index';
|
2021-04-17 20:07:23 +05:30
|
|
|
import initIssuablesList, { initIssuesListApp } from '~/issues_list';
|
2019-09-30 21:07:59 +05:30
|
|
|
import initManualOrdering from '~/manual_ordering';
|
2021-03-11 19:13:27 +05:30
|
|
|
import { FILTERED_SEARCH } from '~/pages/constants';
|
|
|
|
import { ISSUABLE_INDEX } from '~/pages/projects/constants';
|
|
|
|
import initFilteredSearch from '~/pages/search/init_filtered_search';
|
|
|
|
import UsersSelect from '~/users_select';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
IssuableFilteredSearchTokenKeys.addExtraTokensForIssues();
|
2019-07-07 11:18:12 +05:30
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
initFilteredSearch({
|
|
|
|
page: FILTERED_SEARCH.ISSUES,
|
|
|
|
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
|
|
|
|
useDefaultState: true,
|
|
|
|
});
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2021-04-29 21:17:54 +05:30
|
|
|
if (gon.features?.vueIssuesList) {
|
|
|
|
new IssuableIndex();
|
|
|
|
} else {
|
|
|
|
new IssuableIndex(ISSUABLE_INDEX.ISSUE);
|
|
|
|
}
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
new ShortcutsNavigation();
|
|
|
|
new UsersSelect();
|
2020-05-24 23:13:21 +05:30
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
initManualOrdering();
|
|
|
|
initIssuablesList();
|
2021-03-11 19:13:27 +05:30
|
|
|
initIssuableByEmail();
|
2021-04-17 20:07:23 +05:30
|
|
|
initCsvImportExportButtons();
|
|
|
|
initIssuesListApp();
|