Fixes Apple Calendar onboarding and type fixes (#988)
* Type fixes * Type fixes * Attemp to prevent unknown error in prod * Type fixes * Type fixes for onboarding * Extracts ConnectIntegration * Extracts IntegrationListItem * Extracts CalendarsList * Uses CalendarList on onboarding * Removes deprecated Alert * Extracts DisconnectIntegration * Extracts CalendarSwitch * Extracts ConnectedCalendarsList * Extracted connectedCalendar logic for reuse * Extracted SubHeadingTitleWithConnections * Type fixes * Fetched connected calendars in onboarding * Refreshes data on when adding/removing calendars on onboarding * Removed testing code * Type fixes * Feedback * Moved integration helpers * I was sleepy Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
bd99a06765
commit
85d7122e43
27 files changed
+698
-614
No files matched your search
@@ -17,7 +17,7 @@ it("can fit 24 hourly slots for an empty day", async () => {
|
||||
getSlots({
|
||||
inviteeDate: dayjs().add(1, "day"),
|
||||
frequency: 60,
|
||||
workingHours: [{ days: [...Array(7).keys()], startTime: 0, endTime: 1440 }],
|
||||
workingHours: [{ days: Array.from(Array(7).keys()), startTime: 0, endTime: 1440 }],
|
||||
organizerTimeZone: "Europe/London",
|
||||
})
|
||||
).toHaveLength(24);
|
||||
@@ -29,7 +29,7 @@ it.skip("only shows future booking slots on the same day", async () => {
|
||||
getSlots({
|
||||
inviteeDate: dayjs(),
|
||||
frequency: 60,
|
||||
workingHours: [{ days: [...Array(7).keys()], startTime: 0, endTime: 1440 }],
|
||||
workingHours: [{ days: Array.from(Array(7).keys()), startTime: 0, endTime: 1440 }],
|
||||
organizerTimeZone: "GMT",
|
||||
})
|
||||
).toHaveLength(12);
|
||||
|
||||
Reference in new issue
Block a user