Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

analytics

Louis Beaumont3d09c939b5c8
diff --git a/pipes/search/src/components/search-chat.tsx b/pipes/search/src/components/search-chat.tsx
index 2ca05e03a..99c615cfe 100644
--- a/pipes/search/src/components/search-chat.tsx
+++ b/pipes/search/src/components/search-chat.tsx
@@ -299,7 +299,6 @@ export function SearchChat() {
const [speakerSearchQuery, setSpeakerSearchQuery] = useState("");
-
useEffect(() => {
if (Object.keys(selectedSpeakers).length > 0) {
setSelectedTypes({
@@ -737,6 +736,12 @@ export function SearchChat() {
};
const handleSearch = async (newOffset = 0, overrides: any = {}) => {
+ await pipe.captureMainFeatureEvent("search", {
+ contentType: overrides.contentType || contentType,
+ limit: overrides.limit || limit,
+ offset: newOffset,
+ startDate: overrides.startDate || startDate,
+ });
setHasSearched(true);
setShowExamples(false);
setIsLoading(true);