tk103331 opened a new issue, #2846: URL: https://github.com/apache/incubator-devlake/issues/2846
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Using the plugin mode is flexible. The same goes for the plugin's configuration parameters. I found that the configuration page of the current plugin is defined by the front-end project. It cannot be automatically generated based on the plugins supported by the background. If I develop a new custom plugin myself, but the front end does not have its configuration page. Front-end engineers must design new configuration pages. I have an idea, I don't know if it will work or not. **Customize the configuration page metadata in the plugin, and the front end generates page elements based on these metadata.** The configuration parameters of the plugin need to be abstracted here. For example, parameters may have these properties: dataType, showType, validation, datasource, etc. - dataType: Indicates the data type, such as number, string, array - showType: Indicates the display type, such as input, select - validation: used for form validation, such as required validation, regular validation, range validation - datasource: the option data source for the 'select' component, which can be a simple dictionary, or the data returned by the interface provided by the plugin - and other properties, placeholder, helpText, etc. ### Use case  ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
