ux(dashboar): added shortcut for build mode, switched keybinding lib to mousetrap, supports sequences so also added for Go to home dashboard, open search with starred dashbords prefiltered, go to profile, #6442

This commit is contained in:
Torkel Ödegaard
2016-11-02 12:55:58 +01:00
parent 3c1435253d
commit 40ea014fa8
16 changed files with 155 additions and 113 deletions

View File

@@ -535,9 +535,9 @@ module.directive('grafanaGraph', function($rootScope, timeSrv) {
return "%H:%M";
}
// new GraphTooltip(elem, dashboard, scope, function() {
// return sortedSeries;
// });
new GraphTooltip(elem, dashboard, scope, function() {
return sortedSeries;
});
elem.bind("plotselected", function (event, ranges) {
scope.$apply(function() {

View File

@@ -153,8 +153,8 @@ export class ThresholdManager {
this.renderHandle(1, this.height-30);
}
// this.placeholder.off('mousedown', '.alert-handle');
// this.placeholder.on('mousedown', '.alert-handle', this.initDragging.bind(this));
this.placeholder.off('mousedown', '.alert-handle');
this.placeholder.on('mousedown', '.alert-handle', this.initDragging.bind(this));
this.needsCleanup = true;
}