mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Scenes: Annotations functionality in settings (#81361)
* wip listing/viewing annotations * list annotations in settings * fix tests * wip edit mode * PR mods * move, delete, edit, add new * edit annotation in settings * Annotations functionality * revert change * add ui tests, move angularEditorLoader * remove flaky test * refactor * bump scenes version, refactor getVizPanels, refactor edit page * fix nav breadcrumbs * annotation set dirty flag, add overlay to edit view * PR mods * PR mods * remove flaky test * change dirty flag setting logic for anotations * change button variants
This commit is contained in:
@@ -95,6 +95,7 @@ export const Pages = {
|
||||
*/
|
||||
addAnnotationCTA: Components.CallToActionCard.button('Add annotation query'),
|
||||
addAnnotationCTAV2: Components.CallToActionCard.buttonV2('Add annotation query'),
|
||||
annotations: 'data-testid list-annotations',
|
||||
},
|
||||
Settings: {
|
||||
name: 'Annotations settings name input',
|
||||
@@ -103,6 +104,10 @@ export const Pages = {
|
||||
panelFilterSelect: 'data-testid annotations-panel-filter',
|
||||
showInLabel: 'show-in-label',
|
||||
previewInDashboard: 'data-testid annotations-preview',
|
||||
delete: 'data-testid annotations-delete',
|
||||
apply: 'data-testid annotations-apply',
|
||||
enable: 'data-testid annotation-enable',
|
||||
hide: 'data-testid annotation-hide',
|
||||
},
|
||||
},
|
||||
Variables: {
|
||||
|
||||
Reference in New Issue
Block a user