From 74f0faa27c12a50f7705161b66c27485809e8e07 Mon Sep 17 00:00:00 2001 From: Sean McGivern Date: Wed, 24 Jul 2019 12:49:43 +0100 Subject: [PATCH] Remove unused peek view code We haven't needed these since we started rendering the performance bar in Vue. --- app/views/peek/views/_gc.html.haml | 7 ------- app/views/peek/views/_redis.html.haml | 7 ------- app/views/peek/views/_sidekiq.html.haml | 7 ------- locale/gitlab.pot | 6 ------ 4 files changed, 27 deletions(-) delete mode 100644 app/views/peek/views/_gc.html.haml delete mode 100644 app/views/peek/views/_redis.html.haml delete mode 100644 app/views/peek/views/_sidekiq.html.haml diff --git a/app/views/peek/views/_gc.html.haml b/app/views/peek/views/_gc.html.haml deleted file mode 100644 index 2a586261ce1..00000000000 --- a/app/views/peek/views/_gc.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -- local_assigns.fetch(:view) - -%span.bold - %span{ title: _('Invoke Time'), data: { defer_to: "#{view.defer_key}-gc_time" } }... - \/ - %span{ title: _('Invoke Count'), data: { defer_to: "#{view.defer_key}-invokes" } }... -gc diff --git a/app/views/peek/views/_redis.html.haml b/app/views/peek/views/_redis.html.haml deleted file mode 100644 index f7fba6c95fc..00000000000 --- a/app/views/peek/views/_redis.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -- local_assigns.fetch(:view) - -%span.bold - %span{ data: { defer_to: "#{view.defer_key}-duration" } }... - \/ - %span{ data: { defer_to: "#{view.defer_key}-calls" } }... -redis diff --git a/app/views/peek/views/_sidekiq.html.haml b/app/views/peek/views/_sidekiq.html.haml deleted file mode 100644 index 7efbc05890d..00000000000 --- a/app/views/peek/views/_sidekiq.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -- local_assigns.fetch(:view) - -%span.bold - %span{ data: { defer_to: "#{view.defer_key}-duration" } }... - \/ - %span{ data: { defer_to: "#{view.defer_key}-calls" } }... -sidekiq diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 7b1a3fd4d2c..97defd42742 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -5696,12 +5696,6 @@ msgstr "" msgid "Invocations" msgstr "" -msgid "Invoke Count" -msgstr "" - -msgid "Invoke Time" -msgstr "" - msgid "IssuableStatus|Closed (%{moved_link_start}moved%{moved_link_end})" msgstr ""