A special kind of event that represent a time interval that is closed and should result in calendar having grey background.
User will click a button called “Change schedule” which will alter the behaviour of mouse clicking.
User will click with the mouse on either a white are or a grey area and then drag the mouse up or down, “selecting an interval”.
When user releases the mouse button, the calendar will instantly trigger and event that, in our use case, send all background event to the server, which will recalculate any overlapping event and return as few as possible.
One major thing here the determining if the result should be opened or closed.
The way FullCalendar works is that you only get the status of the cell where you release the mouse button.
So the logic right now is
Press on white cell and release on white cell = interval becomes grey
Press white, release on grey = interval becomes grey
Press grey, release on grey = interval becomes white
Press grey, release on white = interval becomes grey
This might not really be an issue because what happens when a user release the mouse button will be something that is implemented by the application and not the framework. What would be necessary is information on the interval itself, interval start to interval stop. From there, I can determine if it should be opened or closed.
Once editing is completed, the user will press the “Change schedule”-button again in order to go back to normal behaviour.
A special kind of event that represent a time interval that is closed and should result in calendar having grey background.
One major thing here the determining if the result should be opened or closed. The way FullCalendar works is that you only get the status of the cell where you release the mouse button.
So the logic right now is
This might not really be an issue because what happens when a user release the mouse button will be something that is implemented by the application and not the framework. What would be necessary is information on the interval itself, interval start to interval stop. From there, I can determine if it should be opened or closed.