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

27 lines
973 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-09-30 21:07:59 +05:30
import issuableInitBulkUpdateSidebar from '~/issuable_init_bulk_update_sidebar';
2021-06-08 01:23:25 +05:30
import { mountIssuablesListApp } 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 initFilteredSearch from '~/pages/search/init_filtered_search';
import projectSelect from '~/project_select';
2019-09-30 21:07:59 +05:30
const ISSUE_BULK_UPDATE_PREFIX = 'issue_';
2018-03-17 18:26:18 +05:30
2021-01-03 14:25:43 +05:30
IssuableFilteredSearchTokenKeys.addExtraTokensForIssues();
2021-03-08 18:12:59 +05:30
IssuableFilteredSearchTokenKeys.removeTokensForKeys('release');
2021-01-03 14:25:43 +05:30
issuableInitBulkUpdateSidebar.init(ISSUE_BULK_UPDATE_PREFIX);
2019-07-07 11:18:12 +05:30
2021-01-03 14:25:43 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.ISSUES,
isGroupDecendent: true,
useDefaultState: true,
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
2018-03-27 19:54:05 +05:30
});
2021-01-03 14:25:43 +05:30
projectSelect();
initManualOrdering();
2021-06-08 01:23:25 +05:30
if (gon.features?.vueIssuablesList) {
mountIssuablesListApp();
}