This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
[$150] Show syncing message and wait if calendar is not yet synced when scheduling interview #588
Comments
@yoution @mahidulalvi-bonic feel free to pick up this issue if you could work on it during the next 24 hours. Please, note, we would have to create some way to verify it locally. If something is not clear, please, let me know. |
@maxceem, I can work on it. Seeing the message just now, how long do I have to finish this? |
@mahidulalvi-bonic 2 days would be good, or let me know how long do you think it would take for you? |
@maxceem, Monday is more ideal for me. I can work long during the weekend. Please let me know if it works. |
Ok, @mahidulalvi-bonic by Monday works for us. |
Verified in Dev 2021-12-21_14-00-30.mp4 |
Removing the milestone since this feature was disabled in the current production release #598 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We can schedule an interview with a connected Google/Microsoft calendar or without connected calendar (it would use Nyals virtual calendar internally).
When we connect Google/Microsoft calendar successfully it might still take time to sync it in the background, and until then we cannot schedule an interview. So when we schedule interview we have to check if calendar was already synced, and if no, then show loading indicator until calendar is fully synced.
When the user clicks "confirm" we have to check if the current primary l calendar has
calendarId
.calendarId
it means that the calendar is already synced so we just send a request to schedule an interview as we do nowcalendarId === null
it means that the calendar is not yet synced, so we have to do the next thing:syncing your new calendar [email protected], it might take a few minutes...
https://monosnap.com/file/To2Cl4d0d34axc6UROSXikYnXiHDYqcalendarId
is null or no) https://monosnap.com/file/4woLY2plEwzr6ADY9dj4ezeWhz0rvkcalendarId
is already not null, then hide textsyncing your new calendar [email protected], it might take a few minutes...
and show textscheduling interview...
and call request to schedule an interview as the calendar is already synced https://monosnap.com/file/KPY7Y1kHTT1M7EW7aOVm8pj96wfWEecalendarId
is stillnull
then we have repeat checking for some time:10
seconds and try getting UserMeetingSettings again and check ifcalendarId
is stillnull
or nocalendarId
is tillnull
then show message inside popup https://monosnap.com/file/jo1nGlWs8kXqk77tS6KRS9yOpuCCiyVerification
We have to verify this somehow when working locally. As this issue would happen only when we connect Google/Microsoft account the first time it would be better to find some other way for testing.
The text was updated successfully, but these errors were encountered: