Commit 0437ab6e authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'kp-add-vue-app-names-product-planning' into 'master'

Add missing Vue app names for apps within Product Planning

See merge request gitlab-org/gitlab!80797
parents 508829cd 82b2a417
...@@ -12,6 +12,7 @@ export default () => { ...@@ -12,6 +12,7 @@ export default () => {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Vue({ new Vue({
el, el,
name: 'ConfigToggleRoot',
render(h) { render(h) {
return h(ConfigToggle, { return h(ConfigToggle, {
props: { props: {
......
...@@ -64,6 +64,7 @@ function mountBoardApp(el) { ...@@ -64,6 +64,7 @@ function mountBoardApp(el) {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Vue({ new Vue({
el, el,
name: 'BoardAppRoot',
store, store,
apolloProvider, apolloProvider,
provide: { provide: {
...@@ -121,6 +122,7 @@ export default () => { ...@@ -121,6 +122,7 @@ export default () => {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Vue({ new Vue({
el: createColumnTriggerEl, el: createColumnTriggerEl,
name: 'BoardAddNewColumnTriggerRoot',
components: { components: {
BoardAddNewColumnTrigger, BoardAddNewColumnTrigger,
}, },
......
...@@ -18,6 +18,7 @@ export default (apolloProvider, isSignedIn, releasesFetchPath) => { ...@@ -18,6 +18,7 @@ export default (apolloProvider, isSignedIn, releasesFetchPath) => {
return new Vue({ return new Vue({
el, el,
name: 'BoardFilteredSearchRoot',
provide: { provide: {
initialFilterParams, initialFilterParams,
isSignedIn, isSignedIn,
......
...@@ -16,6 +16,7 @@ export default (params = {}) => { ...@@ -16,6 +16,7 @@ export default (params = {}) => {
const { dataset } = boardsSwitcherElement; const { dataset } = boardsSwitcherElement;
return new Vue({ return new Vue({
el: boardsSwitcherElement, el: boardsSwitcherElement,
name: 'BoardsSelectorRoot',
components: { components: {
BoardsSelector, BoardsSelector,
}, },
......
...@@ -6,6 +6,7 @@ export default () => { ...@@ -6,6 +6,7 @@ export default () => {
return new Vue({ return new Vue({
el: '#js-toggle-focus-btn', el: '#js-toggle-focus-btn',
name: 'ToggleFocusRoot',
render(h) { render(h) {
return h(ToggleFocus, { return h(ToggleFocus, {
props: { props: {
......
...@@ -17,6 +17,7 @@ export default (apolloProvider) => { ...@@ -17,6 +17,7 @@ export default (apolloProvider) => {
return new Vue({ return new Vue({
el, el,
name: 'EpicBoardFilteredSearchRoot',
provide: { provide: {
initialFilterParams, initialFilterParams,
}, },
......
...@@ -11,6 +11,7 @@ export default () => { ...@@ -11,6 +11,7 @@ export default () => {
return new Vue({ return new Vue({
el, el,
name: 'ToggleEpicsSwimlanesRoot',
components: { components: {
ToggleEpicsSwimlanes, ToggleEpicsSwimlanes,
}, },
......
...@@ -5,6 +5,7 @@ import ToggleLabels from './components/toggle_labels.vue'; ...@@ -5,6 +5,7 @@ import ToggleLabels from './components/toggle_labels.vue';
export default () => export default () =>
new Vue({ new Vue({
el: document.getElementById('js-board-labels-toggle'), el: document.getElementById('js-board-labels-toggle'),
name: 'ToggleLabelsRoot',
components: { components: {
ToggleLabels, ToggleLabels,
}, },
......
...@@ -52,6 +52,7 @@ export default () => { ...@@ -52,6 +52,7 @@ export default () => {
return new Vue({ return new Vue({
el, el,
name: 'EpicRoot',
apolloProvider, apolloProvider,
store, store,
components: { EpicApp }, components: { EpicApp },
......
...@@ -26,6 +26,7 @@ export function initEpicForm() { ...@@ -26,6 +26,7 @@ export function initEpicForm() {
return new Vue({ return new Vue({
el, el,
name: 'EpicCreateRoot',
apolloProvider, apolloProvider,
provide: { provide: {
groupPath, groupPath,
......
...@@ -49,6 +49,7 @@ function mountBoardApp(el) { ...@@ -49,6 +49,7 @@ function mountBoardApp(el) {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Vue({ new Vue({
el, el,
name: 'BoardRoot',
store, store,
apolloProvider, apolloProvider,
provide: { provide: {
...@@ -104,6 +105,7 @@ export default () => { ...@@ -104,6 +105,7 @@ export default () => {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Vue({ new Vue({
el: createColumnTriggerEl, el: createColumnTriggerEl,
name: 'BoardAddNewColumnTriggerRoot',
components: { components: {
BoardAddNewColumnTrigger, BoardAddNewColumnTrigger,
}, },
......
...@@ -56,6 +56,7 @@ export default function initEpicsList({ mountPointSelector }) { ...@@ -56,6 +56,7 @@ export default function initEpicsList({ mountPointSelector }) {
return new Vue({ return new Vue({
el: mountPointEl, el: mountPointEl,
name: 'EpicsListRoot',
apolloProvider, apolloProvider,
provide: { provide: {
initialState, initialState,
......
...@@ -38,6 +38,7 @@ export default () => { ...@@ -38,6 +38,7 @@ export default () => {
return new Vue({ return new Vue({
el, el,
name: 'RelatedItemsTreeRoot',
store: createStore(), store: createStore(),
components: { RelatedItemsTreeApp }, components: { RelatedItemsTreeApp },
created() { created() {
......
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