-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PluginExtensions: Add category to link extensions #71074
Conversation
@sd2k maybe something we can use in ML? |
Yep this looks useful for ML! Should be backwards compatible too which is ace 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
Hmm I'm not actually sure this is true (in some senses) - if I add the Edit: FYI the error I see in the logs is:
|
Is it a warning or an error? We probably print something like this for the developers but I will make sure it is an error and that it only is printed if you are running Grafana in development mode. |
It's logged to the console as a warning 👍 |
But it will still show the extension, right? Or will it disable the extension after that warning. If that is the case we probably have a bug. |
It disables the extension 😞 (just to make sure, I'm talking about when trying to use extensions with a |
Oh, then I need to fix that for 10.1.0 and probably backport it to next 10.0.x release. We should print a warning, ignore the property but not disable the extension in this scenario. |
Thanks for reporting this! 🙏🏻 I will fix this during the day tomorrow. |
What is this feature?
To prevent extensions for repeating their origin as part of the title we have introduced the possibility to define a category that the extensions will be group below.
Before:
![Screenshot 2023-07-21 at 14 05 43](https://private-user-images.githubusercontent.com/172951/255167979-fff556b0-db1a-45ff-9e33-7fb6f2c2d73a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxODM1MzMsIm5iZiI6MTcyMjE4MzIzMywicGF0aCI6Ii8xNzI5NTEvMjU1MTY3OTc5LWZmZjU1NmIwLWRiMWEtNDVmZi05ZTMzLTdmYjZmMmMyZDczYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1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YWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.AEsEN8p0Aze1LFC78zvD2MtW5yrgNlIUohPYHJBzeo4)
Why do we need this feature?
It will improve the user experience and make it easier for the end user to find what they are looking for.
Who is this feature for?
plugin developers, end users
Which issue(s) does this PR fix?:
Fixes #69291
Special notes for your reviewer:
Please check that: