Content
View differences
Updated by Marc Alcobé over 4 years ago
**As** a project member
**I want to** include to my current view the work packages from another project or subproject that is not the same one that I'm working on
**so that** act upon or verify work packages that might affect or have relations with my current project.
**Acceptance criteria**
* The new action filter will be included part to the generic filter in any work packages view. You could search for it through the top menu toolbar as "Add filter".
* Substitute the current "Including subproject" filter with the filter "Include projects".
* Once the filter is added a row is added with a dropdown button (2nd level of navigation): box with the text "Select a project" inside and a dropdown icon on the left.
* To remove this filter a cross icon is added outside the box.
<figure class="image op-uc-figure" style="width:50%;"><div op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24630/content"></div></figure> src="/api/v3/attachments/24527/content"></div></figure>
* Once the button is clicked user clicks on the box to start searching for a project a modal dialog will be opened menu with all the hierarchy of projects and sub-projects (that I'm member of) in a hierarchy mode with a multiple selection checkbox style:
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24634/content"></div></figure>
limit high of 360px. Displaying as many elements as possible and scrolling the rest of the list.
* This dialog includes multiple elements:
* Search bar: this will allow When a search of the project and sub-projects by name. In this search bar chips (as we have is selected a chip (same component already existing in the filters) inside the filter box appear with the name of the already project selected projects will be displayed (with an "X" icon to remove it) and the work packages of that project are added to the work package list. If is a parent project only the work packages of the parent project will be added scrolling to (not the left leaving space to keep writing. When this search sub-project ones).
* In case there is happening, the "parent" already other projects selected this ones are greyed out (#CCCCCC) of the modal menu and this can't be selected again. This ones are not selectable while still visible to keep the text searched will turn blue in hierarchy of the matched projects or sub-projects. elements but not selectable.
<figure class="image op-uc-figure" style="width:50%;"><div op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24632/content"></div></figure> src="/api/v3/attachments/24528/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24633/content"></div></figure> src="/api/v3/attachments/24529/content"></div></figure>
* Checkbox list hierarchy: this is If the same list as user starts typing the top navigation modal menu on will shrink to the top left corner but including a checkbox system. The checkboxes can have multiple status:
* Active non-selected: blue empty checkbox elements corresponding with black letters.
* Active selected: blue selected checkbox with black letters.
* Inactive non-selected: grey empty checkbox with black letters. This happens in the search behaviour explained on texts. In case the top.
matching texts belongs to a sub-project the parent projects will still appear but greyed (#878787) and not selectable.
* Inactive selected: grey selected checkbox The text that is 100% corresponding with black letters. This happens with the current project that you are in (in the mock-ups Autoliv) or when you have the action "Include all sub-projects" selected and you select a parent project (then all sub-projects written one will be in this status).
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24635/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24636/content"></div></figure>
highlighted with the main blue colour.
* Include all sub-projects action: This allows the user to select if they want to automatically check all the sub-project bellow a parent project if this In case there is already other projects selected or in the contrary select this always manually. The only case where this action doesn't affect the sub-projects is for the current project you ones are working on (Autoliv in greyed out (#CCCCCC) of the mockups) as modal menu and this one will can't be selected by default but its sub-projects not.
* Modal buttons: Two actions, one positive "Apply" again. This ones are still visible to confirm keep the selected checkboxes and one to "Clear selection". hierarchy of the elements but not selectable.
**Visuals:**
* EMPTY:
<figure class="image op-uc-figure" style="width:50%;"><div op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24637/content"></div></figure> src="/api/v3/attachments/24531/content"></div></figure>
* ALL SUB-PROJECTS NOT SELECTED:
<figure class="image op-uc-figure" style="width:50%;"><div op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24638/content"></div></figure> src="/api/v3/attachments/24530/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24639/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24640/content"></div></figure>
* ALL SUB-PROJECTS SELECTED:
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24641/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24642/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24643/content"></div></figure>
* SEARCH:
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24644/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24645/content"></div></figure>
**Figma file:** **Visuals:**
[https://www.figma.com/file/rddHeKCAkJo2MNI2zktSaR/?node-id=0%3A1](https://www.figma.com/file/rddHeKCAkJo2MNI2zktSaR/?node-id=0%3A1)
**I want to** include to my current view the work packages from another project or subproject that is not the same one that I'm working on
**so that** act upon or verify work packages that might affect or have relations with my current project.
**Acceptance criteria**
* The new action
* Substitute the current "Including subproject" filter with the filter "Include projects".
* Once the filter is added
* To remove this filter a cross icon is added outside the box.
<figure class="image op-uc-figure" style="width:50%;"><div
* Once the button is clicked
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24634/content"></div></figure>
* Search bar: this will allow
* In case there
<figure class="image op-uc-figure" style="width:50%;"><div
<figure class="image op-uc-figure" style="width:50%;"><div
* Checkbox list hierarchy: this is
* Active non-selected: blue empty checkbox
* Active selected: blue selected checkbox with black letters.
* Inactive non-selected: grey empty checkbox with black letters. This happens in the search behaviour explained on
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24635/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24636/content"></div></figure>
* Modal buttons: Two actions, one positive "Apply"
**Visuals:**
* EMPTY:
<figure class="image op-uc-figure" style="width:50%;"><div
* ALL SUB-PROJECTS NOT SELECTED:
<figure class="image op-uc-figure" style="width:50%;"><div
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24639/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24640/content"></div></figure>
* ALL SUB-PROJECTS SELECTED:
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24641/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24642/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24643/content"></div></figure>
* SEARCH:
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24644/content"></div></figure>
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/24645/content"></div></figure>
**Figma file:**
[https://www.figma.com/file/rddHeKCAkJo2MNI2zktSaR/?node-id=0%3A1](https://www.figma.com/file/rddHeKCAkJo2MNI2zktSaR/?node-id=0%3A1)