File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ export function ChatInterface() {
186
186
"Please push the changes to a remote branch on GitHub, but do NOT create a pull request." ,
187
187
} }
188
188
onClick = { ( value ) => {
189
+ posthog . capture ( "push_to_branch_button_clicked" ) ;
189
190
handleSendMessage ( value , [ ] ) ;
190
191
} }
191
192
/>
@@ -196,6 +197,7 @@ export function ChatInterface() {
196
197
"Please push the changes to GitHub and open a pull request." ,
197
198
} }
198
199
onClick = { ( value ) => {
200
+ posthog . capture ( "create_pr_button_clicked" ) ;
199
201
handleSendMessage ( value , [ ] ) ;
200
202
setHasPullRequest ( true ) ;
201
203
} }
@@ -209,6 +211,7 @@ export function ChatInterface() {
209
211
"Please push the latest changes to the existing pull request." ,
210
212
} }
211
213
onClick = { ( value ) => {
214
+ posthog . capture ( "push_to_pr_button_clicked" ) ;
212
215
handleSendMessage ( value , [ ] ) ;
213
216
} }
214
217
/>
@@ -222,7 +225,10 @@ export function ChatInterface() {
222
225
: "Downloading, please wait..." ,
223
226
value : "Download .zip" ,
224
227
} }
225
- onClick = { handleDownloadWorkspace }
228
+ onClick = { ( ) => {
229
+ posthog . capture ( "download_workspace_button_clicked" ) ;
230
+ handleDownloadWorkspace ( ) ;
231
+ } }
226
232
/>
227
233
) }
228
234
</ div >
You can’t perform that action at this time.
0 commit comments