# Feature OP-9767 - Decrease team planner toolbar when split screen is opened

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

## Planning

| Attribute | Value |
| --- | --- |
| Date | 2021-11-01 – 2022-02-27 |
| Priority | Medium |
| Target versions | 12.1.0 |
| Sprint | 12.1.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 |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

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

## Estimates and progress

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

## Description

**Acceptance criteria**

To avoid ugly line breaks in the team planner toolbar, we do the following when the split screen is opened

  - Maintain the currently implemented behaviour (pushes calendar and toolbar to the left, effectively decreasing the available space and requiring a horizontal scroll, if it wasn't already required by the two-week view).
  - Hide the "1-week | 2-week" toggle and the "Today" button when the split screen is visible
  - ~~And if even~~ *~~that~~* ~~isn't enough, hide the "Backwards" and "Forwards" buttons. This, however, should not be needed and should be only be done as a last-resort to avoid visual anomalies.~~

Like so:

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27104/content"></div></figure>

**Current behaviour, implemented as specified**

Today, opening the split screen (by clicking on a work package strip or drag-selecting dates to create a new work package) with *push* the calendar and the date toolbar to the left. This is as it was specified, but this was an error on my part. The current behaviour squishes the toolbar to a point where it's unusable if the Add Existing panels is also open.

*With both only Split screen*

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27103/content"></div></figure>

*With both Add Existing Panel and Split screen*

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27102/content"></div></figure>
