🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🔥 refactor(agentTasks): drop run summary/output labels on TopicCard (#19082)
Arvin Xu9e1c4f56827d
diff --git a/locales/en-US/chat.json b/locales/en-US/chat.jsonindex b82c29f236c..c1c07a0cfab 100644--- a/locales/en-US/chat.json+++ b/locales/en-US/chat.json@@ -1615,8 +1615,6 @@"taskDetail.replyInThread": "Reply in this thread","taskDetail.replyPlaceholder": "Reply in this thread...","taskDetail.rerunTask": "Re-run task",- "taskDetail.run.outputLabel": "Run output",- "taskDetail.run.summaryLabel": "Run summary","taskDetail.runAll": "Run all","taskDetail.runAll.cancel": "Cancel","taskDetail.runAll.confirm": "Run {{count}} subtask(s)",diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.jsonindex ee313272c93..6475355a89a 100644--- a/locales/zh-CN/chat.json+++ b/locales/zh-CN/chat.json@@ -1615,8 +1615,6 @@"taskDetail.replyInThread": "在此对话中回复","taskDetail.replyPlaceholder": "在此对话中回复…","taskDetail.rerunTask": "重新运行",- "taskDetail.run.outputLabel": "运行输出",- "taskDetail.run.summaryLabel": "运行摘要","taskDetail.runAll": "全部运行","taskDetail.runAll.cancel": "取消","taskDetail.runAll.confirm": "运行 {{count}} 个子任务",diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.tsindex e6a80615fe4..0de883525ca 100644--- a/packages/locales/src/default/chat.ts+++ b/packages/locales/src/default/chat.ts@@ -1635,8 +1635,6 @@ export default {'taskDetail.topicMenu.stopConfirm.content':'The current run will be canceled. Generated messages are kept and you can re-run the task later.','taskDetail.topicMenu.stopConfirm.title': 'Stop Run?',- 'taskDetail.run.outputLabel': 'Run output',- 'taskDetail.run.summaryLabel': 'Run summary','taskDetail.runTrigger.goal': 'Goal loop','taskDetail.runTrigger.heartbeat': 'Heartbeat','taskDetail.runTrigger.schedule': 'Scheduled',diff --git a/src/features/AgentTasks/AgentTaskDetail/TopicCard.tsx b/src/features/AgentTasks/AgentTaskDetail/TopicCard.tsxindex 92a4a38ddc4..1243b7e96be 100644--- a/src/features/AgentTasks/AgentTaskDetail/TopicCard.tsx+++ b/src/features/AgentTasks/AgentTaskDetail/TopicCard.tsx@@ -360,29 +360,15 @@ const TopicCard = memo<TopicCardProps>(({ activity, defaultExpanded = true }) =>{hasBody && bodyExpanded && (<Flexbox gap={8} paddingInline={4}>- {/* Both blocks carry a label naming what they are — an unlabeled blob- of model output reads as page noise, not as the run's record. */}{activity.summary && (- <Flexbox gap={2}>- <Text fontSize={12} style={{ color: cssVar.colorTextTertiary }}>- {t('taskDetail.run.summaryLabel')}- </Text>- <Text- fontSize={13}- style={{ color: cssVar.colorTextDescription, whiteSpace: 'pre-wrap' }}- >- {activity.summary}- </Text>- </Flexbox>- )}- {activity.content && (- <Flexbox gap={2}>- <Text fontSize={12} style={{ color: cssVar.colorTextTertiary }}>- {t('taskDetail.run.outputLabel')}- </Text>- <RunContent content={activity.content} />- </Flexbox>+ <Text+ fontSize={13}+ style={{ color: cssVar.colorTextDescription, whiteSpace: 'pre-wrap' }}+ >+ {activity.summary}+ </Text>)}+ {activity.content && <RunContent content={activity.content} />}{/* The verdict's evidence, next to the delivery it judged — readingone should never require leaving for the acceptance page. */}{activity.verify && (