Record Jira task workspace usage

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo-H
2026-06-12 21:10:05 -07:00
co-authored by Orca
parent 18d83e924d
commit 29ebf4b3bc
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -7111,6 +7111,7 @@ export default function TaskPage(): React.JSX.Element {
const handleUseJiraItem = useCallback(
(issue: JiraIssue): void => {
useAppStore.getState().recordFeatureInteraction('jira-tasks')
openComposerForJiraItem(issue)
},
[openComposerForJiraItem]
@@ -209,6 +209,15 @@ describe('feature interaction writer boundaries', () => {
}
})
it('records Jira provider-depth for workspace use', () => {
const taskPageSource = componentSource('TaskPage.tsx')
const jiraWriter = "recordFeatureInteraction('jira-tasks')"
expect(
sourceBetween(taskPageSource, 'const handleUseJiraItem', 'const handleJiraConnect')
).toContain(jiraWriter)
})
it('records browser annotation agent handoff only from the prompt-delivered callback', () => {
const source = componentSource('browser-pane/BrowserPane.tsx')
expect(