grafana/pkg/plugins/manager
Will Browne 2c47d246fc
Plugins: Introduce LoadingStrategy for frontend loading logic (#92392)
* do it all

* feat(plugins): move loadingStrategy to ds pluginMeta and add to plugin settings endpoint

* support child plugins and update tests

* use relative path for nested plugins

* feat(plugins): support nested plugins in the plugin loader cache by extracting pluginId from path

* feat(grafana-data): add plugin loading strategy to plugin meta and export

* feat(plugins): pass down loadingStrategy to fe plugin loader

* refactor(plugins): make PluginLoadingStrategy an enum

* feat(plugins): add the loading strategy to the fe plugin loader cache

* feat(plugins): load fe plugin js assets as script tags based on be loadingStrategy

* add more tests

* feat(plugins): add loading strategy to plugin preloader

* feat(plugins): make loadingStrategy a maybe and provide fetch fallback

* test(alerting): update config.apps mocks to include loadingStrategy

* fix format

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2024-09-09 10:38:35 +01:00
..
client Plugins: Add support for ResourceConversion (#91977) 2024-08-15 16:02:21 -04:00
fakes Add debug headers when downloading plugins (#92579) 2024-08-29 11:30:21 +02:00
filestore Plugins: Make it possible to support multiple plugin versions (#82116) 2024-02-12 12:47:49 +01:00
loader Plugins: Introduce LoadingStrategy for frontend loading logic (#92392) 2024-09-09 10:38:35 +01:00
pipeline Plugins: Add support for fetching plugin includes from plugin CDN (#91476) 2024-08-21 09:46:41 +01:00
process Revamp plugin loading error management (#85939) 2024-04-11 16:18:04 +02:00
registry Plugins: Make it possible to support multiple plugin versions (#82116) 2024-02-12 12:47:49 +01:00
signature Plugins: Add support for fetching plugin includes from plugin CDN (#91476) 2024-08-21 09:46:41 +01:00
sources chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
testdata AuthN: Remove embedded oauth server (#83146) 2024-02-26 11:29:09 +01:00
installer_test.go Plugins: Support > 1 levels of plugin dependencies (#90174) 2024-07-09 15:46:30 +01:00
installer.go Plugins: Add logs to for plugin management actions (#90587) 2024-07-18 17:19:36 +02:00