Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$150] Show syncing message and wait if calendar is not yet synced when scheduling interview #588

Open
@maxceem

Description

@maxceem

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.

image

When the user clicks "confirm" we have to check if the current primary l calendar has calendarId.

  • if the primary calendar has calendarId it means that the calendar is already synced so we just send a request to schedule an interview as we do now
  • if primary calendar calendarId === null it means that the calendar is not yet synced, so we have to do the next thing:

Verification

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.

  • For example, run TaaS API locally and manually changing the value in DB and reindex data to ES
  • Or create some kind of proxy and override that value in the endpoint on the fly. For example by creating proxy similar to this one recommender-proxy.zip if this possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions