debian-mirror-gitlab/app/assets/javascripts/pages/groups/issues/index.js

25 lines
911 B
JavaScript
Raw Normal View History

2020-01-01 13:55:28 +05:30
import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable_filtered_search_token_keys';
2019-12-26 22:10:19 +05:30
import initIssuablesList from '~/issuables_list';
2018-03-17 18:26:18 +05:30
import projectSelect from '~/project_select';
import initFilteredSearch from '~/pages/search/init_filtered_search';
2019-09-30 21:07:59 +05:30
import issuableInitBulkUpdateSidebar from '~/issuable_init_bulk_update_sidebar';
2018-03-17 18:26:18 +05:30
import { FILTERED_SEARCH } from '~/pages/constants';
2019-09-30 21:07:59 +05:30
import initManualOrdering from '~/manual_ordering';
const ISSUE_BULK_UPDATE_PREFIX = 'issue_';
2018-03-17 18:26:18 +05:30
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2019-07-07 11:18:12 +05:30
IssuableFilteredSearchTokenKeys.addExtraTokensForIssues();
2019-09-30 21:07:59 +05:30
issuableInitBulkUpdateSidebar.init(ISSUE_BULK_UPDATE_PREFIX);
2019-07-07 11:18:12 +05:30
2019-12-26 22:10:19 +05:30
initIssuablesList();
2018-03-17 18:26:18 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.ISSUES,
2018-05-09 12:01:36 +05:30
isGroupDecendent: true,
2018-12-05 23:21:45 +05:30
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
2018-03-17 18:26:18 +05:30
});
projectSelect();
2019-09-30 21:07:59 +05:30
initManualOrdering();
2018-03-27 19:54:05 +05:30
});