From 2827463b416e802d286f233ade471907da20e0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 9 Mar 2015 07:52:04 +0100 Subject: [PATCH] Remove unused search field --- front/src/css/timeline.css | 14 -------------- front/src/js/controllers/timelineCtrl.js | 5 +---- front/src/less/timeline.less | 16 ---------------- front/src/views/timeline.html | 7 +------ 4 files changed, 2 insertions(+), 40 deletions(-) diff --git a/front/src/css/timeline.css b/front/src/css/timeline.css index f299479..8ac97c1 100644 --- a/front/src/css/timeline.css +++ b/front/src/css/timeline.css @@ -143,20 +143,6 @@ border: 1px dotted #aaa; text-align: left; } -.slowRequestsLimit { - width: 3em; - font-size: 1em; - text-align: right; - border: 1px solid #aaa; -} -input.textFilter { - box-shadow: none; - font-size: 1em; - padding: 0 0.2em; - border: 1px solid #aaa; - border-radius: none; - width: 15em; -} .table { display: table; width: 100%; diff --git a/front/src/js/controllers/timelineCtrl.js b/front/src/js/controllers/timelineCtrl.js index 2d352d3..ebe523e 100644 --- a/front/src/js/controllers/timelineCtrl.js +++ b/front/src/js/controllers/timelineCtrl.js @@ -52,7 +52,7 @@ timelineCtrl.controller('TimelineCtrl', ['$scope', '$rootScope', '$routeParams', var lastEvent = originalExecutions[originalExecutions.length - 1]; $scope.endTime = lastEvent.data.timestamp + (lastEvent.data.time || 0); - // Filter and calculate the search index + // Filter $scope.executionTree = []; originalExecutions.forEach(function(node) { @@ -66,9 +66,6 @@ timelineCtrl.controller('TimelineCtrl', ['$scope', '$rootScope', '$routeParams', } } - // Prepare a faster angular search by creating a kind of search index - node.searchIndex = (node.data.callDetails) ? [node.data.type].concat(node.data.callDetails.arguments).join('°°') : node.data.type; - $scope.executionTree.push(node); }); } diff --git a/front/src/less/timeline.less b/front/src/less/timeline.less index 17525aa..9f5d790 100644 --- a/front/src/less/timeline.less +++ b/front/src/less/timeline.less @@ -162,22 +162,6 @@ text-align: left; } -.slowRequestsLimit { - width: 3em; - font-size: 1em; - text-align: right; - border: 1px solid #aaa; -} - -input.textFilter { - box-shadow: none; - font-size: 1em; - padding: 0 0.2em; - border: 1px solid #aaa; - border-radius: none; - width: 15em; -} - .table { display: table; width: 100%; diff --git a/front/src/views/timeline.html b/front/src/views/timeline.html index e96f971..1be0978 100644 --- a/front/src/views/timeline.html +++ b/front/src/views/timeline.html @@ -63,11 +63,6 @@ -
- - Filter by - -
@@ -79,7 +74,7 @@
Timestamp
-