[598][@ant] feat(harness,docs): магистраль II — Offer создан → одобрен → виден в каталоге

Прогон цепочки через harness:
1. offerer/offer-create — Сидоров публикует «Картофель Адретта 25 кг»
2. chairman/offer-moderation — председатель одобряет → ACTIVE
3. orderer/catalog — Петрова видит offer в каталоге
4. offerer/my-offers — Сидоров видит свой offer в статусе ACTIVE

Также фикс meta пути в scenarios/marketplace/chairman/offer-moderation.mjs:
docPath/assetsDir указывали в new/marketplace/board/, что создавало дубль при
каждом install — теперь канон-путь new/marketplace/chairman/offer-moderation.
PNG перенесены в правильный каталог assets/.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ant
2026-05-22 05:53:42 +00:00
parent 82db8eefcb
commit 2db39b56bf
10 changed files with 8 additions and 2 deletions
@@ -8,8 +8,8 @@ import { cleanViteOverlays, env, loginAsChairman } from '../../../lib/harness.mj
export const meta = {
title: 'Стол председателя — модерация предложений',
docPath: 'new/marketplace/board/offer-moderation.md',
assetsDir: 'assets/new/marketplace/board/offer-moderation',
docPath: 'new/marketplace/chairman/offer-moderation.md',
assetsDir: 'assets/new/marketplace/chairman/offer-moderation',
role: 'chairman',
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 88 KiB

@@ -5,6 +5,12 @@ tags:
# Модерация предложений
![Очередь Предложений на модерации](/assets/new/marketplace/chairman/offer-moderation/01-moderation-list.png)
![Диалог подтверждения одобрения](/assets/new/marketplace/chairman/offer-moderation/02-moderation-confirm-dialog.png)
![Лента после одобрения](/assets/new/marketplace/chairman/offer-moderation/03-moderation-after-approve.png)
Каждое опубликованное поставщиком Предложение проходит ручную модерацию председателем кооператива. Без одобрения Предложение не попадает в [каталог витрины][catalog].
## Зачем модерация