(root: TouchedComponentInfo, label?: string)
| 129 | } |
| 130 | |
| 131 | function getTapIdentity(root: TouchedComponentInfo, label?: string): string { |
| 132 | const base = `name:${root.name ?? ''}|file:${root.file ?? ''}`; |
| 133 | if (label) { |
| 134 | return `label:${label}|${base}`; |
| 135 | } |
| 136 | return base; |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Build a human-readable message matching the touch breadcrumb format. |