Content
View differences
Updated by Henriette Darge over 4 years ago
**Acceptance criteria**
To avoid ugly line breaks Overriding what was specified in <mention class="mention" data-id="39784" data-type="work_package" data-text="#39784">#39784</mention>, the team planner toolbar, we do behaviour of the following when the split screen is opened
* Maintain should be the currently implemented behaviour (pushes calendar and toolbar to same as in work package table view. That is, 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 when the split screen is visible
* If there is still enough space (i.e, should go _over_ the toolbar breaks), hide also (blocking the "Today" button.
* And if even _that_ isn't enough, hide the "Backwards" right side) and "Forwards" buttons. This, however, should not be needed and should be only be done as a last-resort push it to avoid visual anomalies. the left.
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
* Maintain
* Hide the "1-week | 2-week" toggle when the split screen is visible
* If there is still enough space (i.e,
* And if even _that_ isn't enough, hide the "Backwards"
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>
<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>