docs icon indicating copy to clipboard operation
docs copied to clipboard

Generate configuration file from Configuration Editor

Open Thanzex opened this issue 2 years ago • 0 comments

Preflight checklist

Describe your problem

The Configuration Editor component does not produce any output, it simply validates it, but since it only accepts manual input is not even useful to validate a current configuration file, as seen on the Keto Configuration Editor or Kratos Configuration Editor.

Describe your ideal solution

The Editor should be able to output a valid configuration file upon pressing the "Submit" Button. A function can be passed to the component to aid in producing the output, but since it already receives the schema i see no problem in generating a valid yaml or json configuration file as output.

This file could be downloaded by the user, or simply shown in a text editor.

Workarounds or alternatives

The alternative is to just manually write out the configuration file alongside the Configuration Editor.

Version

Additional Context

No response

Thanzex avatar Jun 25 '22 10:06 Thanzex