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

[Feature Request] Low code init/modify a configuration in specific schema #12

Open
amyXia1994 opened this issue Feb 20, 2023 · 1 comment

Comments

@amyXia1994
Copy link
Contributor

amyXia1994 commented Feb 20, 2023

Low Code Init/modify the KCL configuration

Feature

provide a common way for users to init and modify a KCL configuration without writing the KCL code(or only write a little code)

  • init:

    • [IDE] display a list of schema/template
    • [user] select the schema/template to use
    • [IDE] display the attributes to config hierarchically
    • [user] fill in all the values: input field for most of the literal value; a drop-down box for Enum value; with default value auto-filled; with a gray question mark hover on the optional attribute and a red exclamation mark hover on the required attribute, etc.
    • [user] save the configuration and specify the file path to save the code.
    • [IDE] output the auto-generated KCL code to the file
  • modify:

    • [IDE] display the variables in the configuration file and all the attributes to config hierarchically. with all the attributes filled in with the current value.
    • [user] modify the values in the low code manner described in the [init] section.
    • [user] finish modification and save the configuration.
    • [IDE] output the auto-generated KCL code to current file
  • view

    • [IDE] display the variables in the configuration file and all the attributes to config hierarchically.
    • [IDE] for attributes with a docstring, display the docstring in a description manner.

Design

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

4 participants