Content
View differences
Updated by Dominic Bräunlein almost 2 years ago
**As** an OpenProject administrator
**I want to** enable or disable a custom field for multiple project at once
**so that** I save time on that.
**Acceptance criteria**
* **Tab navigation**
* In _Administration_ -> _Custom Fields_ -> _Custom Fields A_ we introduce a tab navigation (similar to project attributes)
* `Details`
* `Projects`
* **Project list**
* Show project list of all projects in which this custom field is activated
* The list should display the project hierarchy
* The list should be paginated
* The list should be searchable
* Projects should be removable from list with the help of a menu on the row.
* If an error occurs during the delete action a error banner should be displayed on top of the page.
* There is no confirmation needed for disabling a custom field on a project
* It should not be possible to add/remove projects when the project attribute is required. A info banner should be shown instead
* If there is no project or the last project was removed from the list a "no results"-message is shown
* **Add projects dialog**
* A dialog opens when the "Add projects"- button is clicked
* The dialog shows a projects selector in autocompleter-style with search functionality
* User should be able to select multi projects
* Selected projects are shown as pills in the input
* Already added projects should be deactivated but visible and searchable in the dropdown
* The dialog shows the option to "include sub-projects"
* When this checkbox is checked it will additionally add all sub-projects of the selected projects (including sub-sub-projects etc.
**Out of scope**
* Bulk actions
* Types-tab
**Figma and visuals**
https://www.figma.com/design/6RzNWrc8jpqhE7jpaCXsGB/Multi-project-selector?node-id=1122-60067
**I want to** enable or disable a custom field for multiple project at once
**so that** I save time on that.
**Acceptance criteria**
* **Tab navigation**
* In _Administration_ -> _Custom Fields_ -> _Custom Fields A_ we introduce a tab navigation (similar to project attributes)
* `Details`
* `Projects`
* **Project list**
* Show project list of all projects in which this custom field is activated
* The list should display the project hierarchy
* The list should be paginated
* The list should be searchable
* Projects should be removable from list with the help of a menu on the row.
* If an error occurs during the delete action a error banner should be displayed on top of the page.
* There is no confirmation needed for disabling a custom field on a project
* It should not be possible to add/remove projects when the project attribute is required. A info banner should be shown instead
* If there is no project or the last project was removed from the list a "no results"-message is shown
* **Add projects dialog**
* A dialog opens when the "Add projects"- button is clicked
* The dialog shows a projects selector in autocompleter-style with search functionality
* User should be able to select multi projects
* Selected projects are shown as pills in the input
* Already added projects should be deactivated but visible and searchable in the dropdown
* The dialog shows the option to "include sub-projects"
* When this checkbox is checked it will additionally add all sub-projects of the selected projects (including sub-sub-projects etc.
**Out of scope**
* Bulk actions
* Types-tab
**Figma and visuals**
https://www.figma.com/design/6RzNWrc8jpqhE7jpaCXsGB/Multi-project-selector?node-id=1122-60067