Migrating plugin to React loses all old user options


I developed a plugin using Angular 1, saving user options in the top configuration level.

  "timeFrom": null,
  "timeShift": null,
  "title": "Panel Title",
  "type": "myplugin",
  "myCustomProp: false

from what I understand migrating to React would mean losing them as they are now all stored inside the option field

Is it correct?

I’m developing a plugin migrator so users don’t lose all their data when updating to Grafana 7+, that still requires manually copying JSON, converting and pasting it again so it’s not the best but I didn’t find a way at all to retrieve the data from React

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.