From 22d6ad7550a897e5a60249f3a5944883f1386fc1 Mon Sep 17 00:00:00 2001 From: Sean McGivern Date: Tue, 9 Oct 2018 12:13:28 +0100 Subject: [PATCH] Show if the host is a canary host in the perf bar If the request came from a canary host, show this in the performance bar by: 1. Adding a bird emoji. 2. Colouring the hostname yellow. --- .../components/performance_bar_app.vue | 15 ++++++++++++++- app/assets/stylesheets/framework/variables.scss | 1 + app/assets/stylesheets/performance_bar.scss | 4 ++++ ...ow-canary-no-canary-in-the-performance-bar.yml | 5 +++++ lib/peek/views/host.rb | 5 ++++- 5 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 changelogs/unreleased/52421-show-canary-no-canary-in-the-performance-bar.yml diff --git a/app/assets/javascripts/performance_bar/components/performance_bar_app.vue b/app/assets/javascripts/performance_bar/components/performance_bar_app.vue index 1522e2227e4..300d453c174 100644 --- a/app/assets/javascripts/performance_bar/components/performance_bar_app.vue +++ b/app/assets/javascripts/performance_bar/components/performance_bar_app.vue @@ -1,5 +1,6 @@