villebro commented on PR #38376: URL: https://github.com/apache/superset/pull/38376#issuecomment-4026621859
> > The frontend form is generated from the generated JSON schema, using the https://jsonforms.io/ library. In the future, semantic layers extensions will be able to define custom React components for their configuration, if more fine control is needed. But for now, the current approach should allow us to configure any kind of semantic layer. > > I wonder if it would be possible to provide the configuration UIs using the existing [views contribution type](https://superset.apache.org/developer-docs/extensions/contribution-types#views) which would allow any React component. Extension developers could use JSON forms to create the view or a handcrafted UI. It seems this would give more flexibility as @betodealmeida already predicted in his comment and also better align with what we already have for providing custom views. Thoughts? I think the configuration UIs are a very specific type of view that probably needs the following: - should be populatable with current/default values - probably has restrictions on the size - should yield some type of output data at completion I think the Explore control panel and the semantic config UI are similar in many ways, but they have very different restrictions regarding size at least. So I would start from these common requirements for forms, and see if we can fit it into the views concept, or if we need a new "form" contribution. Thoughts? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
