Content
View differences
Updated by Parimal Satyal almost 4 years ago
In <mention class="mention" data-id="41814" data-type="work_package" data-text="#41814">#41814</mention> a banner section was introduced which needs to be filled with life
**Acceptance criteria**
* The banner can be in two different colours (or not existent at all)
* There can be two types of banners:
* An **information banner** has a blue background
* A **warning banner** has an orange background
* There are 4 identified cases in which this banner is displayed:
* **Warning:** "Manual Manual scheduling enabled, is enabled so all existing work package relations ignored."
_(This are ignored. (This is only visible when the work package in question has relations; a manually scheduled work package with no relations will not show this banner)._ banner).
* **Warning:** "Changing these Changing the dates of this work package will affect change the dates of related work packages." packages
* **Information:** "Available Available start and finish dates are limited by relations." relations.
* **Information:** "Automatically scheduled. Dates The dates are automatically derived from relations." relations (and date input is disabled).
* I created a small [diagram for the logic](https://www.figma.com/file/KYn7UFJIoKZfq7MOPEznEe/Banner-logic?node-id=0%3A1)
* Structure (may already be done in <mention class="mention" data-id="41814" data-type="work_package" data-text="#41814">#41814</mention> )
* an icon
* two-line message, the first in bold
* a "Show relations" button that, when clicked, opens up a GANTT preview in a new window
* This is a filtered work package list (table view + GANTT view) showing only work packages related to the "main" work package (the one for which the GANTT preview was requested).
* The mobile date picker displays a simplified version of the banner:
* Without the left-side icon
* Without the second line of text (only the first line is displayed)
* With the usual "Show relations" button.
*
**Default**
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32095/content"></div></figure>
**Mobile**
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32108/content"></div></figure>
**Acceptance criteria**
* The banner can be in two different colours (or not existent at all)
* There can be two types of banners:
* An **information banner** has a blue background
* A **warning banner** has an orange background
* There are 4 identified cases in which this banner is displayed:
* **Warning:** "Manual
_(This
* **Warning:** "Changing these
* **Information:** "Available
* **Information:** "Automatically scheduled. Dates
* I created a small [diagram for the logic](https://www.figma.com/file/KYn7UFJIoKZfq7MOPEznEe/Banner-logic?node-id=0%3A1)
* Structure (may already be done in <mention class="mention" data-id="41814" data-type="work_package" data-text="#41814">#41814</mention> )
* an icon
* two-line message, the first in bold
* a "Show relations" button that, when clicked, opens up a GANTT preview in a new window
* This is a filtered work package list (table view + GANTT view) showing only work packages related to the "main" work package (the one for which the GANTT preview was requested).
* The mobile date picker displays a simplified version of the banner:
* Without the left-side icon
* Without the second line of text (only the first line is displayed)
* With the usual "Show relations" button.
*
**Default**
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32095/content"></div></figure>
**Mobile**
<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32108/content"></div></figure>