calcom/apps/web/components
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
..
auth Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
booking 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
dialog fixed dialog button on mobile (#1995) 2022-02-27 21:03:56 +00:00
error Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
eventtype Added named dialog to replace new=1 (#2076) 2022-03-06 23:06:18 +00:00
form Runs prettier 2022-02-10 14:22:45 -07:00
integrations Radix UI Switch (#2075) 2022-03-11 00:26:42 +00:00
pages/eventtypes fixed tablet view of event-types (#2098) 2022-03-09 22:17:46 +00:00
security Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
seo Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
team fixed tablet view of event-types (#2098) 2022-03-09 22:17:46 +00:00
ui Radix UI Switch (#2075) 2022-03-11 00:26:42 +00:00
webhook Radix UI Switch (#2075) 2022-03-11 00:26:42 +00:00
AddToHomescreen.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
BookingsShell.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ClientSuspense.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
CustomBranding.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
DestinationCalendarSelector.tsx Runs prettier 2022-02-10 14:22:45 -07:00
Dialog.tsx Added named dialog to replace new=1 (#2076) 2022-03-06 23:06:18 +00:00
EmptyScreen.tsx Runs prettier 2022-02-10 14:22:45 -07:00
I18nLanguageHandler.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ImageUploader.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
List.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Loader.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
Logo.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
NavTabs.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
SettingsShell.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Shell.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
Slider.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Swatch.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Tooltip.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00