grafana/public/app/features/plugins/extensions
Marcus Andersson f1529997f2
Explore: Make toolbar action extendable by plugins (#65524)
* Cleaned up solution and starting to make it work properly.

* will disable add button if no queries available.

* Changed so 'add to dashboard' is registered as an extension in explore.

* moved utility function to utils

* hides button if insufficent permissions.

* Fixed ts issue.

* cleaned up the code and change to using the 'getPluginLinkExtensions'

* Added values to explore context.

* truncating title in menu.

* added tests to verify explore extension point.

* fixed failing tests in explore.

* made excludeModal optional.

* removed temporary fix to force old button.

* reverted generated files.

* fixed according to feedback.

* Update public/app/features/explore/extensions/ToolbarExtensionPoint.test.tsx

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

* Update public/app/features/explore/extensions/ToolbarExtensionPoint.test.tsx

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

* added tests suggested in reviews.

* fixed failing tests after sync with main.

* replaced exploreId type with stirng.

* cleaned up code a bit more.

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2023-06-28 15:42:41 +02:00
..
createPluginExtensionRegistry.test.ts Plugin Extensions: Custom limits for extensions-per-plugin (#69430) 2023-06-02 11:09:25 +02:00
createPluginExtensionRegistry.ts Plugin Extensions: Custom limits for extensions-per-plugin (#69430) 2023-06-02 11:09:25 +02:00
getCoreExtensionConfigurations.ts Explore: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
getPluginExtensions.test.ts Explore: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
getPluginExtensions.ts Explore: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
types.ts Plugins: Add a new UI Extension type (#68600) 2023-05-31 09:26:37 +02:00
utils.test.tsx PluginExtensions: Make context read only with a proxy instead of object freeze (#67781) 2023-05-05 15:50:40 +02:00
utils.tsx Explore: Make toolbar action extendable by plugins (#65524) 2023-06-28 15:42:41 +02:00
validators.test.tsx Plugins: Add a new UI Extension type (#68600) 2023-05-31 09:26:37 +02:00
validators.ts Plugins: Add a new UI Extension type (#68600) 2023-05-31 09:26:37 +02:00