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

Auto-Connect Calendar

Open shirazdole opened this issue 3 years ago • 13 comments

Is your proposal related to a problem?

When a calendar is disconnected, users are sent an email for them to reconnect their calendar. 65bc-356b-3153-03fbf301b653

Users then have to navigate to their cal account, to their integrations, and then reconnect the calendar. They also then have to reconnect each calendar that calendar was connected to - to the event types in advance settings.

Describe the solution you'd like

What we can do is a “Reconnect button” that takes you to the auth flow again instead of “Disconnect” and then “Connect” again. This should also automatically reconnect the calendars that were connected to the event types previously (currently when we have to disconnect and reconnect a calendar, that calendar gets removed from all event types it was connected to.)

It would be great to also have a flag notification next to event types that do not have a calendar connected to them. It's hard to know if a calendar is actually connected or not unless you navigate to the advance settings. This feels pretty important as well.

Describe alternatives you've considered

(Write your answer here.)

Additional context

(Write your answer here.)

shirazdole avatar Jul 28 '22 23:07 shirazdole

cc @Jaibles thoughts on this portion: "It would be great to also have a flag notification next to event types that do not have a calendar connected to them. It's hard to know if a calendar is actually connected or not unless you navigate to the advance settings. This feels pretty important as well."

shirazdole avatar Jul 28 '22 23:07 shirazdole

cc @Jaibles thoughts on this portion: "It would be great to also have a flag notification next to event types that do not have a calendar connected to them. It's hard to know if a calendar is actually connected or not unless you navigate to the advance settings. This feels pretty important as well."

in general when an event-type has an issue. we could have a red flag / warning icon with a tool tip that says whats wrong

PeerRich avatar Jul 29 '22 13:07 PeerRich

@shirazdole @PeerRich I created small proposal how could like such a warning icon for this case https://github.com/calcom/cal.com/pull/3627

image

dezerb avatar Aug 01 '22 14:08 dezerb

@shirazdole @PeerRich I created small proposal how could like such a warning icon for this case #3627

image

We already have a way to communicate extra information about the state of an event type. Maybe we can reuse it: image

Something like: image

leog avatar Aug 01 '22 14:08 leog

@leog such a solution is even less complicated, I pushed update to PR (with both solutions)

image

dezerb avatar Aug 01 '22 14:08 dezerb

@dezerb this looks great! cc @Jaibles

shirazdole avatar Aug 01 '22 19:08 shirazdole

@dezerb great work 👏 can we add an icon to it? CleanShot 2022-08-02 at 18 58 52@2x

ciaranha avatar Aug 02 '22 17:08 ciaranha

They also then have to reconnect each calendar that calendar was connected to - to the event types in advance settings.

So I assume this is just for calendars for which the default calendar was overriden right? The other will be automatically reconnected when you reconnect?

ciaranha avatar Aug 02 '22 18:08 ciaranha

Correct, so if cal.com/shiraz/15min had [email protected] connected ( but that had to be disconnected and reconnected) then yes that should automatically get appended back to that event type rather than leave it blank (as it is now) but say cal.com/shiraz/30min had [email protected] - that would just stay as is and not need to be touched

Did that answer your question?

shirazdole avatar Aug 02 '22 18:08 shirazdole

Probably I am missing something.

I just tested the behaviour when no calendar is selected in the event type. The booking is still created according to this configuration in App. Screenshot 2022-08-03 at 10 26 11 AM

So, it seems that the calendar is always there to create events on, it is just not explicitly specified in event type.

Now, if that calendar connection is actually working or not is a separate problem

hariombalhara avatar Aug 03 '22 04:08 hariombalhara

So, it seems that the calendar is always there to create events on, it is just not explicitly specified in event type.

Ooooh I didn't know this, that's a great point if that is the case. I think for consistency and clearness, it should be shown in the event type as is as well, but good to know the events will still be created!

shirazdole avatar Aug 03 '22 18:08 shirazdole

in that case, best would be to just show the default there? the one that is set in calendar settings. so the "create event on" is not empty, but just shows the default calendar

PeerRich avatar Aug 04 '22 18:08 PeerRich

Yes! That would be great. ᐧ

shirazdole avatar Aug 04 '22 21:08 shirazdole