файл пакета→ .shtukbase/packages/lenses/kit/examples/scenarios.lens.md
kit/examples/scenarios.lens.md
35 строк, 2.4 КБ.
- ---
- type: Lens
- title: Карта сценариев
- icon: "🎬"
- description: "Все сценарии продукта по бизнес-функциям: с какого намерения или автоматизации начинаются, какие у них ветки и общие подсценарии, куда ведут дальше"
- template: lanes
- lane: {field: function, sort: order, other: "Без функции"}
- columns:
- - {id: entry, role: entry, title: Вход, hint: намерения и автоматизации, color: green, width: 220px,
- from: [/product/intents, /product/automations], attach: [intent, feeds], card: {sub: false, chips: []}}
- - {id: main, role: main, title: Магистральные, hint: основной путь к цели, color: blue, width: 290px,
- from: /product/scenarios, where: {level: main}, sort: priority, card: {sub: actor, chips: [priority, status]}}
- - {id: branch, role: child, title: Ветки, hint: "с какого шага ответвляются", color: purple, width: 270px,
- from: /product/scenarios, where: {level: branch}, parent: extends, sortBy: extendsAt, card: {sub: extendsAt, chips: [status]}}
- side: {id: sub, title: Общие подсценарии, hint: включаются в разные сценарии, color: gray, width: 250px,
- from: /product/scenarios, where: {level: sub}, near: [includes], card: {sub: actor, chips: [status]}}
- edges:
- - {field: intent, from: main, to: entry, reverse: true, label: намерение, color: green}
- - {field: feeds, from: entry, to: main, label: питает, color: orange}
- - {field: extends, from: branch, reverse: true, label: ветка, color: purple}
- - {field: includes, to: sub, label: включает, color: gray, dash: true}
- - {field: leadsTo, from: main, to: main, label: ведёт дальше, color: blue, off: true}
- - {field: needs, label: требует, color: red, dash: true, off: true}
- - {field: configuredIn, from: entry, label: настраивается в, color: brown, dash: true, off: true}
- filters: [actor, priority, status, level]
- ---
- Собрано из [сценариев](/product/scenarios.md), [намерений](/product/intents.md) и [автоматизаций](/product/automations.md).
- Дорожка — [бизнес-функция](/business/functions.md) основного сценария (поле `function`).
- В строке слева — вход: намерение (`intent`) или автоматизация, которая питает сценарий (`feeds`).
- Справа — ветки (`extends`) по порядку шагов, с которых они ответвляются. Общие подсценарии (`includes`) — колонка справа.
- Стрелки «ведёт дальше», «требует» и «настраивается в» сначала скрыты — включите их в боковой панели.
- Фильтры там же: по роли, приоритету и состоянию.