You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scheduler] Events created on the Event Timeline can't be all-day by default #24410
on holdThere is a blocker, we need to wait.scope: schedulerChanges related to the scheduler.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Add a new phase to a crew by double clicking its row on the Event Timeline (task 4 of the construction app's spec). Every phase of the app is an all-day event (task 12: "from 4 to 26 January", with no hours):
The creation dialog opens with a timed event. Its start time comes from where the pointer was inside the day: 10 Dec 05:30 to 17 Dec 05:30. Saved as it is, the plan gets one phase with hours among phases that have none.
eventCreation takes duration, interaction and canHaveMultipleResources. Nothing makes new events all-day, so the user has to switch every new phase to all-day in the dialog.
To get it working, the app rewrites the new event in onEventsChange: it keeps the days, drops the times and sets allDay: true. The dialog still shows the times before saving.
What I expected
An option to create all-day events, for example eventCreation={{ allDay: true }}, with duration then counted in whole days.
Plans made of whole days are a common use of a timeline: construction phases, project tasks, holidays, bookings by night.
on holdThere is a blocker, we need to wait.scope: schedulerChanges related to the scheduler.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Activity