grafana/pkg/api/dtos
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
..
acl.go Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
annotations.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
apikey.go API keys: Add last_used_at and docs changes for migration (#64293) 2023-03-09 14:16:42 +00:00
dashboard.go PublicDashboards: Remove publicDashboardUid from DashboardMeta (#85126) 2024-05-23 11:21:21 -03:00
datasource.go Add apiVersion to plugin models (#87510) 2024-05-14 13:58:27 +02:00
folder.go Chore: Remove FolderID from DTO Folder (#78420) 2023-12-07 13:56:04 +01:00
frontend_settings.go Adapt plugin page to preinstalled plugins (#91874) 2024-08-14 17:04:59 +02:00
index.go Swagger: Add a custom swagger/api page (#91785) 2024-08-14 09:03:00 +03:00
invite.go Password policy (#82268) 2024-02-16 04:58:05 -06:00
live.go Live: http publish, refactor live interfaces (#32317) 2021-03-30 13:23:29 +03:00
models_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
org.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
playlist.go Added playlist controls to new react DashNav 2019-02-04 21:08:30 +01:00
plugins.go Plugins: Introduce LoadingStrategy for frontend loading logic (#92392) 2024-09-09 10:38:35 +01:00
prefs.go Navigation: Backend to save navigation customization into preferences (#89783) 2024-07-03 10:40:51 +01:00
short_url.go Dashboard: Allow shortlink generation (#27409) 2020-10-14 12:48:48 +02:00
user_token.go Feature: Parse user agent string in user auth token api response (#16… (#17504) 2019-06-11 14:12:52 +02:00
user.go Password policy (#82268) 2024-02-16 04:58:05 -06:00