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

Migrate custom_m.html to new JsonConfig #65

Closed
Apollon77 opened this issue Apr 20, 2021 · 7 comments
Closed

Migrate custom_m.html to new JsonConfig #65

Apollon77 opened this issue Apr 20, 2021 · 7 comments

Comments

@Apollon77
Copy link
Contributor

We were able to hold the HTML style confog pages - especially for the custom configurations working for many years and admin versions now. With the rewrite of Admin in React we need to break this functionaliyt because it will not be possible to integrate "html snipets" that way as in the past.

Admin5 allows to specify the fields in a JSON format and all the rest is handled by the Admin itsefl. This new format is optional for the normal admin configuration dialog,but mandatory for the custom configuration!!

The JSON format is described in https://github.com/ioBroker/ioBroker.admin/blob/master/src-rx/src/components/JsonConfigComponent/SCHEMA.md and we will also having soon a JSON-Schema for it hopefully. Also Adapters like sql, influxdb, history and telegram are already migrated and could be used to see an example (see admin folder).

If you use special components (Tables or other "non standard field types) or you need support on how to best migrate special needs that are not available in the specification above please open an isue in admin and describe exactly what you need and how it should behave - or implement it in admin react and provide a PR.

You can test it yourself by using the react GUI from Admin 5.

Thank you for your support. It would be awesome if you could find time to check and implement this within the next 2 weeks. Please responde if you can not do that, then we can think about supportive options.

Please use ioBroker/ioBroker.admin#692 for any questions!

@GermanBluefox
Copy link
Collaborator

@Scrounger I implemented all that you requested. Could you implement the new custom settigns?

@Apollon77
Copy link
Contributor Author

@Scrounger Do you have a rough idea when you come to it? Just for planning

@Scrounger
Copy link
Owner

Scrounger commented Jun 13, 2021

@Apollon77
Must wait until @GermanBluefox has implemented my remarks.
And then hope that not something else catches my eye ;-)

@Apollon77
Copy link
Contributor Author

Whats still open? Can you please ping in that relevant thread please?

@Apollon77
Copy link
Contributor Author

@Scrounger Any status update? IS still Admin stuff missing? If yes what?

@Scrounger
Copy link
Owner

@Apollon77
still the points I have described here in detail
ioBroker/ioBroker.admin#692 (comment)

@Apollon77
Copy link
Contributor Author

Did you saw the infos from Bluefox?

Scrounger added a commit that referenced this issue Apr 25, 2022
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

No branches or pull requests

3 participants