Commit 616fb960 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera Committed by Paul Slaughter

Add UserTiming plugin to container registry

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50422
parent 219df0a7
......@@ -7,6 +7,7 @@ import timeagoMixin from '~/vue_shared/mixins/timeago';
import { DETAILS_PAGE_TITLE, UPDATED_AT } from '../../constants/index';
export default {
name: 'DetailsHeader',
components: { GlSprintf, TitleArea, MetadataItem },
mixins: [timeagoMixin],
props: {
......
......@@ -4,6 +4,7 @@ import TagsListRow from './tags_list_row.vue';
import { REMOVE_TAGS_BUTTON_TITLE, TAGS_LIST_TITLE } from '../../constants/index';
export default {
name: 'TagsList',
components: {
GlButton,
TagsListRow,
......
......@@ -18,7 +18,7 @@ import {
} from '../../constants/index';
export default {
name: 'ImageListrow',
name: 'ImageListRow',
components: {
ClipboardButton,
DeleteButton,
......
......@@ -13,6 +13,7 @@ import {
} from '../../constants/index';
export default {
name: 'ListHeader',
components: {
TitleArea,
MetadataItem,
......
......@@ -2,6 +2,7 @@ import Vue from 'vue';
import { GlToast } from '@gitlab/ui';
import Translate from '~/vue_shared/translate';
import { parseBoolean } from '~/lib/utils/common_utils';
import PerformancePlugin from '~/performance/vue_performance_plugin';
import RegistryExplorer from './pages/index.vue';
import RegistryBreadcrumb from './components/registry_breadcrumb.vue';
import createRouter from './router';
......@@ -10,6 +11,17 @@ import { apolloProvider } from './graphql/index';
Vue.use(Translate);
Vue.use(GlToast);
Vue.use(PerformancePlugin, {
components: [
'RegistryListPage',
'ListHeader',
'ImageListRow',
'RegistryDetailsPage',
'DetailsHeader',
'TagsList',
],
});
export default () => {
const el = document.getElementById('js-container-registry');
......
......@@ -25,6 +25,7 @@ import {
} from '../constants/index';
export default {
name: 'RegistryDetailsPage',
components: {
DeleteAlert,
PartialCleanupAlert,
......
......@@ -38,7 +38,7 @@ import {
} from '../constants/index';
export default {
name: 'RegistryListApp',
name: 'RegistryListPage',
components: {
GlEmptyState,
ProjectEmptyState,
......
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