Skip to content
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

Align with Grafana 4.6.0 plug-in changes #82

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

PeteBa
Copy link
Contributor

@PeteBa PeteBa commented Oct 27, 2017

Upgrading to the latest version of Grafana 4.6.0 will render all instances of Status Panel inoperable as access to internal Grafana components has been restricted (see #81). The following error is now shown on any dashboard using this panel:

image

This is due to two imports at the start of status_ctrl.js:

import "app/plugins/panel/graph/legend";
import "app/plugins/panel/graph/series_overrides_ctrl";

It looks like these imports are legacy and no longer referenced within the module. Removing the two lines appears to fix the issue. @TomerAmirV , I have done some initial testing to confirm this works and doesn't break anything obvious but would appreciate if you could double-check and let me know if I've missed something. Happy to follow up as needed.

Also in 4.6.0, the angularjs element <spectrum-picker> is being depreciated in favour of the new <color-picker>. This PR updates editor.html to use the new picker. See Grafana Release Notes for further information.

@PeteBa
Copy link
Contributor Author

PeteBa commented Nov 6, 2017

Hey, thanks for taking this. I will do a quick rebase of #73 so that it will merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants