From 8baa369e6c5b8a941a1ae9062299c2d752624b47 Mon Sep 17 00:00:00 2001 From: abccodes Date: Fri, 19 Jun 2026 20:08:19 -0700 Subject: [PATCH] [aidan] fix/types: add missing semantic-type labels and drop stray fade arg --- frontend/src/app/pages/AgentChat/ChatInput/sendHelpers.ts | 2 ++ frontend/src/app/pages/Dashboard/cards/AgentCard.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/pages/AgentChat/ChatInput/sendHelpers.ts b/frontend/src/app/pages/AgentChat/ChatInput/sendHelpers.ts index 34288810..20958171 100644 --- a/frontend/src/app/pages/AgentChat/ChatInput/sendHelpers.ts +++ b/frontend/src/app/pages/AgentChat/ChatInput/sendHelpers.ts @@ -98,6 +98,8 @@ export function appendSelectedElements(trimmed: string, selectedEls: SelectedEle 'tool-group': 'Tool Group', 'view-card': 'App Card', 'browser-card': 'Browser Card', + 'workflow-card': 'Workflow Card', + 'workflows-hub-card': 'Workflows Hub', 'dom-element': 'Element', }[el.semanticType] || el.semanticType; lines.push(`${i + 1}. [${typeLabel}] ${el.semanticLabel || ''}`); diff --git a/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx b/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx index 0392ea6c..bc64682b 100644 --- a/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx +++ b/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx @@ -506,7 +506,7 @@ const AgentCard: React.FC = ({ suggestionPulseRef.current = key; } setSuggestGlowCycle((n) => n + 1); - dispatch(fadeGlowingAgentCard(session.id, 3200)); + dispatch(fadeGlowingAgentCard(session.id)); }, [workflowSuggestion, canConvertToWorkflow, dispatch, session.id]); // When the agent schedules a workflow from this chat, pop its card open