(t0)
| 388 | return t1; |
| 389 | } |
| 390 | function GenericTaskStatus(t0) { |
| 391 | const $ = _c(9); |
| 392 | const { |
| 393 | attachment |
| 394 | } = t0; |
| 395 | const bg = useSelectedMessageBg(); |
| 396 | const statusText = attachment.status === "completed" ? "completed in background" : attachment.status === "killed" ? "stopped" : attachment.status === "running" ? "still running in background" : attachment.status; |
| 397 | let t1; |
| 398 | if ($[0] === Symbol.for("react.memo_cache_sentinel")) { |
| 399 | t1 = <Text dimColor={true}>{BLACK_CIRCLE} </Text>; |
| 400 | $[0] = t1; |
| 401 | } else { |
| 402 | t1 = $[0]; |
| 403 | } |
| 404 | let t2; |
| 405 | if ($[1] !== attachment.description) { |
| 406 | t2 = <Text bold={true}>{attachment.description}</Text>; |
| 407 | $[1] = attachment.description; |
| 408 | $[2] = t2; |
| 409 | } else { |
| 410 | t2 = $[2]; |
| 411 | } |
| 412 | let t3; |
| 413 | if ($[3] !== statusText || $[4] !== t2) { |
| 414 | t3 = <Text dimColor={true}>Task "{t2}" {statusText}</Text>; |
| 415 | $[3] = statusText; |
| 416 | $[4] = t2; |
| 417 | $[5] = t3; |
| 418 | } else { |
| 419 | t3 = $[5]; |
| 420 | } |
| 421 | let t4; |
| 422 | if ($[6] !== bg || $[7] !== t3) { |
| 423 | t4 = <Box flexDirection="row" width="100%" marginTop={1} backgroundColor={bg}>{t1}{t3}</Box>; |
| 424 | $[6] = bg; |
| 425 | $[7] = t3; |
| 426 | $[8] = t4; |
| 427 | } else { |
| 428 | t4 = $[8]; |
| 429 | } |
| 430 | return t4; |
| 431 | } |
| 432 | function TeammateTaskStatus(t0) { |
| 433 | const $ = _c(16); |
| 434 | const { |
nothing calls this directly
no test coverage detected