From d32bb780e39740ee4472e15bad7683171e07ad9e Mon Sep 17 00:00:00 2001 From: Adriel Santiago Date: Mon, 29 Apr 2019 17:06:37 -0400 Subject: Add custom metrics form to dashboard Use existing form to allow users to add custom metrics via the dashboard --- .../monitoring/components/dashboard.vue | 168 +++++++++++++++------ app/assets/stylesheets/framework/common.scss | 24 ++- app/assets/stylesheets/framework/variables.scss | 8 + locale/gitlab.pot | 3 + spec/javascripts/monitoring/dashboard_spec.js | 7 +- 5 files changed, 150 insertions(+), 60 deletions(-) diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue index a2bf58d007c..ff1e1805948 100644 --- a/app/assets/javascripts/monitoring/components/dashboard.vue +++ b/app/assets/javascripts/monitoring/components/dashboard.vue @@ -1,5 +1,12 @@