@@ -10,7 +10,6 @@ define([
'./graphiteImport',
'./playlistCtrl',
'./inspectCtrl',
- './annotationsEditorCtrl',
'./templateEditorCtrl',
'./sharePanelCtrl',
'./jsonEditorCtrl',
@@ -1,5 +1,6 @@
define([
'./panellinkeditor/module',
+ './annotations/annotationsSrv',
'./graphite/datasource',
'./influxdb/datasource',
'./opentsdb/datasource',
@@ -1,7 +1,8 @@
'angular',
'lodash',
- 'moment'
+ 'moment',
+ './editorCtrl'
], function (angular, _, moment) {
'use strict';
@@ -8,8 +8,6 @@ define([
'components/timeSeries',
'components/panelmeta',
'services/panelSrv',
- 'services/annotationsSrv',
- 'services/datasourceSrv',
'./seriesOverridesCtrl',
'./graph',
'./legend',
@@ -10,7 +10,7 @@
</a>
<ul class="dropdown-menu">
<li><a class="pointer" dash-editor-link="app/partials/templating_editor.html">Templating</a></li>
- <li><a class="pointer" dash-editor-link="app/partials/annotations_editor.html">Annotations</a></li>
+ <li><a class="pointer" dash-editor-link="app/features/annotations/partials/editor.html">Annotations</a></li>
</ul>
</div>
</li>
@@ -8,7 +8,6 @@ define([
'./panelSrv',
'./timer',
'./keyboardManager',
- './annotationsSrv',
'./popoverSrv',
'./playlistSrv',
'./unsavedChangesSrv',