refactor: add conversation ID display to conversation info panel and update translations

This commit is contained in:
mlogclub
2026-07-25 12:28:43 +08:00
parent 6316c2b94f
commit e4ad83dc20
4 changed files with 15 additions and 1 deletions
+6 -1
View File
@@ -106,7 +106,12 @@ export default function DashboardAIAgentsPage() {
<div className="flex size-10 items-center justify-center rounded-md bg-muted text-muted-foreground">
<BotMessageSquareIcon className="size-4" />
</div>
<div className="font-medium">{item.name}</div>
<div>
<div className="font-medium">{item.name}</div>
<div className="font-mono text-xs text-muted-foreground">
Agent ID: {item.id}
</div>
</div>
</div>
),
},
@@ -255,6 +255,13 @@ export function ConversationInfoPanel({
</p>
) : (
<div className="space-y-4 py-3">
<section>
<DetailRow
label={t("conversation.conversationId")}
value={`${conversation.id}`}
valueClassName="font-mono text-xs"
/>
</section>
<CustomerBody conversation={conversation} />
<WorkflowRunsSection conversation={conversation} />
</div>
+1
View File
@@ -297,6 +297,7 @@
"missingCustomerDescription": "The customer profile linked to this conversation is no longer available. Link an existing customer again, or create a new one and attach it to this conversation.",
"relinkOrCreateCustomer": "Relink or Create Customer",
"conversationOwner": "Conversation Ownership",
"conversationId": "Conversation ID",
"channelId": "Channel ID",
"customerId": "Customer ID",
"selectConversationForInfo": "Select a conversation to view its details",
+1
View File
@@ -297,6 +297,7 @@
"missingCustomerDescription": "当前会话绑定的客户主档已不可用。你可以重新关联已有客户,或直接新建一个客户并绑定到当前会话。",
"relinkOrCreateCustomer": "重新关联或创建客户",
"conversationOwner": "会话归属",
"conversationId": "会话 ID",
"channelId": "渠道ID",
"customerId": "客户ID",
"selectConversationForInfo": "请选择会话以查看会话信息",