Open maxceem opened 2 years ago
@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.
Removing the milestone since this feature was disabled in the current production release https://github.com/topcoder-platform/taas-app/issues/598
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 calendar@email.address, 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 calendar@email.address, 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.