As a user I want to organize an existing schema by nesting existing fields under fields of data type “records”.
1. - To add a child field under a parent record, I want to select the [+] icon in the record row.
*On hover* a tooltip is displayed "Add a child field or a new record"
*On click* a pop over is displayed revealing a menu. With two options: "Add a child field" and "Add a new record"
2. - The user clicks on "Add a child field" . This action will display a search field where the user starts typing a query.
If the record has other fields as children, those fields are displayed and the record view is expanded to show them.
The search box is displayed on top of that list of fields, directly below the parent row.
The search has an auto suggest feature, where the top 10 results are displayed.
The autocomplete displays results that match all the query and starts displaying after the user types 1 characters and updates as the user types.
The results displayed include records.
3. - The user can select multiple fields by selecting the the checkbox displayed next to each of them, and select the "Apply" button. The field selected will be displayed directly below the parent row.