Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/chat/TimelinePendingApprovalRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const TimelinePendingApprovalRow = memo(function TimelinePendingApprovalR
<div className="flex flex-wrap items-center gap-x-2 gap-y-1">
{canRespond ? (
<>
<span className="inline-flex items-center gap-1 text-warning">
<span className="inline-flex items-center gap-1 text-warning-foreground">
<ShieldIcon aria-hidden className="size-3 shrink-0" />
<T>Waiting for approval</T>
</span>
Expand All @@ -106,7 +106,7 @@ export const TimelinePendingApprovalRow = memo(function TimelinePendingApprovalR
) : null}
</>
) : (
<span className="text-warning">
<span className="text-warning-foreground">
<T>Provider process is gone. Interrupt or restart the run to respond.</T>
</span>
)}
Expand Down
18 changes: 12 additions & 6 deletions apps/web/src/components/chat/TimelineWorkEntryRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,18 @@ function WorkEntryLogRow(props: WorkEntryRowProps) {
wrapLabel
icon={
<CircleAlertIcon
className={cn("size-4", warning ? "text-warning" : "text-destructive")}
className={cn(
"size-4",
warning ? "text-warning-foreground" : "text-destructive-foreground",
)}
/>
}
label={
<span
className={cn("text-sm font-medium", warning ? "text-warning" : "text-destructive")}
className={cn(
"text-sm font-medium",
warning ? "text-warning-foreground" : "text-destructive-foreground",
)}
>
{label}
</span>
Expand Down Expand Up @@ -480,19 +486,19 @@ function WorkEntryLogRow(props: WorkEntryRowProps) {
const iconWrapperClass = cn(
"flex size-4 items-center justify-center",
showWarningIndicator
? "text-warning"
? "text-warning-foreground"
: showDestructiveRowStyle
? "text-destructive"
? "text-destructive-foreground"
: showFailedIndicator
? failedToolIconClassName
: workEntry.tone === "tool"
? "text-icon-muted"
: iconConfig.className,
);
const headingClass = showWarningIndicator
? "font-medium text-warning"
? "font-medium text-warning-foreground"
: showDestructiveRowStyle
? "font-medium text-destructive"
? "font-medium text-destructive-foreground"
: workLogEntryIsToolLike(workEntry)
? "text-secondary-label"
: "text-foreground/80";
Expand Down
7 changes: 5 additions & 2 deletions apps/web/src/components/chat/V2LifecycleRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ function SubagentTimelineLink(props: {
<span
className={cn(
"block text-2xs leading-relaxed",
failed ? "text-destructive" : "text-muted-foreground",
failed ? "text-destructive-foreground" : "text-muted-foreground",
)}
>
{detail === null ? (
Expand All @@ -518,7 +518,10 @@ function SubagentTimelineLink(props: {
</span>
{detail !== null && (props.event !== undefined || status !== "completed") ? (
<span
className={cn("shrink-0 text-xs", failed ? "text-destructive" : "text-muted-foreground")}
className={cn(
"shrink-0 text-xs",
failed ? "text-destructive-foreground" : "text-muted-foreground",
)}
>
{statusLabel}
</span>
Expand Down
Loading