Content
View differences
Updated by Parimal Satyal over 4 years ago
**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 there is still enough space (i.e, the toolbar breaks), hide also the "Today" button.
* And if even~~ _~~that~~_ ~~isn't 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.~~ 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>
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
* And
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>