grafana/public/app/features/plugins/admin
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
..
__mocks__ Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
components Plugins: Added hook to make it easier to track interactions in plugins (#56126) 2022-11-02 16:57:57 +01:00
hooks PluginDetails: Make plugin details page look good in topnav (#55571) 2022-09-26 15:04:07 +02:00
img Plugins: converted the plugins admin app to a core feature in grafana (#36026) 2021-07-08 17:50:42 +02:00
pages Chore: Remove unused files (#57515) 2022-10-25 23:34:53 +01:00
state Revert "Plugins: Display "renderer" and "secretsmanager" plugin types under plugin catalog "Application" filter (#55597)" (#55686) 2022-09-23 10:58:57 -04:00
api.ts RBAC: Add permissions to install and configure plugins (#51829) 2022-09-09 09:44:50 +02:00
constants.ts Plugins Catalog: Install and show the latest compatible version of a plugin (#41003) 2021-11-12 11:07:12 +01:00
helpers.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
helpers.ts RBAC: Add permissions to install and configure plugins (#51829) 2022-09-09 09:44:50 +02:00
permissions.ts PluginsCatalog: disable post-installation steps if user does not have sufficient permissions (#40853) 2021-10-26 15:18:12 +02:00
routes.tsx Navigation Bar: Remove plugins link under Server Admin (#54386) 2022-08-30 03:40:04 -04:00
types.ts PluginDetails: Make plugin details page look good in topnav (#55571) 2022-09-26 15:04:07 +02:00