From 028c87c04cfb6a035b100603abc24b0d6fcf6493 Mon Sep 17 00:00:00 2001 From: Julia Miocene <jmiocene@gitlab.com> Date: Thu, 10 Oct 2024 14:55:15 +0200 Subject: [PATCH] Update Model registry empty state illustration --- .../javascripts/ml/model_registry/components/empty_state.vue | 3 +-- .../ml/model_registry/components/model_list_empty_state.vue | 3 +-- app/views/projects/ml/experiments/index.html.haml | 2 +- app/views/projects/ml/experiments/show.html.haml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/ml/model_registry/components/empty_state.vue b/app/assets/javascripts/ml/model_registry/components/empty_state.vue index efd447a64c2296e9..c6d057a35478beb4 100644 --- a/app/assets/javascripts/ml/model_registry/components/empty_state.vue +++ b/app/assets/javascripts/ml/model_registry/components/empty_state.vue @@ -1,6 +1,6 @@ <script> import { GlEmptyState } from '@gitlab/ui'; -import emptySvgUrl from '@gitlab/svgs/dist/illustrations/empty-state/empty-dag-md.svg?url'; +import emptySvgUrl from '@gitlab/svgs/dist/illustrations/status/status-new-md.svg'; import { helpPagePath } from '~/helpers/help_page_helper'; import { s__ } from '~/locale'; import { MODEL_ENTITIES } from '../constants'; @@ -58,7 +58,6 @@ export default { :primary-button-text="emptyStateValues.createNew" :primary-button-link="emptyStateValues.helpPath" :svg-path="emptyStateValues.emptySvgPath" - :svg-height="null" :description="emptyStateValues.description" class="gl-py-8" /> diff --git a/app/assets/javascripts/ml/model_registry/components/model_list_empty_state.vue b/app/assets/javascripts/ml/model_registry/components/model_list_empty_state.vue index ccfbf11b008aff5b..d7eeee2fb8d13c66 100644 --- a/app/assets/javascripts/ml/model_registry/components/model_list_empty_state.vue +++ b/app/assets/javascripts/ml/model_registry/components/model_list_empty_state.vue @@ -1,6 +1,6 @@ <script> import { GlEmptyState, GlButton, GlModalDirective } from '@gitlab/ui'; -import emptySvgUrl from '@gitlab/svgs/dist/illustrations/empty-state/empty-dag-md.svg?url'; +import emptySvgUrl from '@gitlab/svgs/dist/illustrations/status/status-new-md.svg'; import { helpPagePath } from '~/helpers/help_page_helper'; import { s__ } from '~/locale'; import { MLFLOW_USAGE_MODAL_ID } from '../constants'; @@ -45,7 +45,6 @@ export default { <gl-empty-state :title="title" :svg-path="$options.emptySvgPath" - :svg-height="null" class="gl-py-8" :description="description" > diff --git a/app/views/projects/ml/experiments/index.html.haml b/app/views/projects/ml/experiments/index.html.haml index 612481dbf417ff78..845045f51b5180cc 100644 --- a/app/views/projects/ml/experiments/index.html.haml +++ b/app/views/projects/ml/experiments/index.html.haml @@ -4,5 +4,5 @@ #js-project-ml-experiments-index{ data: { experiments: experiments_as_data(@project, @experiments), page_info: formatted_page_info(@page_info), - empty_state_svg_path: image_path('illustrations/empty-state/empty-dag-md.svg'), + empty_state_svg_path: image_path('illustrations/status/status-new-md.svg'), } } diff --git a/app/views/projects/ml/experiments/show.html.haml b/app/views/projects/ml/experiments/show.html.haml index 11b3877555471a05..6d9e8915520a3be3 100644 --- a/app/views/projects/ml/experiments/show.html.haml +++ b/app/views/projects/ml/experiments/show.html.haml @@ -15,5 +15,5 @@ metrics: metrics, params: params, page_info: page_info, - empty_state_svg_path: image_path('illustrations/empty-state/empty-dag-md.svg'), + empty_state_svg_path: image_path('illustrations/status/status-new-md.svg'), } } -- GitLab