mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
feat: 增加失败历史详情渲染功能,展示失败反馈信息
This commit is contained in:
@@ -331,6 +331,79 @@
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Failure History Detail */
|
||||
.failure-history-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.failure-history-item {
|
||||
padding: 0.75rem;
|
||||
background: hsl(var(--destructive) / 0.06);
|
||||
border: 1px solid hsl(var(--destructive) / 0.15);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.failure-history-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
color: hsl(var(--destructive));
|
||||
}
|
||||
|
||||
.failure-history-count {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.failure-history-timestamp {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.failure-history-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.375rem;
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
.failure-history-task,
|
||||
.failure-history-error {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
|
||||
.failure-history-message pre {
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.failure-history-stacktrace {
|
||||
margin-top: 0.375rem;
|
||||
}
|
||||
|
||||
.failure-history-stacktrace summary {
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.failure-history-stacktrace pre {
|
||||
margin: 0;
|
||||
background: hsl(var(--background));
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid hsl(var(--border));
|
||||
}
|
||||
|
||||
.detail-label-sm {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
color: hsl(var(--muted-foreground));
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
/* Priority Badges */
|
||||
.issue-priority {
|
||||
display: inline-flex;
|
||||
|
||||
Reference in New Issue
Block a user