Commit 293a5c8
authored
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.1 parent 372dbac commit 293a5c8
File tree
2 files changed
+39
-13
lines changed- duckchat/duckchat-impl/src
- main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/viewmodel
- test/kotlin/com/duckduckgo/duckchat/impl/ui/inputscreen
2 files changed
+39
-13
lines changedLines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
390 | 394 | | |
391 | 395 | | |
392 | 396 | | |
| |||
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
852 | 853 | | |
853 | 854 | | |
854 | 855 | | |
| 856 | + | |
855 | 857 | | |
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
859 | 861 | | |
860 | 862 | | |
861 | 863 | | |
862 | | - | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
863 | 885 | | |
864 | 886 | | |
865 | 887 | | |
| |||
0 commit comments