From 220023f403e1f0758f292e1230547a362259674e Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Wed, 31 May 2023 14:30:09 +0200 Subject: [PATCH] feat(UI): improvements booker (#9221) * Changed background from muted to default * Improved skelleton color for loading states. Also prevented scrollbar in available timeslots loading state by showing less skeletons. * Moved description to top, above other event meta, since this block doesnt have an icon and looks better this way. --- packages/features/bookings/Booker/Booker.tsx | 4 ++-- .../features/bookings/Booker/components/EventMeta.tsx | 7 ++++++- .../bookings/Booker/components/LargeCalendar.tsx | 2 +- .../bookings/Booker/components/Unavailable.tsx | 2 +- .../features/bookings/components/AvailableTimes.tsx | 6 +++--- .../bookings/components/event-meta/Details.tsx | 11 ----------- packages/features/bookings/types.ts | 1 - packages/features/calendars/DatePicker.tsx | 2 +- packages/ui/components/skeleton/index.tsx | 4 ++-- 9 files changed, 16 insertions(+), 23 deletions(-) diff --git a/packages/features/bookings/Booker/Booker.tsx b/packages/features/bookings/Booker/Booker.tsx index 281b06c3ba..a85b5468f9 100644 --- a/packages/features/bookings/Booker/Booker.tsx +++ b/packages/features/bookings/Booker/Booker.tsx @@ -103,7 +103,7 @@ const BookerComponent = ({ since that's not a valid option, so it would set the layout to null. */} {!isMobile && ( -
+
diff --git a/packages/features/bookings/Booker/components/EventMeta.tsx b/packages/features/bookings/Booker/components/EventMeta.tsx index 71315cc028..405d920072 100644 --- a/packages/features/bookings/Booker/components/EventMeta.tsx +++ b/packages/features/bookings/Booker/components/EventMeta.tsx @@ -35,7 +35,12 @@ export const EventMeta = () => { {!isLoading && !!event && ( - {event?.title} + {event?.title} + {event.description && ( + +
+ + )}
{rescheduleBooking && ( diff --git a/packages/features/bookings/Booker/components/LargeCalendar.tsx b/packages/features/bookings/Booker/components/LargeCalendar.tsx index 155e9c6a94..9a2e2a668d 100644 --- a/packages/features/bookings/Booker/components/LargeCalendar.tsx +++ b/packages/features/bookings/Booker/components/LargeCalendar.tsx @@ -11,7 +11,7 @@ export const LargeCalendar = () => { ); return ( -
+
Something big is coming...