Page MenuHomePhabricator

Setting to prevent overlapping/conflicting events
Open, WishlistPublic


Please add a setting so overlapping/conflicting events can be disabled for a calendar.
The setting should also prevent bypassing the restriction by editing existing entries.

Event Timeline

nvm4it triaged this task as Wishlist priority.Oct 11 2019, 2:03 PM
nvm4it created this task.
nvm4it created this object in space S1 Open Source.

Could you be a bit more specific with what you mean? What exactly should the setting prevent/disable/disallow?

If I understood you correctly, your use case would be:

  • there is an event from 10:00 - 12:00
  • standard behavior (now): you try to create an event from 11:00 - 11:30 => event created
  • setting 1 enabled: you try to create an event from 11:00 - 11:30 => error message
  • setting 2 enabled: you try to create an event from 11:00 - 11:30 => message "would you like to edit existing event instead?"

Did I get this right?

Yes, this is exactly what I meant.

Your idea for the option to choose between an error message or the "edit existing event?" dialog sounds even better.

OK - it sounds feasible and would need to be done entirely in JavaScript. Unfortunately, at the moment, I don't really have the time to work on this.
If you want to give it a try, I'd be happy to give you some guidance. If not, it's going to take a while, I'm afraid.