Content
View differences
Updated by Henriette Darge 4 months ago
# **Acceptance criteria**
The form configuration page for types in the administration is updated to look closer to the Project attribute page
**Layout**
* On the left, there is a panel containing unused fields
* The list is filterable
* Elements from that list can be moved to the right side via drag'n'drop
* On the right, the configured form configuration is shown
**Sections**
* Each **section** becomes a BorderBox component
* Each field and each query is one row in the Box
* Entries that represent a query are show as one entry with a pencil button at the end of the row
* The fields rows are sortable via drag'n'drop within and between sections (like before)
* The sections are sortable via drag'n'drop
* The header contains a three-dots-menu at the end with the following options
* Rename section
* Will trigger inline editing (like in Meetings)
* Add work package field
* _Open: How do we add more fields? Options are a dialog, SelectPanel, ..._
* Move: Edit title
* _Open: Shall a dialog open (like for project attributes) or rather some kind of inline edit like in meetings?_
* Move to top (unless it is the first section)
* Move up (unless it is the first section)
* Move down (unless it is the last section)
* Move to bottom (unless it is the last section)
* Delete
* _Open: What happens with the fields when I delete? Probably nothing as it is currently_
**Subheader**
* There is a primary button in the subheader called "+ Add" which triggers a menu with two options:
* "Attribute section" -> will open a dialog to enter the title
* "Table of related work packaes" -> Will open the configuration dialog (as of now)
* There is a button called "Reset to defaults" (current behvior)
**Technical notes**
* <br>
**Permissions and visibility considerations**
* _Only visible for Admins_
<br>
**Out of scope**
* Add functionality to the form configuration <br>
The form configuration page for types in the administration is updated to look closer to the Project attribute page
**Layout**
* On the left, there is a panel containing unused fields
* The list is filterable
* Elements from that list can be moved to the right side via drag'n'drop
* On the right, the configured form configuration is shown
**Sections**
* Each **section** becomes a BorderBox component
* Each field and each query is one row in the Box
*
*
* The sections are sortable via drag'n'drop
* The header contains a three-dots-menu at the end with the following options
* Rename section
* Will trigger inline editing (like in Meetings)
* Add work package field
* _Open: How do we add more fields? Options are a dialog, SelectPanel, ..._
* Move:
*
* Move to
* _Open: What happens with the fields when I delete? Probably nothing as it is currently_
* There is a primary button in the subheader called "+ Add" which triggers a menu with two options:
* "Attribute section" -> will open a dialog to enter the title
* "Table of related work packaes" -> Will open the configuration dialog (as of now)
* There is a button called "Reset to defaults" (current behvior)
* <br>
* _Only visible for Admins_
* Add functionality to the form configuration