(step)
| 258 | } |
| 259 | |
| 260 | function stepTitle(step) { |
| 261 | let title = `${step.actor}.${step.title}(${step.args ? step.args.join(',') : ''})` |
| 262 | if (title.length > 100) title = `${title.substring(0, 100)}...` |
| 263 | return title |
| 264 | } |
| 265 | |
| 266 | function buildSrt(steps) { |
| 267 | const sorted = Object.values(steps).sort((a, b) => a.startedAt - b.startedAt) |