Commit 1ce67085 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '280847-add-user-timings-plugin' into 'master'

Add UserTiming plugin to container registry

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