mirror of
https://github.com/stablyai/orca.git
synced 2026-10-27 00:02:48 +00:00
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user