mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user