mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
b804b2f073
* 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 |
||
---|---|---|
.. | ||
__mocks__ | ||
admin | ||
components | ||
sql | ||
tests | ||
all.ts | ||
built_in_plugins.ts | ||
datasource_srv.ts | ||
importPanelPlugin.ts | ||
plugin_loader.ts | ||
pluginCacheBuster.ts | ||
pluginPreloader.ts | ||
pluginSettings.test.ts | ||
pluginSettings.ts | ||
utils.test.ts | ||
utils.ts |