Update perplexity trending URL to accept lang param
Categories
(Firefox :: Search, task, P1)
Tracking
()
People
(Reporter: mcheang, Assigned: mcheang)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
We need search config v2 changes for perplexity.
This is to add lang={acceptLanguages} param to the trending URL.
| Assignee | ||
| Updated•2 months ago
           | 
| Assignee | ||
| Comment 1•2 months ago
           | ||
| Assignee | ||
| Comment 2•2 months ago
          • | ||
Changes are on staging for QA to test
| Assignee | ||
| Comment 3•2 months ago
          • | ||
Test Instructions
Experiment URL: Perplexity Staging Experiment
Minimum Browser Version: Firefox 143.0a1 or newer
Steps to Test
- 
Open Remote Settings Dev Tools and switch to Stage (preview). 
- 
In Firefox, go to about:config and set nimbus.debugtotrue.
- 
Enroll in the Perplexity Staging Experiment using the experiment link. 
- 
Open about:preferences → Language → click Choose…. - In the Webpage Language Settings dialog, click Select a language to add…, choose Romanian [ro], and move it to the top of the list.
- Click OK to save.
 
- 
Open the unified search button and select Perplexity as the search engine. 
- 
Verify that trending results appear in Romanian. 
Additional Checks
- Repeat the test with a few other locales (de, es, ru, ko, it).
- If Perplexity does not recognize all the languages, confirm that it defaults to en-US results.
| Updated•2 months ago
           | 
| Updated•2 months ago
           | 
| Assignee | ||
| Comment 4•2 months ago
          • | ||
Please test this on Nightly and Beta branches. The code changes that needed to ride the train has been uplifted in Bug 1982959 to Beta because we want this to be available on 143 Release.
| Comment 5•2 months ago
          • | ||
I've done a bit of testing and there is a question in relationship to the scope of testing.
There are two language settings for Firefox, one not being available with default configs in Nightly, config starts defaulting it with Beta and upwards:
- Webpage Language Settings - the one specified in comment3
- Language pack - Choose the languages used to display menus, messages, and notifications from Firefox. - directly installing a localized version of firefox works as well - this is part of what search-config uses at init aside from region
Is it in the scope of this ticket and what should control the localization of Perplexity trending just the Webpage Language Settings ?
| Comment 6•2 months ago
          • | ||
(In reply to Adrian Florinescu [:aflorinescu] from comment #5)
I've done a bit of testing and there is a question in relationship to the scope of testing.
There are two language settings for Firefox, one not being available with default configs in Nightly, config starts defaulting it with Beta and upwards:
- Webpage Language Settings - the one specified in comment3
- Language pack - Choose the languages used to display menus, messages, and notifications from Firefox. - directly installing a localized version of firefox works as well - this is part of what search-config uses at init aside from region
Is it in the scope of this ticket and what should control the localization of Perplexity trending just the Webpage Language Settings ?
We've discussed this subject with :standard8 and figured out that for Perplexity the scope is just the Webpage Language Settings, so we're going to focus on testing this for nightly144 and beta143. While discussing this, we figured that google also uses the language settings header in a way, but for that we'll log a separate bug -> bug TBD.
| Updated•2 months ago
           | 
| Comment 8•2 months ago
           | ||
We executed a round of testing on Win11, Mac 13 and Ubuntu 22 using comment 3 enviroment, with just only a branch from the experiment, since I figure the exeperiment is just to enable Perplexity and not part of the testing scope here. The testing was done on both 144.0a1 and 143.0b4.
The scope of testing covered:
- Perplexity trending with multiple languages for Webpage Language Settings, covering (de, es, ru, ko, it) as a base and exploring the rest of the available languages:
- after initial exploratory and comment 6, we ignored completely any region or Language pack configurations
We think that:
- bug 1985501 and bug 1985504 which are already blocking this request should be reviewed and confirmed before moving forward with this change.
- bug 1985515 is not blocking this request, but I think it should block the general Perplexity experiment
| Assignee | ||
| Comment 9•1 month ago
           | ||
Thank you Adrian.
We're going to follow-up with their team about:
As for bug 1985501, I don't think it's a bug. I made the testing expectations more clear. See https://bugzilla.mozilla.org/show_bug.cgi?id=1985501#c1
| Assignee | ||
| Comment 10•1 month ago
          • | ||
The changes are live on prod now.
Just to note - perplexity record is still hidden behind the experiment flag.
We're going to follow up with their team about the bugs.
| Assignee | ||
| Comment 11•1 month ago
           | ||
bug 1985515 is fixed on Perplexity's end.
bug 1985504 has been followed up with Perplexity team. They're working on a fix for it.
Description
•