feature: step 2 wizard UX for working hours improved. appointment grid height increased.

This commit is contained in:
2026-06-10 20:04:05 +03:30
parent 48ecfd05e1
commit 97f7e015b4
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ export function formatMinuteLabel(minute: number): string {
export function emptyWorkingHoursEditorDays(): WorkingHoursEditorDay[] { export function emptyWorkingHoursEditorDays(): WorkingHoursEditorDay[] {
return WEEKDAY_LABELS.map((_, dayOfWeek) => ({ return WEEKDAY_LABELS.map((_, dayOfWeek) => ({
dayOfWeek, dayOfWeek,
isWorking: dayOfWeek <= 4, isWorking: false,
shifts: [{ startMinute: 9 * 60, endMinute: 17 * 60 }], shifts: [{ startMinute: 9 * 60, endMinute: 17 * 60 }],
})); }));
} }

View File

@@ -21,7 +21,7 @@ import { purposeStyle } from '@/components/ui/appointments/appointmentPurposeSty
import { AppointmentOverlapPopover } from '@/components/ui/appointments/AppointmentOverlapPopover'; import { AppointmentOverlapPopover } from '@/components/ui/appointments/AppointmentOverlapPopover';
import { startOfLocalDay } from '@/components/appointments/appointmentTime'; import { startOfLocalDay } from '@/components/appointments/appointmentTime';
const HOUR_PX = 40; const HOUR_PX = 80;
const SLOT_PX = (HOUR_PX * SCHEDULE_SLOT_MINUTES) / 60; const SLOT_PX = (HOUR_PX * SCHEDULE_SLOT_MINUTES) / 60;
function layoutBlockInRange( function layoutBlockInRange(