File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
static/app/components/events/autofix Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -486,6 +486,13 @@ function AutofixSolutionDisplay({
486486 } ) ;
487487 } ;
488488
489+ // Check if instructions were provided (either typed in input or already added to solution and active)
490+ const hasInstructions =
491+ instructions . trim ( ) . length > 0 ||
492+ solutionItems . some (
493+ item => item . timeline_item_type === 'human_instruction' && item . is_active !== false
494+ ) ;
495+
489496 useEffect ( ( ) => {
490497 setSolutionItems (
491498 solution . map ( item => ( {
@@ -650,6 +657,9 @@ function AutofixSolutionDisplay({
650657 onClick = { handleCodeItUp }
651658 analyticsEventName = "Autofix: Code It Up"
652659 analyticsEventKey = "autofix.solution.code"
660+ analyticsParams = { {
661+ instruction_provided : hasInstructions ,
662+ } }
653663 title = { t ( 'Implement this solution in code with Seer' ) }
654664 >
655665 { t ( 'Code It Up' ) }
You can’t perform that action at this time.
0 commit comments