A fourth calendar view, Hours, shows the week as a time grid
(FullCalendar's timegrid, MIT, already part of the package). Timed tasks
sit at their time and take the height of their duration; tasks without
a time go in the all-day row.
Dragging or resizing in the time grid reads the dates from where the
event lands, so a task can move to another time, gain a time when
dropped on a slot, or lose it when dropped on the all-day row. Times are
saved in UTC as elsewhere. Month and Week keep moving tasks by whole
days.
Tasks snap to a step set in UI customization → Others (5, 10, 15, 30 or
60 minutes; 5 by default), as asked in #131. The API's settings
validation accepts the new key.
Refs #134
Calendar joins Tasks, Kanban, Graph and Sprints in the default view
setting (UI customization → Others), so projects can open straight on
their calendar. Like Tasks, it needs no permission beyond seeing the
project's tasks. The API's settings validation accepts the new value.
Refs #134
The calendar asks the API for the tasks overlapping the period on
screen, one day wider on each side because a task with a time is stored
in UTC and can fall on a neighbouring local day. It reloads when the
period changes, instead of fetching the whole project once.
The taskview-api client gains the dateFrom/dateTo fetch arguments.
Refs #134