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
4358732d
Commit
4358732d
authored
Jan 23, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved unsaved changes service and modal
parent
a4824085
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
public/app/features/dashboard/components/UnsavedChangesModal/UnsavedChangesModalCtrl.ts
+0
-0
public/app/features/dashboard/components/UnsavedChangesModal/index.ts
+1
-0
public/app/features/dashboard/index.ts
+4
-3
public/app/features/dashboard/services/ChangeTracker.test.ts
+1
-1
public/app/features/dashboard/services/ChangeTracker.ts
+1
-1
public/app/features/dashboard/services/UnsavedChangesSrv.ts
+1
-1
No files found.
public/app/features/dashboard/
unsaved_changes_moda
l.ts
→
public/app/features/dashboard/
components/UnsavedChangesModal/UnsavedChangesModalCtr
l.ts
View file @
4358732d
File moved
public/app/features/dashboard/components/UnsavedChangesModal/index.ts
0 → 100644
View file @
4358732d
export
{
UnsavedChangesModalCtrl
}
from
'./UnsavedChangesModalCtrl'
;
public/app/features/dashboard/index.ts
View file @
4358732d
...
...
@@ -8,10 +8,8 @@ import './share_snapshot_ctrl';
import
'./dashboard_srv'
;
import
'./validation_srv'
;
import
'./time_srv'
;
import
'./unsaved_changes_srv'
;
import
'./unsaved_changes_modal'
;
import
'./upload'
;
import
'./ad_hoc_filters'
;
import
'./upload'
;
import
'./repeat_option/repeat_option'
;
import
'./dashgrid/DashboardGridDirective'
;
import
'./dashgrid/RowOptions'
;
...
...
@@ -19,6 +17,7 @@ import './panellinks/module';
// Services
import
'./services/DashboardViewStateSrv'
;
import
'./services/UnsavedChangesSrv'
;
// Components
import
'./components/DashLinks'
;
...
...
@@ -30,6 +29,8 @@ import './components/VersionHistory';
import
'./components/DashboardSettings'
;
import
'./components/SubMenu'
;
import
'./components/TimePicker'
;
import
'./components/UnsavedChangesModal'
;
import
DashboardPermissions
from
'./components/DashboardPermissions/DashboardPermissions'
;
// angular wrappers
...
...
public/app/features/dashboard/s
pecs/change_t
racker.test.ts
→
public/app/features/dashboard/s
ervices/ChangeT
racker.test.ts
View file @
4358732d
import
{
ChangeTracker
}
from
'
app/features/dashboard/change_t
racker'
;
import
{
ChangeTracker
}
from
'
./ChangeT
racker'
;
import
{
contextSrv
}
from
'app/core/services/context_srv'
;
import
{
DashboardModel
}
from
'../dashboard_model'
;
import
{
PanelModel
}
from
'../panel_model'
;
...
...
public/app/features/dashboard/
change_t
racker.ts
→
public/app/features/dashboard/
services/ChangeT
racker.ts
View file @
4358732d
import
angular
from
'angular'
;
import
_
from
'lodash'
;
import
{
DashboardModel
}
from
'./dashboard_model'
;
import
{
DashboardModel
}
from
'.
.
/dashboard_model'
;
export
class
ChangeTracker
{
current
:
any
;
...
...
public/app/features/dashboard/
unsaved_changes_s
rv.ts
→
public/app/features/dashboard/
services/UnsavedChangesS
rv.ts
View file @
4358732d
import
angular
from
'angular'
;
import
{
ChangeTracker
}
from
'./
change_t
racker'
;
import
{
ChangeTracker
}
from
'./
ChangeT
racker'
;
/** @ngInject */
export
function
unsavedChangesSrv
(
this
:
any
,
$rootScope
,
$q
,
$location
,
$timeout
,
contextSrv
,
dashboardSrv
,
$window
)
{
...
...
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