Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2478)

Unified Diff: appengine/findit/handlers/flake/flake_dashboard.py

Issue 2131473003: UI for the regression range test. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: dashboard and graphs for finding regression range Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/handlers/flake/check_flake.py ('k') | appengine/findit/main.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/flake/flake_dashboard.py
diff --git a/appengine/findit/handlers/flake/flake_dashboard.py b/appengine/findit/handlers/flake/flake_dashboard.py
new file mode 100644
index 0000000000000000000000000000000000000000..b65d1d18842b5b11487bdcd1e20cebaf1c1e77bd
--- /dev/null
+++ b/appengine/findit/handlers/flake/flake_dashboard.py
@@ -0,0 +1,24 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from common.base_handler import BaseHandler
+from common.base_handler import Permission
+from model.flake.master_flake_analysis import MasterFlakeAnalysis
+
+
+class FlakeDashboard(BaseHandler):
+ PERMISSION_LEVEL = Permission.CORP_USER
+
+ def HandleGet(self):
+ # Get input parameters.
+ # pylint: disable=W0612
+
+ master_flake_analyses = MasterFlakeAnalysis.query()
+ data = {}
+ data['master_flake_analyses'] = master_flake_analyses
+
+ return {
+ 'template': 'flake/dashboard.html',
+ 'data': data
+ }
« no previous file with comments | « appengine/findit/handlers/flake/check_flake.py ('k') | appengine/findit/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698