mirror of
https://github.com/block/buzz.git
synced 2026-11-12 04:12:21 +00:00
feat(profile): embed live activity feed in profile aux panel (#1380)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com> Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
@@ -167,8 +167,11 @@ function sameKindLabel(item: TranscriptItem, count: number): string {
|
||||
if (renderClass === "file-edit") {
|
||||
return `Edited ${count} file${count === 1 ? "" : "s"}`;
|
||||
}
|
||||
if (label === "Read file") return `Read ${count} files`;
|
||||
if (label === "Ran command") return `Ran ${count} commands`;
|
||||
if (renderClass === "file-read") return `Read ${count} files`;
|
||||
if (renderClass === "skill-read") {
|
||||
return `Read ${count} skill${count === 1 ? "" : "s"}`;
|
||||
}
|
||||
if (renderClass === "shell") return `Ran ${count} commands`;
|
||||
if (renderClass === "relay-op") return `Ran ${count} Buzz relay ops`;
|
||||
return `${label} ×${count}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user