Sunbird-RC / community

Repo to enable discussions, issue tracking & documentation for the Sunbird-RC projects
MIT License
12 stars 23 forks source link

[UI Config] Grouping and displaying long forms in different sections #339

Open jayadinni opened 1 year ago

jayadinni commented 1 year ago

Problem: In most of the use cases the number of fields defined in Schema would range from 10-60, which makes the form long. For the end user, it would be difficult to enter values in a long form, leading to bad user experience and frustration.

Solution: Ability to break the form in groups and different sections. Example:

Image

Todo List

parthlawate commented 1 year ago

@jayadinni @Renuka-S adding this related discussion which is about ordering form fields. https://github.com/Sunbird-RC/community/discussions/309

For long forms, we will need to support multiple configurations for the auto generated Ui like

  1. Ordering
  2. Field groups (could be rendered as a tab or a slide)
  3. In some cases if you want to show forms in multiple columns then that also comes into picture..

But ofcourse do look at which of these we want to do in iteration 1.. and where will this config be saved