优化 Agent 过程展示,增加时间格式化和状态管理

This commit is contained in:
2026-05-13 17:43:06 +08:00
parent 536cd6a5d1
commit a4486e3d89
7 changed files with 249 additions and 41 deletions
+2 -1
View File
@@ -317,6 +317,7 @@ export const AgentHistoryPanel = ({
<Dialog
open={isDeleteDialogOpen}
onClose={() => setIsDeleteDialogOpen(false)}
sx={{ zIndex: (theme) => theme.zIndex.modal + 200 }}
TransitionProps={{
onExited: () => setPendingDeleteSessionId(null)
}}
@@ -346,7 +347,7 @@ export const AgentHistoryPanel = ({
>
<WarningRounded sx={{ fontSize: 22 }} />
</Box>
<Typography variant="h6" fontWeight={800} color="text.primary">
<Typography component="span" variant="h6" fontWeight={800} color="text.primary">
</Typography>
</DialogTitle>