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

json or KDL config editing support (experimental thing.) #1207

Open
petersilva opened this issue Sep 4, 2024 · 2 comments
Open

json or KDL config editing support (experimental thing.) #1207

petersilva opened this issue Sep 4, 2024 · 2 comments
Labels
Sugar nice to have features... not super important. wishlist would be nice, not pressing for any particular client.

Comments

@petersilva
Copy link
Contributor

when a flow's configuration is resolved... it could be written as .config/sr3/comp/config/configuration.json
and we could have a json schema file written to .config/sr3/configuration_schema.json

with the two could have a structured editing of configs using a WYSIWIG editor...

anyways... the schema can constrain the values, e.g. for set types to have choices.

Of course... this is kind of one way... once you start editing in json, you can't get back to the input config format.
dunno... might be a fun student project.

@petersilva petersilva added wishlist would be nice, not pressing for any particular client. Sugar nice to have features... not super important. labels Sep 4, 2024
@petersilva
Copy link
Contributor Author

This becomes more helpful because the current syntax does not express scope at all, and in upcoming changes... aka multibroker/multi-queue support, the scope of many settings changes. (#35 ... some more...)

Also enables future GUIs...

@petersilva
Copy link
Contributor Author

found KDL config file format, and I think it's better for humans than JSON...

https://kdl.dev/

The syntax is nicer.

@petersilva petersilva changed the title json config editing support (experimental thing.) json or KDL config editing support (experimental thing.) Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sugar nice to have features... not super important. wishlist would be nice, not pressing for any particular client.
Projects
None yet
Development

No branches or pull requests

1 participant