grafana/public/app/features/annotations
Marcus Andersson b804b2f073
Plugins: Added hook to make it easier to track interactions in plugins (#56126)
* first stab at context away plugin tracking.

* adding a plugin context and a hook to get hold of a tracker that always appends the plugin context information.

* wip

* improved the code a bit.

* wip

* Fixed type errors.

* added datasource_uid to data sources.

* fixed error message when trying to use hook outside of context.

* small refactoring according to feedback.

* using the correct provider for data source context.

* check not needed.

* enforcing the interaction name to start with grafana_plugin_

* exposing guards for the other context type.

* added structure for writing reporter hook tests.

* added some more tests.

* added tests.

* reverted back to inheritance between context types.

* adding mock for getDataSourceSrv
2022-11-02 16:57:57 +01:00
..
components Plugins: Added hook to make it easier to track interactions in plugins (#56126) 2022-11-02 16:57:57 +01:00
partials Access Control: hiding annotation edition and deletion without permissions (#46904) 2022-04-04 11:57:43 -03:00
api.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
events_processing.test.ts Angular: Isolate angular more (#41440) 2021-11-10 11:05:36 +01:00
events_processing.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
executeAnnotationQuery.ts Publicdasboards: Add annotations support (#56413) 2022-10-18 19:48:20 -06:00
standardAnnotationSupport.test.ts Annotations: Fix custom tag functionality (#51537) 2022-06-29 13:37:50 -04:00
standardAnnotationSupport.ts Publicdasboards: Add annotations support (#56413) 2022-10-18 19:48:20 -06:00
types.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00