Describe the solution you'd like
Currently if an event is cancelled it is crossed out and displayed semi-transparent but still taking space in the views (e.g. monthly view).
It would be great to have a checkbox under settings (per calendar or as general setting to hide cancelled events from the calender). This would free up some space for actual events.
Describe alternatives you've considered
Currently I fully delete these events manually.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
How much do cancelled events make up in your calendar?
As I am having several calendars shared with different people there are 2-3 events in average which are cancelled per week.
If there are more than 5 events on a single day (monthly grid view) the cancelled event could hide an existing one under "+ X more".
Example:
On a day there a 6 events, event 5 is cancelled. In the monthly grid events 1 to 4 are displayed, while event 5 (cancelled) and 6 are not displayed. Only when clicking on "+ 2 more" it is visible that there is another non-cancelled event.
However, if the 5th event would not be displayed anymore there would be enough space for displaying the 5 not cancelled ones.
Maybe another point for hiding them is a cleaner overview. As mentioned I am using several calendars and it gets sometimes messy if there is a lot of different events from different calendars plus cancelled events. In average I have 4-5 events per day.
If i delete events on mobile (CalDAV), they show up as cancelled in the Web Calendar, and because i have many recurring events, that i have to delete if there is a free day (holidays) i often have a whole week full of "deleted" events.
I could delete them in the web, but i would prefer having an option to hide them.
there are 2 pieces of code that implement for the current behavior.
in js: https://github.com/nextcloud/calendar/blob/a5a93446ac6ee82ebc9b7473e9607e8519a913fd/src/fullcalendar/eventSourceFunction.js#L55-L56
in css: https://github.com/nextcloud/calendar/blob/3c2910f3b229ab68da69e0c036ea4c70f1c1e6c6/css/fullcalendar.scss#L24-L26
I don't know much about the code of the project, but i am considering implementing this feature and creating a pull request.
I am not sure it is a Nextcloud problem.
When you delete a single event in some calendar app on your smartphone, they are marked as cancelled, not deleted.
See : https://forums.bitfire.at/topic/1238/synching-and-deleting-single-events-from-recurrent-repeating-events
In particular, the 4th comment:
https://forums.bitfire.at/topic/1238/synching-and-deleting-single-events-from-recurrent-repeating-events/4
Its not a problem in general, but i would like to have the option.
I think there are many other usecases for this feature request.
Sorry, it wasn't my intention to say that this option would not be useful.
I am also interested by this option (and a "delete all cancelled events" would be great too).
My goal was to add more information in order to better understand the context and the source of these "cancelled event".
In my case, as a workaround, I know I can look for an alternative calendar app on my smartphone.
It would be great to have a checkbox under settings (per calendar or as general setting to hide cancelled events from the calender). This would free up some space for actual events.
Based on the discussion, I think of a checkbox option and one action button on both levels (per calendar and in general):
Most helpful comment
If i delete events on mobile (CalDAV), they show up as cancelled in the Web Calendar, and because i have many recurring events, that i have to delete if there is a free day (holidays) i often have a whole week full of "deleted" events.
I could delete them in the web, but i would prefer having an option to hide them.