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

[web] Autocreate settings page #1400

Open
ejurgensen opened this issue Jan 21, 2022 · 2 comments
Open

[web] Autocreate settings page #1400

ejurgensen opened this issue Jan 21, 2022 · 2 comments
Assignees

Comments

@ejurgensen
Copy link
Member

Currently, when adding a new setting (via settings.c), it isn't immediately available to use (except via the api) before the web interface settings page is updated to display it. I was thinking if it would be possible that the page automatically displayed the current set of settings?

I realise there could be some design challenges with this, so perhaps it's better I just learn how to modify the web UI. What are your thoughts, @chme?

@chme
Copy link
Collaborator

chme commented Jan 22, 2022

Yes, I agree, that getting the settings automatically in the UI would be good.
And yes, that can be implemented. We will have to expose additional information for each setting, to make it look decent in the UI. I will look into it.

@chme chme self-assigned this Jan 22, 2022
@ma-ku
Copy link

ma-ku commented Jan 29, 2022

Just an idea; look at the HomeBridge project. They support custom settings via JSON Schema files. There is a library that supports rendering settings from the JSON definition. Maybe a shortcut?

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