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
bbdf75bd
Commit
bbdf75bd
authored
Nov 12, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(dashboard): Automatically go into panel edit mode after adding a new panel to the dashboard
parent
5c0cf9f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
public/app/core/settings.js
+1
-1
public/app/features/dashboard/rowCtrl.js
+3
-2
No files found.
public/app/core/settings.js
View file @
bbdf75bd
...
...
@@ -15,7 +15,7 @@ function (_) {
'text'
:
{
path
:
'app/panels/text'
,
name
:
'Text'
},
'dashlist'
:
{
path
:
'app/panels/dashlist'
,
name
:
'Dashboard list'
},
},
new_panel_title
:
'
no title (click here)
'
,
new_panel_title
:
'
Panel Title
'
,
plugins
:
{},
playlist_timespan
:
"1m"
,
unsaved_changes_warning
:
true
,
...
...
public/app/features/dashboard/rowCtrl.js
View file @
bbdf75bd
...
...
@@ -91,13 +91,14 @@ function (angular, _, config) {
error
:
false
,
span
:
_as
<
defaultSpan
&&
_as
>
0
?
_as
:
defaultSpan
,
editable
:
true
,
type
:
type
type
:
type
,
isNew
:
true
,
};
$scope
.
addPanel
(
panel
);
$timeout
(
function
()
{
$scope
.
$broadcast
(
'render'
);
$scope
.
dashboardViewState
.
update
({
fullscreen
:
true
,
edit
:
true
,
panelId
:
panel
.
id
}
);
});
};
...
...
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