Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Auto send message to copilot for fix in copilot
  • Loading branch information
Theodore Li committed Apr 4, 2026
commit 566cb8cf4ebbfbb37f75a932dedacb0cc1fe83de
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,11 @@ export const Panel = memo(function Panel({ workspaceId: propWorkspaceId }: Panel
const message = (e as CustomEvent<{ message: string }>).detail?.message
if (!message) return
setActiveTab('copilot')
setCopilotEditingInputValue(message)
copilotSendMessage(message)
}
window.addEventListener('mothership-send-message', handler)
return () => window.removeEventListener('mothership-send-message', handler)
}, [setActiveTab])
}, [setActiveTab, copilotSendMessage])

/**
* Handles tab click events
Expand Down
Loading