(key: string, verb: string, body: React.ReactNode)
| 297 | |
| 298 | // Git operations lead the line — they're the load-bearing outcome. |
| 299 | function pushPart(key: string, verb: string, body: React.ReactNode): void { |
| 300 | const isFirst = nonMemParts.length === 0; |
| 301 | if (!isFirst) nonMemParts.push(<Text key={`comma-${key}`}>, </Text>); |
| 302 | nonMemParts.push(<Text key={key}> |
| 303 | {isFirst ? verb[0]!.toUpperCase() + verb.slice(1) : verb} {body} |
| 304 | </Text>); |
| 305 | } |
| 306 | if (isFullscreenEnvEnabled() && message.commits?.length) { |
| 307 | const byKind = { |
| 308 | committed: 'committed', |
no test coverage detected