Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/chat/ApprovalRequestCard.tsx,app/src/components/chat/FlowApp

Steven Enamakeldde96248883c
diff --git a/app/src/components/chat/ApprovalRequestCard.tsx b/app/src/components/chat/ApprovalRequestCard.tsx
index 51dfb5a91e..0ef704c87e 100644
--- a/app/src/components/chat/ApprovalRequestCard.tsx
+++ b/app/src/components/chat/ApprovalRequestCard.tsx
@@ -85,7 +85,7 @@ const ApprovalRequestCard: React.FC<Props> = ({ threadId, approval }) => {
</span>
</p>
- {errorMsg && <p className="mt-2 text-xs text-coral">⚠ {errorMsg}</p>}
+ {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/chat/FlowApprovalRequestCard.tsx b/app/src/components/chat/FlowApprovalRequestCard.tsx
index ff0c17afc1..5059710c3e 100644
--- a/app/src/components/chat/FlowApprovalRequestCard.tsx
+++ b/app/src/components/chat/FlowApprovalRequestCard.tsx
@@ -110,7 +110,7 @@ export const FlowApprovalRequestCard: React.FC<Props> = ({ request, onResolved }
<span className="font-mono text-amber-950 dark:text-amber-100">{request.flow_id}</span>
</p>
- {errorMsg && <p className="mt-2 text-xs text-coral">⚠ {errorMsg}</p>}
+ {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
</>
}
actions={actions}
diff --git a/app/src/components/chat/WorkflowProposalCard.tsx b/app/src/components/chat/WorkflowProposalCard.tsx
index bfee1bfa51..5527c8e600 100644
--- a/app/src/components/chat/WorkflowProposalCard.tsx
+++ b/app/src/components/chat/WorkflowProposalCard.tsx
@@ -376,7 +376,7 @@ const WorkflowProposalCard: React.FC<Props> = ({ threadId, proposal, onSaved })
</p>
)}
- {errorMsg && <p className="mt-2 text-xs text-coral">⚠ {errorMsg}</p>}
+ {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/flows/FlowPreauthorizationCard.tsx b/app/src/components/flows/FlowPreauthorizationCard.tsx
index 60e568aa16..c71e5b4e8d 100644
--- a/app/src/components/flows/FlowPreauthorizationCard.tsx
+++ b/app/src/components/flows/FlowPreauthorizationCard.tsx
@@ -92,7 +92,7 @@ export const FlowPreauthorizationCard: React.FC<Props> = ({
})}
</ul>
- {errorMsg && <p className="mt-2 text-xs text-coral">⚠ {errorMsg}</p>}
+ {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/flows/SuggestedWorkflows.tsx b/app/src/components/flows/SuggestedWorkflows.tsx
index 13aebae2cd..434454da62 100644
--- a/app/src/components/flows/SuggestedWorkflows.tsx
+++ b/app/src/components/flows/SuggestedWorkflows.tsx
@@ -273,7 +273,7 @@ export default function SuggestedWorkflows() {
</div>
{error && (
- <p className="mt-2 text-xs text-coral" data-testid="flow-suggestions-error">
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400" data-testid="flow-suggestions-error">
{error}
</p>
)}
diff --git a/app/src/components/flows/WorkflowCopilotPanel.tsx b/app/src/components/flows/WorkflowCopilotPanel.tsx
index 45b630d538..9055fd4f24 100644
--- a/app/src/components/flows/WorkflowCopilotPanel.tsx
+++ b/app/src/components/flows/WorkflowCopilotPanel.tsx
@@ -544,7 +544,7 @@ export default function WorkflowCopilotPanel({
<div className="space-y-3 border-t border-line px-3 py-2.5">
{error && (
- <p className="text-xs text-coral" data-testid="workflow-copilot-error">
+ <p className="text-xs text-coral-600 dark:text-coral-400" data-testid="workflow-copilot-error">
{error === 'offline' ? t('flows.copilot.offline') : t('flows.copilot.error')}
</p>
)}
@@ -614,7 +614,7 @@ export default function WorkflowCopilotPanel({
</Button>
</div>
{acceptState === 'idle' && enableError && (
- <p className="mt-2 text-xs text-coral" data-testid="workflow-copilot-enable-error">
+ <p className="mt-2 text-xs text-coral-600 dark:text-coral-400" data-testid="workflow-copilot-enable-error">
{t('flows.copilot.enableError')}
</p>
)}
diff --git a/app/src/components/notifications/FlowApprovalCard.tsx b/app/src/components/notifications/FlowApprovalCard.tsx
index 9db636b2d9..2e56f66b0b 100644
--- a/app/src/components/notifications/FlowApprovalCard.tsx
+++ b/app/src/components/notifications/FlowApprovalCard.tsx
@@ -180,7 +180,7 @@ const FlowApprovalCard = ({ notification: n }: Props) => {
</p>
)}
- {error && <p className="mt-2 text-xs text-coral">{`⚠ ${error}`}</p>}
+ {error && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">{`⚠ ${error}`}</p>}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/components/notifications/GateApprovalCard.tsx b/app/src/components/notifications/GateApprovalCard.tsx
index 1da36e7b77..241c19832e 100644
--- a/app/src/components/notifications/GateApprovalCard.tsx
+++ b/app/src/components/notifications/GateApprovalCard.tsx
@@ -128,7 +128,7 @@ const GateApprovalCard = ({ notification: n }: Props) => {
</p>
)}
- {error && <p className="mt-2 text-xs text-coral">⚠ {error}</p>}
+ {error && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {error}</p>}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button
diff --git a/app/src/features/conversations/components/PlanReviewCard.tsx b/app/src/features/conversations/components/PlanReviewCard.tsx
index a3e0d7741f..2e14ce240e 100644
--- a/app/src/features/conversations/components/PlanReviewCard.tsx
+++ b/app/src/features/conversations/components/PlanReviewCard.tsx
@@ -93,7 +93,7 @@ export const PlanReviewCard: React.FC<Props> = ({ threadId, review }) => {
</ol>
)}
- {errorMsg && <p className="mt-2 text-xs text-coral">⚠ {errorMsg}</p>}
+ {errorMsg && <p className="mt-2 text-xs text-coral-600 dark:text-coral-400">⚠ {errorMsg}</p>}
<div className="mt-3 flex flex-wrap items-center gap-2">
<Button