Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
cacfdc64
Commit
cacfdc64
authored
Feb 22, 2018
by
Marcus Efraimsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboards: remove non-supported keyboard shortcuts for delete/collapse row
parent
34f1611d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
public/app/core/components/help/help.ts
+0
-4
public/app/core/services/keybindingSrv.ts
+0
-18
No files found.
public/app/core/components/help/help.ts
View file @
cacfdc64
...
...
@@ -33,10 +33,6 @@ export class HelpCtrl {
{
keys
:
[
'p'
,
's'
],
description
:
'Open Panel Share Modal'
},
{
keys
:
[
'p'
,
'r'
],
description
:
'Remove Panel'
},
],
'Focused Row'
:
[
{
keys
:
[
'r'
,
'c'
],
description
:
'Collapse Row'
},
{
keys
:
[
'r'
,
'r'
],
description
:
'Remove Row'
},
],
'Time Range'
:
[
{
keys
:
[
't'
,
'z'
],
description
:
'Zoom out time range'
},
{
...
...
public/app/core/services/keybindingSrv.ts
View file @
cacfdc64
...
...
@@ -193,24 +193,6 @@ export class KeybindingSrv {
}
});
// delete row
this
.
bind
(
'r r'
,
()
=>
{
if
(
dashboard
.
meta
.
focusPanelId
&&
dashboard
.
meta
.
canEdit
)
{
var
panelInfo
=
dashboard
.
getPanelInfoById
(
dashboard
.
meta
.
focusPanelId
);
dashboard
.
removeRow
(
panelInfo
.
row
);
dashboard
.
meta
.
focusPanelId
=
0
;
}
});
// collapse row
this
.
bind
(
'r c'
,
()
=>
{
if
(
dashboard
.
meta
.
focusPanelId
)
{
var
panelInfo
=
dashboard
.
getPanelInfoById
(
dashboard
.
meta
.
focusPanelId
);
panelInfo
.
row
.
toggleCollapse
();
dashboard
.
meta
.
focusPanelId
=
0
;
}
});
// collapse all rows
this
.
bind
(
'd shift+c'
,
()
=>
{
dashboard
.
collapseRows
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment