ShtukbaseStandard
файл пакета→ .shtukbase/packages/lenses/kit/examples/scenarios.lens.md

kit/examples/scenarios.lens.md

35 строк, 2.4 КБ.

  1. ---
  2. type: Lens
  3. title: Карта сценариев
  4. icon: "🎬"
  5. description: "Все сценарии продукта по бизнес-функциям: с какого намерения или автоматизации начинаются, какие у них ветки и общие подсценарии, куда ведут дальше"
  6. template: lanes
  7. lane: {field: function, sort: order, other: "Без функции"}
  8. columns:
  9. - {id: entry, role: entry, title: Вход, hint: намерения и автоматизации, color: green, width: 220px,
  10. from: [/product/intents, /product/automations], attach: [intent, feeds], card: {sub: false, chips: []}}
  11. - {id: main, role: main, title: Магистральные, hint: основной путь к цели, color: blue, width: 290px,
  12. from: /product/scenarios, where: {level: main}, sort: priority, card: {sub: actor, chips: [priority, status]}}
  13. - {id: branch, role: child, title: Ветки, hint: "с какого шага ответвляются", color: purple, width: 270px,
  14. from: /product/scenarios, where: {level: branch}, parent: extends, sortBy: extendsAt, card: {sub: extendsAt, chips: [status]}}
  15. side: {id: sub, title: Общие подсценарии, hint: включаются в разные сценарии, color: gray, width: 250px,
  16. from: /product/scenarios, where: {level: sub}, near: [includes], card: {sub: actor, chips: [status]}}
  17. edges:
  18. - {field: intent, from: main, to: entry, reverse: true, label: намерение, color: green}
  19. - {field: feeds, from: entry, to: main, label: питает, color: orange}
  20. - {field: extends, from: branch, reverse: true, label: ветка, color: purple}
  21. - {field: includes, to: sub, label: включает, color: gray, dash: true}
  22. - {field: leadsTo, from: main, to: main, label: ведёт дальше, color: blue, off: true}
  23. - {field: needs, label: требует, color: red, dash: true, off: true}
  24. - {field: configuredIn, from: entry, label: настраивается в, color: brown, dash: true, off: true}
  25. filters: [actor, priority, status, level]
  26. ---
  27. Собрано из [сценариев](/product/scenarios.md), [намерений](/product/intents.md) и [автоматизаций](/product/automations.md).
  28. Дорожка — [бизнес-функция](/business/functions.md) основного сценария (поле `function`).
  29. В строке слева — вход: намерение (`intent`) или автоматизация, которая питает сценарий (`feeds`).
  30. Справа — ветки (`extends`) по порядку шагов, с которых они ответвляются. Общие подсценарии (`includes`) — колонка справа.
  31. Стрелки «ведёт дальше», «требует» и «настраивается в» сначала скрыты — включите их в боковой панели.
  32. Фильтры там же: по роли, приоритету и состоянию.