grafana/docs/sources
Marcus Andersson 1cfd3f81fb
Plugins: Support for link extensions (#61663)
* added extensions to plugin.json and exposing it via frontend settings.

* added extensions to the plugin.json schema.

* changing the extensions in frontend settings to a map instead of an array.

* wip

* feat(pluginregistry): begin wiring up registry

* feat(pluginextensions): prevent duplicate links and clean up

* added test case for link extensions.

* added tests and implemented the getPluginLink function.

* wip

* feat(pluginextensions): expose plugin extension registry

* fix(pluginextensions): appease the typescript gods post rename

* renamed file and will throw error if trying to call setExtensionsRegistry if trying to call it twice.

* added reafactorings.

* fixed failing test.

* minor refactorings to make sure we only include extensions if the app is enabled.

* fixed some nits.

* Update public/app/features/plugins/extensions/registry.test.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update packages/grafana-runtime/src/services/pluginExtensions/registry.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update packages/grafana-runtime/src/services/pluginExtensions/registry.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update public/app/features/plugins/extensions/registry.test.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Moved types for extensions from data to runtime.

* added a small example on how you could consume link extensions.

* renamed after feedback from levi.

* updated the plugindef.cue.

* using the generated plugin def.

* added tests for apps and extensions.

* fixed linting issues.

* wip

* wip

* wip

* wip

* test(extensions): fix up failing tests

* feat(extensions): freeze registry extension arrays, include type in registry items

* added restrictions in the pugindef cue schema.

* wip

* added required fields.

* added key to uniquely identify each item.

* test(pluginextensions): align tests with implementation

* chore(schema): refresh reference.md

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2023-02-07 17:20:05 +01:00
..
administration Docs: corrects typo (#62954) 2023-02-06 09:35:13 -06:00
alerting Alerting: Fix default_template.go link in docs (#62885) 2023-02-03 17:27:13 +01:00
copyright Lint: Fix `lint-frontend` step error (#60671) 2022-12-22 10:50:20 +00:00
dashboards docs: fix broken annotations link (#62834) 2023-02-06 10:48:42 -06:00
datasources Tempo: Trace to logs update image (#62796) 2023-02-02 16:52:34 +01:00
developers Plugins: Support for link extensions (#61663) 2023-02-07 17:20:05 +01:00
explore Logs: Rename dedup to deduplication (#62944) 2023-02-07 16:17:10 +00:00
fundamentals Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
getting-started update adding new panel wording (#61817) 2023-01-19 13:45:07 -08:00
introduction Docs: removes Grafana Cloud CTA (#62827) 2023-02-03 12:36:46 -06:00
old-alerting Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
panels-visualizations Docs: Update expression documentation to mention no data (#61934) 2023-01-25 11:17:09 -05:00
release-notes docs: upgrade guide refactor organizes releases into their own pages; moves upgrade guide to the root (#62402) 2023-02-06 22:01:30 +00:00
search Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
setup-grafana Auth: Add deprecation notice for oauth_skip_org_role_update_sync (#62712) 2023-02-07 15:28:40 +00:00
shared docs: upgrade guide refactor organizes releases into their own pages; moves upgrade guide to the root (#62402) 2023-02-06 22:01:30 +00:00
troubleshooting SupportBundles: Add support bundle documentation (#61855) 2023-02-07 04:39:47 -05:00
tutorials TestData: Remove references to TestData "DB" (#62603) 2023-01-31 16:40:00 +00:00
upgrade-guide docs: upgrade guide refactor organizes releases into their own pages; moves upgrade guide to the root (#62402) 2023-02-06 22:01:30 +00:00
whatsnew docs: upgrade guide refactor organizes releases into their own pages; moves upgrade guide to the root (#62402) 2023-02-06 22:01:30 +00:00
_index.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
cli.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00