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
720fa87b
Commit
720fa87b
authored
Jan 23, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved dashboard save modals to components folder
parent
4358732d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
5 deletions
+6
-5
public/app/features/dashboard/components/SaveModals/SaveDashboardAsModalCtrl.test.ts
+1
-1
public/app/features/dashboard/components/SaveModals/SaveDashboardAsModalCtrl.ts
+0
-0
public/app/features/dashboard/components/SaveModals/SaveDashboardModalCtrl.test.ts
+1
-1
public/app/features/dashboard/components/SaveModals/SaveDashboardModalCtrl.ts
+0
-0
public/app/features/dashboard/components/SaveModals/index.ts
+2
-0
public/app/features/dashboard/index.ts
+2
-3
public/app/features/dashboard/services/DashboardLoaderSrv.ts
+0
-0
No files found.
public/app/features/dashboard/
specs/save_as_moda
l.test.ts
→
public/app/features/dashboard/
components/SaveModals/SaveDashboardAsModalCtr
l.test.ts
View file @
720fa87b
import
{
SaveDashboardAsModalCtrl
}
from
'.
./save_as_moda
l'
;
import
{
SaveDashboardAsModalCtrl
}
from
'.
/SaveDashboardAsModalCtr
l'
;
import
{
describe
,
it
,
expect
}
from
'test/lib/common'
;
describe
(
'saving dashboard as'
,
()
=>
{
...
...
public/app/features/dashboard/
save_as_moda
l.ts
→
public/app/features/dashboard/
components/SaveModals/SaveDashboardAsModalCtr
l.ts
View file @
720fa87b
File moved
public/app/features/dashboard/
specs/save_moda
l.test.ts
→
public/app/features/dashboard/
components/SaveModals/SaveDashboardModalCtr
l.test.ts
View file @
720fa87b
import
{
SaveDashboardModalCtrl
}
from
'.
./save_moda
l'
;
import
{
SaveDashboardModalCtrl
}
from
'.
/SaveDashboardModalCtr
l'
;
const
setup
=
(
timeChanged
,
variableValuesChanged
,
cb
)
=>
{
const
dash
=
{
...
...
public/app/features/dashboard/
save_moda
l.ts
→
public/app/features/dashboard/
components/SaveModals/SaveDashboardModalCtr
l.ts
View file @
720fa87b
File moved
public/app/features/dashboard/components/SaveModals/index.ts
0 → 100644
View file @
720fa87b
export
{
SaveDashboardAsModalCtrl
}
from
'./SaveDashboardAsModalCtrl'
;
export
{
SaveDashboardModalCtrl
}
from
'./SaveDashboardModalCtrl'
;
public/app/features/dashboard/index.ts
View file @
720fa87b
import
'./dashboard_ctrl'
;
import
'./dashboard_loader_srv'
;
import
'./save_as_modal'
;
import
'./save_modal'
;
import
'./save_provisioned_modal'
;
import
'./shareModalCtrl'
;
import
'./share_snapshot_ctrl'
;
...
...
@@ -18,6 +15,7 @@ import './panellinks/module';
// Services
import
'./services/DashboardViewStateSrv'
;
import
'./services/UnsavedChangesSrv'
;
import
'./services/DashboardLoaderSrv'
;
// Components
import
'./components/DashLinks'
;
...
...
@@ -30,6 +28,7 @@ import './components/DashboardSettings';
import
'./components/SubMenu'
;
import
'./components/TimePicker'
;
import
'./components/UnsavedChangesModal'
;
import
'./components/SaveModals'
;
import
DashboardPermissions
from
'./components/DashboardPermissions/DashboardPermissions'
;
...
...
public/app/features/dashboard/
dashboard_loader_s
rv.ts
→
public/app/features/dashboard/
services/DashboardLoaderS
rv.ts
View file @
720fa87b
File moved
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