Docs: sync booking-requests + Bookings IA + image_url after Back#59/Front#30. Fixes EventHub/EventHubSpec#12

This commit is contained in:
2026-07-27 15:21:12 +03:00
parent cc469d5698
commit 7c21fa2aef
8 changed files with 157 additions and 9 deletions
+23
View File
@@ -0,0 +1,23 @@
# Stage Popular cleanup notes
Popular / Discover empty-search feed = ratings tops (`GET /v1/search` without `q`/filters).
E2E и smoke иногда оставляют commercial-календари с рейтингами, из‑за чего лента засоряется.
## Правила
1. **Не** удалять «живые» smoke-календари пилота без явного фильтра.
2. Чистить только по безопасным маркерам (название/тег/описание содержат `e2e`, `E2E`, `playwright`, `ift-litter`, или owner = известный e2e user).
3. Soft-delete через API (`DELETE /v1/calendars/:id` владельцем / admin), не ручной wipe Mnesia.
4. Front already tracks calendars created in-session via `e2e/helpers/standCleanup.ts` — предпочитать это для новых тестов.
## Suggested filter (admin / ops)
- title/tags match: `(?i)e2e|playwright|ift-litter|tmp-`
- created recently + zero real bookings, if policy allows
- exclude calendars used by documented stage smoke accounts
## Upload / cover images
`image_url` на календаре отдаётся в search. **Upload API нет** — seed URL вручную или через admin/update поля. Discover показывает cover если URL непустой, иначе mood wash + initials.
Refs: EventHubSpec#12, EventHubBack#59, EventHubFront#30.