From 9dfc4f009702181eabe2de6dbcf60067516de316 Mon Sep 17 00:00:00 2001 From: Aleksey Sabilin Date: Wed, 29 Jul 2026 22:10:07 +0300 Subject: [PATCH] docs: note Front#43 mergeExpandedWithMasters for duty overlay Refs EventHub/EventHubFront#43 --- EventHubFrontSpec.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EventHubFrontSpec.md b/EventHubFrontSpec.md index cd4be74..68c349d 100644 --- a/EventHubFrontSpec.md +++ b/EventHubFrontSpec.md @@ -223,8 +223,9 @@ cover (`.eh-discover-media--photo`); иначе mood wash + initials (`.eh-disco слоты commercial, где `event.specialist_id` = текущий user. Gate: accepted invites (`GET /v1/user/specialist-invites`) → unique `calendar_id` → active specialist (`GET /v1/calendars/:id/specialists`) → list events viewport. Title `событие · студия`; - клик → `/c/:commercialId/e/:eventId`. Legacy specialist без invite-записи — вне MVP. - Не зеркалить чужой roster на personal owner. + клик → `/c/:commercialId/e/:eventId`. Back expand virtuals без `specialist_id` — + Front мержит masters + expand (`mergeExpandedWithMasters`) перед фильтром. + Legacy specialist без invite-записи — вне MVP. Не зеркалить чужой roster на personal owner. - Статусы: `pending` | `confirmed` | `cancelled` | `expired`; confirmation: `auto` | `manual` | timeout. Past+pending / `expired` в «Мои записи» и на `EventActionCard` — бейдж «истекла», Cancel скрыт. На past-событии Book скрыт. Defensive: если API ещё отдал past