diff options
Diffstat (limited to 'app/assets/javascripts/ml/experiment_tracking/components/incubation_alert.vue')
-rw-r--r-- | app/assets/javascripts/ml/experiment_tracking/components/incubation_alert.vue | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/app/assets/javascripts/ml/experiment_tracking/components/incubation_alert.vue b/app/assets/javascripts/ml/experiment_tracking/components/incubation_alert.vue deleted file mode 100644 index 42f6394ed68..00000000000 --- a/app/assets/javascripts/ml/experiment_tracking/components/incubation_alert.vue +++ /dev/null @@ -1,48 +0,0 @@ -<script> -import { GlAlert, GlLink } from '@gitlab/ui'; -import { __ } from '~/locale'; - -export default { - i18n: { - titleLabel: __('Machine Learning Experiment Tracking is in Incubating Phase'), - contentLabel: __( - 'GitLab incubates features to explore new use cases. These features are updated regularly, and support is limited', - ), - learnMoreLabel: __('Learn more'), - feedbackLabel: __('Feedback'), - }, - name: 'MlopsIncubationAlert', - components: { GlAlert, GlLink }, - data() { - return { - isAlertDismissed: false, - }; - }, - computed: { - shouldShowAlert() { - return !this.isAlertDismissed; - }, - }, - methods: { - dismissAlert() { - this.isAlertDismissed = true; - }, - }, -}; -</script> - -<template> - <gl-alert - v-if="shouldShowAlert" - :title="$options.i18n.titleLabel" - variant="warning" - :primary-button-text="$options.i18n.feedbackLabel" - primary-button-link="https://gitlab.com/gitlab-org/gitlab/-/issues/381660" - @dismiss="dismissAlert" - > - {{ $options.i18n.contentLabel }} - <gl-link href="https://about.gitlab.com/handbook/engineering/incubation/" target="_blank">{{ - $options.i18n.learnMoreLabel - }}</gl-link> - </gl-alert> -</template> |