Fixed an issue where media manager only shows files uploaded in specific sections.

Fixed an issue with icon picker names.

Removed jumbo rounding and a few other style tweaks.
This commit is contained in:
Stefan Lazic committed 2026-08-05 09:25:59 +01:00
1 parent 9e39908ea7
commit d3bbad09c6
74 files changed
+1622 -195

No files matched your search

+15 -3
View File
@@ -546,7 +546,19 @@ async function main() {
},
});
// Leo: checked in, about to start — Current Appointment tier 2.
// Leo: checked in today — Current Appointment tier 2 (owner-journeys.spec.ts
// journey 10 also depends on this being CHECKED_IN + "today", see below).
// Fixed at 11:00, not minutesFromNow — selectCurrentAppointment's tier-2
// branch (appointment.service.ts) picks a CHECKED_IN row by status alone,
// never by clock time, so there was never a need to anchor this to "right
// now". Anchoring it that way was actively harmful: whenever the seed ran
// outside Leo's own 10:00-19:00 working hours (e.g. early morning), this
// appointment landed outside those hours too, which made
// findWorkingHoursConflicts (staff.service.ts) correctly-but-unhelpfully
// flag a conflict for *any* working-hours save Leo made that day —
// including ones that never touched this appointment's own weekday. A
// fixed time inside his working hours removes that time-of-day flakiness
// entirely.
await prisma.appointment.upsert({
where: { id: `${business.id}-appt-today-checkedin` },
update: {},
@@ -561,8 +573,8 @@ async function main() {
customerId: secondCustomer.id,
staffId: leo.id,
status: "CHECKED_IN",
startAt: minutesFromNow(5),
endAt: minutesFromNow(5 + haircut.durationMinutes),
startAt: daysFromNow(0, 11, 0),
endAt: daysFromNow(0, 11, haircut.durationMinutes),
services: {
create: [{ serviceId: haircut.id, priceAtBooking: haircut.price, durationAtBookingMinutes: haircut.durationMinutes }],
},