Skip to content

Commit 71fc115

Browse files
authored
Merge branch 'All-Hands-AI:main' into main
2 parents 6ddae01 + 0b05c29 commit 71fc115

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

frontend/src/components/chat-interface.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ export function ChatInterface() {
186186
"Please push the changes to a remote branch on GitHub, but do NOT create a pull request.",
187187
}}
188188
onClick={(value) => {
189+
posthog.capture("push_to_branch_button_clicked");
189190
handleSendMessage(value, []);
190191
}}
191192
/>
@@ -196,6 +197,7 @@ export function ChatInterface() {
196197
"Please push the changes to GitHub and open a pull request.",
197198
}}
198199
onClick={(value) => {
200+
posthog.capture("create_pr_button_clicked");
199201
handleSendMessage(value, []);
200202
setHasPullRequest(true);
201203
}}
@@ -209,6 +211,7 @@ export function ChatInterface() {
209211
"Please push the latest changes to the existing pull request.",
210212
}}
211213
onClick={(value) => {
214+
posthog.capture("push_to_pr_button_clicked");
212215
handleSendMessage(value, []);
213216
}}
214217
/>
@@ -222,7 +225,10 @@ export function ChatInterface() {
222225
: "Downloading, please wait...",
223226
value: "Download .zip",
224227
}}
225-
onClick={handleDownloadWorkspace}
228+
onClick={() => {
229+
posthog.capture("download_workspace_button_clicked");
230+
handleDownloadWorkspace();
231+
}}
226232
/>
227233
)}
228234
</div>

0 commit comments

Comments
 (0)