MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / handleQuickAction

Function handleQuickAction

frontend/src/components/Chat/InputArea.tsx:49–58  ·  view source on GitHub ↗
(action: typeof quickActions[0])

Source from the content-addressed store, hash-verified

47 };
48
49 const handleQuickAction = (action: typeof quickActions[0]) => {
50 if (currentPipeline) {
51 if (action.label === 'Run Pipeline') {
52 // Handle Run Pipeline differently - actually execute it
53 usePipelineStore.getState().runPipeline(currentPipeline.id);
54 } else {
55 sendMessage(action.prompt, currentPipeline.id);
56 }
57 }
58 };
59
60 return (
61 <div className="border-t border-border p-4">

Callers 1

InputAreaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected