# Feature OP-10329 - Show banner information in new date picker

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-10329

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2022-05-25 |
| Priority | Medium |
| Target versions | 12.2.0 |
| Sprint | 12.2.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

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 scheduling enabled, all relations 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).*
      - **Warning:** "Changing these dates will affect dates of related work packages."
      - **Information:** "Available start and finish dates are limited by relations."
      - **Information:**  "Automatically scheduled. Dates are derived from relations."
      - 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>
