Content
View differences
Updated by Parimal Satyal over 4 years ago
Also note that additional specifications
### Acceptance criteria
* The toggle reads "1-week" and "2-week" (please note the lack of the "s" in "2-week"; the term is used as an adjective here and therefore does not need to be pluralised)
* Clicking on the "2-week" option in the toggle in the toolbar extends the calendar to two-weeks.
* When switching from one-week displayed to two-weeks displayed in the team planner, the
* Since the notion of non-working days is not yet implemented, this will mean that the calendar will simply show 14 days _(eg. from Monday – Sunday of the week after, depending on which day the week starts in the selected region)._
* The day headings need to be shortened from "9 Monday" to "9 Mon" to save space.
* Ideally, the entire two weeks are visible without requiring a horizontal scroll (when Add Existing is closed, of course).
* We understand that this is complicated, so if the full two weeks aren't possible, we should aim for best effort to display as much as is practically possible pre-scroll (at least a few days from week 2, for example).
* This is important so that users are able to drag elements between the two weeks; if a scroll is required from the start, the user could achieve almost the same thing simply by clicking on the forward/back icons.
* We understand that this will be further complicated with the upcoming change from strips to cards, so the width of a day column will almost certainly need to be adjust after this.
### Out of scope
* The weekends will have a different background colour than other days, but this will be specified in a separate work package (since the upcoming cards will mean that the background of all days of the calendar need to be changed).
### Visual
_**The two-week view show as much as possible without requiring horizoantal scroll**_
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27252/content"></div></figure>
### Figma
Prototype link: https://www.figma.com/file/409d6qR685SzZLXez4TPl7/Team-Planner?node-id=1581%3A57123