feat: Improving Booking Visibility at Month-End (#22770)
* remove first weeks and add last * fix added last week * prefetch availability of next month * don't switch month * On hover show month * only show new UI in monthly view * show month tooldtip only when needed * show month on first day of month * remove isFirstDayOfNextMonth * fix prefetching next month * fix datePicker tests * preventMonthSwitching in monthly view * add tests * code clean up * code clean up * code clena up for ooo days * push first day of month * remove bg color for the month badge * fix text colour * remove not needed * use object param * revert: use object param * use object param * fix DatePicker tests --------- Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: Sean Brydon <[email protected]> Co-authored-by: Eunjae Lee <[email protected]>
This commit is contained in:
8 files changed
+278
-41
No files matched your search
@@ -359,11 +359,11 @@ const EmailEmbed = ({
|
||||
<DatePicker
|
||||
isLoading={schedule.isPending}
|
||||
onChange={(date: Dayjs | null) => {
|
||||
setSelectedDate(date === null ? date : date.format("YYYY-MM-DD"));
|
||||
setSelectedDate({ date: date === null ? date : date.format("YYYY-MM-DD") });
|
||||
}}
|
||||
onMonthChange={(date: Dayjs) => {
|
||||
setMonth(date.format("YYYY-MM"));
|
||||
setSelectedDate(date.format("YYYY-MM-DD"));
|
||||
setSelectedDate({ date: date.format("YYYY-MM-DD") });
|
||||
}}
|
||||
includedDates={nonEmptyScheduleDays}
|
||||
locale={i18n.language}
|
||||
|
||||
Reference in new issue
Block a user