From 781b87bc22f484156b1847bafbff537d8e81607c Mon Sep 17 00:00:00 2001 From: Julia Miocene Date: Mon, 4 Mar 2024 20:27:04 +0100 Subject: [PATCH] Update incident empty state illustration Changelog: changed --- app/assets/javascripts/incidents/components/incidents_list.vue | 1 - app/helpers/projects/incidents_helper.rb | 2 +- ee/spec/helpers/ee/projects/incidents_helper_spec.rb | 2 +- spec/helpers/projects/incidents_helper_spec.rb | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/incidents/components/incidents_list.vue b/app/assets/javascripts/incidents/components/incidents_list.vue index 438611b8c9027c..16f9e9d0bfee86 100644 --- a/app/assets/javascripts/incidents/components/incidents_list.vue +++ b/app/assets/javascripts/incidents/components/incidents_list.vue @@ -506,7 +506,6 @@ export default { 'incident', 'incident-type' => 'incident', 'issue-path' => project_issues_path(project), - 'empty-list-svg-path' => image_path('illustrations/incident-empty-state.svg'), + 'empty-list-svg-path' => image_path('illustrations/empty-state/empty-scan-alert-md.svg'), 'text-query': params[:search], 'author-username-query': params[:author_username], 'assignee-username-query': params[:assignee_username], diff --git a/ee/spec/helpers/ee/projects/incidents_helper_spec.rb b/ee/spec/helpers/ee/projects/incidents_helper_spec.rb index 6f672834ed799d..e9bcafae8729f7 100644 --- a/ee/spec/helpers/ee/projects/incidents_helper_spec.rb +++ b/ee/spec/helpers/ee/projects/incidents_helper_spec.rb @@ -33,7 +33,7 @@ 'incident-template-name' => 'incident', 'incident-type' => 'incident', 'issue-path' => issue_path, - 'empty-list-svg-path' => match_asset_path('/assets/illustrations/incident-empty-state.svg'), + 'empty-list-svg-path' => match_asset_path('/assets/illustrations/empty-state/empty-scan-alert-md.svg'), 'published-available' => 'false', 'sla-feature-available' => 'false', 'text-query': 'search text', diff --git a/spec/helpers/projects/incidents_helper_spec.rb b/spec/helpers/projects/incidents_helper_spec.rb index d0dc18d56b07ec..e69e10f1b4eb7b 100644 --- a/spec/helpers/projects/incidents_helper_spec.rb +++ b/spec/helpers/projects/incidents_helper_spec.rb @@ -36,7 +36,7 @@ 'incident-template-name' => 'incident', 'incident-type' => 'incident', 'issue-path' => issue_path, - 'empty-list-svg-path' => match_asset_path('/assets/illustrations/incident-empty-state.svg'), + 'empty-list-svg-path' => match_asset_path('/assets/illustrations/empty-state/empty-scan-alert-md.svg'), 'text-query': 'search text', 'author-username-query': 'root', 'assignee-username-query': 'max.power', -- GitLab