cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

No meeting times show up after removing all Availability schedules

Open ethanngoh opened this issue 2 years ago • 2 comments

Issue Summary

When no availability schedule exists in your cal.com account, one's calendar is completely broken.

image

Steps to Reproduce

  1. Log into cal.com account
  2. Click Availability tab in left sidebar
  3. Delete all availability schedules (including default)
  4. Navigate to cal.com/username page to attempt to schedule meeting

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

I keep my availability as a separate calendar in Google Calendar and manage it there. I do this because I travel between US and APAC time zones, and my personal calendar is a centralized source of truth for what times I'm likely to be awake.

As a workaround, I had to create an availability schedule that spanned the entire day + week.

Technical details

  • Browser version, screen recording, console logs, network requests: You can make a recording with Bird Eats Bug.
  • Node.js version
  • Anything else that you think could be an issue.

ethanngoh avatar Jan 26 '23 06:01 ethanngoh

what would you recommend to show there instead? I agree this infinite loading screen is not a good idea.

(a) should we prevent deleting all availabilities?

(b) should we show an empty screen on the booking page?

PeerRich avatar Jan 26 '23 11:01 PeerRich

i marked this as low priority because its not common that people have no availability

PeerRich avatar Jan 26 '23 11:01 PeerRich

Hi Peer, thanks for taking a look. Following along because I'm in a similar boat to Ethan (I hop timezones a lot and prefer to manage my availability within Google calendar).

For example, this is my current availability setup: image

I think there are two major issues here:

1: Can there be support for infinite availability*?

*I would define infinite availability as always available when no calendar conflicts exist, without the need for my above solution.

Either by way of an explicit option OR by assuming infinite availability when all availabilities are removed.

2: What happens when you try to delete all availabilities?

The answer to this question is dependent on the answer to the one above, and is the same as the one you asked.

In either case, I think the best solution is one that prevents the booking page from breaking is the best. So if there's no interest in supporting infinite availability, I would just suggest preventing someone from deleting availabilities that are used by existing events.

chrisbenti avatar Jan 28 '23 01:01 chrisbenti

copying @emrysal here. I wonder how other scheduling tools do it.

just to get this right: how do you stop people from booking before lets say 12:00 without having an availability? do you have blocking events in your google calendar?

PeerRich avatar Jan 28 '23 22:01 PeerRich

Exactly, I maintain blocking events in my google calendar:

image

I just maintain a separate calendar exclusively for availability that cal.com is configured to consider me busy during, and then I hide that calendar most of the time.

chrisbenti avatar Jan 29 '23 01:01 chrisbenti

oh wow damn. i havent seen many people do this.

doesnt the 12:00-11:59 approach work?

PeerRich avatar Jan 29 '23 09:01 PeerRich

Edit: I was incorrect before

It seems to functionally provide everything I want, but it definitely feels like a hack; it would be great if there was a full featured "infinite availability"

In any event, there still remains the issue where it's possible to delete all of your availabilities with no warning that it breaks your booking page.

chrisbenti avatar Jan 29 '23 10:01 chrisbenti

i think its better to use the current UI as it kinda makes sense already. i think more people will be confused by "infinite availability"

PeerRich avatar Jan 29 '23 11:01 PeerRich

We no longer support removing all availabilities, if no availability is desired you can turn off all days and achieve this. But in effect this fixes this issue. Behaviour should also be better nowadays for "infinite" availability, but future improvements are possible.

emrysal avatar Jul 12 '23 22:07 emrysal