-
Notifications
You must be signed in to change notification settings - Fork 710
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
Adapt "basic forms" to a JSONSchema-compliant spec #4917
Comments
Some random thoughts before digging into this issue:
|
Some (very) initial results of the table-mode view: Still in a PoC-phase, I'm looking for better solutions for rendering the tables (with built-in filters, search, etc...) as well as getting the information from both the schema + appValues and looking for a solution for keeping everything in sync easily. |
That looks promising! Shouldn't we track the task in #4396 ? |
Quick update here:
We finally went with the tabular mode, as it was the best approach for rendering large schemas without compromising the UI performance. Tracked at: #4396
It is mainly implemented at #5412
Bitnami folks have been informed, but any change on their side will have to wait until we release a version including the changes in #5412. Next steps: merge the changes, create an issue with the pending items, revisit every issue related to the old "basicforms" approach and check with our adopters how this change would affect them. |
After the merge of the ongoing PRs, some TODOs still remain. I've created some issues for tracking each of them:
|
Summary
Currently, the "basic form" feature is using a custom format to represent the data that should be rendered (pics below). This format is not standard nor it is being properly updated by the Bitnami team.
Besides, the current implementation becomes unusable when the number of params in the form is more than ~10 ?
Background and rationale
If Bitnami (the primary producer of content with this schema format) stops creating this file and moves towards a usual JSONSchema (see bitnami/readme-generator-for-helm#15), the "basic form" functionality will be useless.
Description
First, we should define which
x-whicheverCustomFormProperty
we are going to use (bitnami/readme-generator-for-helm#15).Once agreed, we have to implement a UI form somehow. For instance, using
jsonschema-forms
(as in https://github.com/vmware-tanzu/kubeapps/pull/3527/files) or a tabular mode (as suggested in #4396).Or even we can have both: the forms-based approach for the "basic form" and the tabular one for the "advanced view" or something like that.
Doing so would solve, IMO both #2540 and #1924.
Additionally, we could revisit #3535 to see how we can include custom schemas coming from 3rd party places.
Acceptance criteria
Additional context
The text was updated successfully, but these errors were encountered: