ux: merge branch navbarv2, new navbar with dashboard search available on all pages, closes #6475

This commit is contained in:
Torkel Ödegaard
2017-06-02 14:00:42 +02:00
parent 1bdf82dca3
commit e9d5e037e8
73 changed files with 929 additions and 550 deletions

View File

@@ -113,10 +113,6 @@ export class KeybindingSrv {
scope.appEvent('shift-time-forward');
});
this.bind('mod+i', () => {
scope.appEvent('quick-snapshot');
});
// edit panel
this.bind('e', () => {
if (dashboard.meta.focusPanelId && dashboard.meta.canEdit) {
@@ -225,7 +221,7 @@ export class KeybindingSrv {
}
scope.appEvent('hide-dash-editor');
scope.exitFullscreen();
scope.appEvent('panel-change-view', {fullscreen: false, edit: false});
});
}
}