diff options
Diffstat (limited to 'app/helpers/projects')
-rw-r--r-- | app/helpers/projects/observability_helper.rb | 23 | ||||
-rw-r--r-- | app/helpers/projects/pipeline_helper.rb | 2 |
2 files changed, 1 insertions, 24 deletions
diff --git a/app/helpers/projects/observability_helper.rb b/app/helpers/projects/observability_helper.rb deleted file mode 100644 index 4515fdb1bc3..00000000000 --- a/app/helpers/projects/observability_helper.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module Projects - module ObservabilityHelper - def observability_tracing_view_model(project) - Gitlab::Json.generate({ - tracingUrl: Gitlab::Observability.tracing_url(project), - provisioningUrl: Gitlab::Observability.provisioning_url(project), - oauthUrl: Gitlab::Observability.oauth_url - }) - end - - def observability_tracing_details_model(project, trace_id) - Gitlab::Json.generate({ - tracingIndexUrl: namespace_project_tracing_index_path(project.group, project), - traceId: trace_id, - tracingUrl: Gitlab::Observability.tracing_url(project), - provisioningUrl: Gitlab::Observability.provisioning_url(project), - oauthUrl: Gitlab::Observability.oauth_url - }) - end - end -end diff --git a/app/helpers/projects/pipeline_helper.rb b/app/helpers/projects/pipeline_helper.rb index 42e8e44c94c..0c3b7d26fe2 100644 --- a/app/helpers/projects/pipeline_helper.rb +++ b/app/helpers/projects/pipeline_helper.rb @@ -18,7 +18,7 @@ module Projects suite_endpoint: project_pipeline_test_path(project, pipeline, suite_name: 'suite', format: :json), blob_path: project_blob_path(project, pipeline.sha), has_test_report: pipeline.has_test_reports?, - empty_state_image_path: image_path('illustrations/empty-state/empty-test-cases-lg.svg'), + empty_state_image_path: image_path('illustrations/empty-todos-md.svg'), empty_dag_svg_path: image_path('illustrations/empty-state/empty-dag-md.svg'), artifacts_expired_image_path: image_path('illustrations/pipeline.svg'), tests_count: pipeline.test_report_summary.total[:count] |