Content
View differences
Updated by Marc Alcobé over 4 years ago
**As** a team member
**I want to** (un)select all sub-projects from a project in the include projects modal
**so that** I don't need to select manually all the sub-projects bellow one project. And also I have the option to select a parent without selecting its sub-projects.
**Acceptance criteria**
A link button appears on hover that allows the user on hover to select all the sub-projects from a parent project. This hover appears when the mouse is on top of the parent project or all all the sub-projects (excluding the top parent project of the list that only has the hover behaviour on itself).
Once you click the link and all the sub-projects are selected the link change to "unselect all sub-projects" (this will switch back to "select all sub-projects" if manually a sub-project is unselected).
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://community.openproject.org/api/v3/attachments/27246/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://community.openproject.org/api/v3/attachments/27247/content"></div></figure>
When the title of the project is really long or there is multiple levels of hierarchy that will lead to an overlapping between the title of the project and the hovering button we can extend the modal width until a maximum of "X px". When this maximum is reached and the title is still overlapping with the hover button we will truncate the title.
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27747/content"></div></figure> we... (TBD)
**I want to** (un)select all sub-projects from a project in the include projects modal
**so that** I don't need to select manually all the sub-projects bellow one project. And also I have the option to select a parent without selecting its sub-projects.
**Acceptance criteria**
A link button appears on hover that allows the user on hover to select all the sub-projects from a parent project. This hover appears when the mouse is on top of the parent project or all all the sub-projects (excluding the top parent project of the list that only has the hover behaviour on itself).
Once you click the link and all the sub-projects are selected the link change to "unselect all sub-projects" (this will switch back to "select all sub-projects" if manually a sub-project is unselected).
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://community.openproject.org/api/v3/attachments/27246/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://community.openproject.org/api/v3/attachments/27247/content"></div></figure>
When the title of the project is really long or there is multiple levels of hierarchy that will lead to an overlapping between the title of the project and the hovering button we can extend the modal width until a maximum of "X px". When this maximum is reached and the title is still overlapping with the hover button we will truncate the title.
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27747/content"></div></figure>