From 97f7e015b4ab34757b72dc85eb32eda8cc0856bf Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 10 Jun 2026 20:04:05 +0330 Subject: [PATCH] feature: step 2 wizard UX for working hours improved. appointment grid height increased. --- frontend/src/components/staff/workingHours.ts | 2 +- .../src/components/ui/appointments/AppointmentScheduleGrid.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/staff/workingHours.ts b/frontend/src/components/staff/workingHours.ts index 15fbd4d..87b7af7 100644 --- a/frontend/src/components/staff/workingHours.ts +++ b/frontend/src/components/staff/workingHours.ts @@ -48,7 +48,7 @@ export function formatMinuteLabel(minute: number): string { export function emptyWorkingHoursEditorDays(): WorkingHoursEditorDay[] { return WEEKDAY_LABELS.map((_, dayOfWeek) => ({ dayOfWeek, - isWorking: dayOfWeek <= 4, + isWorking: false, shifts: [{ startMinute: 9 * 60, endMinute: 17 * 60 }], })); } diff --git a/frontend/src/components/ui/appointments/AppointmentScheduleGrid.tsx b/frontend/src/components/ui/appointments/AppointmentScheduleGrid.tsx index c227b4c..4a3a0d5 100644 --- a/frontend/src/components/ui/appointments/AppointmentScheduleGrid.tsx +++ b/frontend/src/components/ui/appointments/AppointmentScheduleGrid.tsx @@ -21,7 +21,7 @@ import { purposeStyle } from '@/components/ui/appointments/appointmentPurposeSty import { AppointmentOverlapPopover } from '@/components/ui/appointments/AppointmentOverlapPopover'; import { startOfLocalDay } from '@/components/appointments/appointmentTime'; -const HOUR_PX = 40; +const HOUR_PX = 80; const SLOT_PX = (HOUR_PX * SCHEDULE_SLOT_MINUTES) / 60; function layoutBlockInRange(