You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add "was_used_before" pixel param for Duck.ai launches originating on the Input Screen (#6739)
Task/Issue URL:
https://app.asana.com/1/137249556945/project/1208671518894266/task/1211247695189653?focus=true
### Description
Adds "was_used_before" pixel param for Duck.ai launches originating on
the Input Screen.
### Steps to test this PR
- [x] Clean install the app.
- [x] Go to Settings -> AI Features.
- [x] Enable the experimental address bar.
- [x] Go to browser and click on the omnibar.
- [x] Switch to Duck.ai and submit a prompt.
- [x] Verify that `m_aichat_experimental_omnibar_prompt_submitted_count`
is sent with `was_used_before=0` param.
- [x] Go to browser again and click on the omnibar.
- [x] Switch to Duck.ai and submit a prompt.
- [x] Verify that `m_aichat_experimental_omnibar_prompt_submitted_count`
is sent with `was_used_before=1` param.
Copy file name to clipboardExpand all lines: duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/viewmodel/InputScreenViewModel.kt
+15-11Lines changed: 15 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -375,18 +375,22 @@ class InputScreenViewModel @AssistedInject constructor(
Copy file name to clipboardExpand all lines: duckchat/duckchat-impl/src/test/kotlin/com/duckduckgo/duckchat/impl/ui/inputscreen/InputScreenViewModelTest.kt
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,12 @@ class InputScreenViewModelTest {
0 commit comments