[CAL-5185] Use slots not date-ranges for two weeks availability check #19371
Labels
crm-apps
area: crm apps, salesforce, hubspot, close.com, sendgrid
🧹 Improvements
Improvements to existing features. Mostly UX/UI
Medium priority
Created by Linear-GitHub Sync
For CRM contact owner and fairness filtering, we check if there is any availability within the first two weeks. If the filtered users aren't available, we fallback to the original hosts.
Currently, we do this like that in slots/util.ts:
It checks if there are any date ranges starting in that time span. However, even though there is a date range, it doesn't mean that it's enough time for an available slot. Instead, we first need to calculate available slots and then check if there is a slot starting in the timespan.
From SyncLinear.com | CAL-5185
The text was updated successfully, but these errors were encountered: