Commit 73ff9e6f authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch 'cngo-move-code-out-of-pages' into 'master'

Move issues code out of ~/pages

See merge request gitlab-org/gitlab!76266
parents 7c704815 cb4b64bc
import FilteredSearchServiceDesk from './filtered_search_service_desk';
export function initFilteredSearchServiceDesk() {
if (document.querySelector('.filtered-search')) {
const supportBotData = JSON.parse(
document.querySelector('.js-service-desk-issues').dataset.supportBot,
);
const filteredSearchManager = new FilteredSearchServiceDesk(supportBotData);
filteredSearchManager.setup();
}
}
import initRelatedIssues from '~/related_issues';
import initSidebarBundle from '~/sidebar/sidebar_bundle';
import initShow from '../../issues/show';
import initShow from '~/issues/show';
initShow();
initSidebarBundle();
......
import initForm from 'ee_else_ce/pages/projects/issues/form';
import initForm from 'ee_else_ce/issues/form';
initForm();
import initForm from 'ee_else_ce/pages/projects/issues/form';
import initForm from 'ee_else_ce/issues/form';
initForm();
import { mountIssuablesListApp } from '~/issues_list';
import FilteredSearchServiceDesk from './filtered_search';
import { initFilteredSearchServiceDesk } from '~/issues/init_filtered_search_service_desk';
const supportBotData = JSON.parse(
document.querySelector('.js-service-desk-issues').dataset.supportBot,
);
if (document.querySelector('.filtered-search')) {
const filteredSearchManager = new FilteredSearchServiceDesk(supportBotData);
filteredSearchManager.setup();
}
initFilteredSearchServiceDesk();
if (gon.features?.vueIssuablesList) {
mountIssuablesListApp();
......
import { store } from '~/notes/stores';
import initRelatedIssues from '~/related_issues';
import initSidebarBundle from '~/sidebar/sidebar_bundle';
import initShow from '../show';
import initShow from '~/issues/show';
initShow();
initSidebarBundle(store);
......
import initEpicsSelect from 'ee/vue_shared/components/sidebar/epics_select/epics_select_bundle';
import initForm from '~/pages/projects/issues/form';
import initForm from '~/issues/form';
export default () => {
initEpicsSelect();
......
import initRelatedFeatureFlags from 'ee/related_feature_flags';
import { store } from '~/notes/stores';
import initShow from '~/pages/projects/issues/show';
import initShow from '~/issues/show';
import initRelatedIssues from '~/related_issues';
import initSidebarBundle from '~/sidebar/sidebar_bundle';
import UserCallout from '~/user_callout';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment