-
Notifications
You must be signed in to change notification settings - Fork 929
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intercept and pre-fill AI prompts (#5502)
Task/Issue URL: https://app.asana.com/0/1200204095367872/1209195652342399/f ### Description - Intercepts AI chat URLs and opens them in the dedicated WebView. - Pre-fills AI chat prompts from the query param in the chat URL. - Adds an `autoPrompt` option to automatically start the chat. ### Steps to test this PR _aiChat enabled_ - [x] In the feature flag inventory enable `aiChat` and restart the app. - [x] Paste https://duckduckgo.com/?q=bread+recipe&t=newext&atb=v345-1&ia=chat in the address bar. - [x] Verify that the chat screen is opened with “bread recipe" pre-filled. - [x] Go to https://leather-hickory-utahceratops.glitch.me/ and click the link. - [x] Verify that the chat screen is opened with “bread recipe" pre-filled. _aiChat disabled_ - [x] In the feature flag inventory disable `aiChat` and restart the app. - [x] Paste https://duckduckgo.com/?q=bread+recipe&t=newext&atb=v345-1&ia=chat in the address bar. - [x] Verify that chat is opened in SERP. - [x] Go to https://leather-hickory-utahceratops.glitch.me/ and click the link. - [x] Verify that chat is opened in SERP.
- Loading branch information
Showing
11 changed files
with
268 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.