| 815 | // Screens view's idiom — and the sites whose status cannot be read share |
| 816 | // one `response` box labelled by the call. |
| 817 | const effectSub = (e: NonNullable<WireStep['effect']>, by: Node): string => |
| 818 | [e.category, e.model, e.access, by.name].filter((x): x is string => !!x).join(' · '); |
| 819 | const effectStep = (by: Node, ref: { referenceName: string; line: number }, effect: Effect, depth: number, status: number | null = null): StepRecord | null => { |
| 820 | const category = effect.category; |
| 821 | const id = status !== null ? `effect:${by.id}:${category}:${status}` : `effect:${by.id}:${category}`; |