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

27 lines
991 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';
2022-03-02 08:16:31 +05:30
import { initBulkUpdateSidebar } from '~/issuable/bulk_update_sidebar';
import { mountIssuesListApp } from '~/issues/list';
2022-01-26 12:08:38 +05:30
import initManualOrdering from '~/issues/manual_ordering';
import { FILTERED_SEARCH } from '~/filtered_search/constants';
2021-03-11 19:13:27 +05:30
import initFilteredSearch from '~/pages/search/init_filtered_search';
import projectSelect from '~/project_select';
2019-09-30 21:07:59 +05:30
2021-11-11 11:23:49 +05:30
if (gon.features?.vueIssuesList) {
mountIssuesListApp();
} else {
const ISSUE_BULK_UPDATE_PREFIX = 'issue_';
2018-03-17 18:26:18 +05:30
2021-11-11 11:23:49 +05:30
IssuableFilteredSearchTokenKeys.addExtraTokensForIssues();
IssuableFilteredSearchTokenKeys.removeTokensForKeys('release');
2022-03-02 08:16:31 +05:30
initBulkUpdateSidebar(ISSUE_BULK_UPDATE_PREFIX);
2019-07-07 11:18:12 +05:30
2021-11-11 11:23:49 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.ISSUES,
isGroupDecendent: true,
useDefaultState: true,
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
});
projectSelect();
initManualOrdering();
2021-06-08 01:23:25 +05:30
}