cal.pub0.org/apps/web/lib
Syed Ali Shahbaz 788e2acaff
Fix for buffer not considering custom interval slots and event duration for slots when using custom intervals (#2079)
* modified buffer checks

* added custom interval consideration in getSlots fn

* further getslot call fixes

* added check for end of day availability slots

* removed debug remnants

* moved slot filtering into a function

* improved readability of code

* improved readability

* extracted getFilteredTimes outside useSlot

* added a buffer test

* added another buffer test

* edge case fix for eod availability and test fix

* removed unnecessary comments

* verbose comment

* fixed eod logic and updated expected test value

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-12 06:52:27 +00:00
..
config Fixes connectionIntegration undefined bug (#1987) 2022-02-26 12:27:52 -07:00
core Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
emails hotfix: organizer needs to confirm booking, not attendee (#2090) 2022-03-08 10:08:35 -07:00
events fix: jitsi email does not contain meeting link (#2004) 2022-03-03 09:54:19 +00:00
hooks Fix for buffer not considering custom interval slots and event duration for slots when using custom intervals (#2079) 2022-03-12 06:52:27 +00:00
integrations Fixed API call route (#2105) 2022-03-10 16:15:45 -05:00
mutations Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
queries Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
types Set buffer time before/after event type (#2015) 2022-03-04 10:19:03 +00:00
webhooks Revert "Revert "Webhooks to support event type association"" (#2033) 2022-03-02 09:24:57 -07:00
CalEventParser.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
QueryCell.tsx Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
app-providers.tsx Remove intercom from public booking pages (#1835) 2022-02-16 08:26:48 -07:00
asStringOrNull.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
auth.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
availability.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
classNames.ts Add ui package for reusable components (#1916) 2022-02-21 09:41:25 -07:00
clock.ts Detect users browser locale for time format 12/24 hours (#1900) 2022-02-23 12:37:15 +00:00
cropImage.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
crypto.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
doWorkAsync.ts [Bugfix] Booking Date Picker - First few dates are rendered fast, but later dates are all rendered in UI at once. (#1989) 2022-02-28 09:16:43 +00:00
ensureArray.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
errors.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
event.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
getPlaceholderAvatar.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
getting-started.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
integrations.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
isBrandingHidden.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
jackson.ts Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
jsonUtils.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
location.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
logger.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
member.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
notEmpty.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
notification.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
parseZone.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
prisma.ts Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
profile.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
random.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
saml.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
serverConfig.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
slots.ts Fix for buffer not considering custom interval slots and event duration for slots when using custom intervals (#2079) 2022-03-12 06:52:27 +00:00
slugify.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00
telemetry.ts Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
timeFormat.ts Detect users browser locale for time format 12/24 hours (#1900) 2022-02-23 12:37:15 +00:00
trpc.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
videoClient.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
webhook.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00