Change `display_name` in the search config to `display_name_map`
Categories
(Firefox :: Search, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox143 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
This is a follow-up to bug 1976993. Based on discussion with Mark and Mandy, the display_name
config added in that bug should be changed to a map from locale codes to brand names. Mark said this in Slack about display_name
:
I think this is not going to be able to work as we expect...
The design rule for search-config-v2 was that we would only allow one matching variant. So I think this would mean that for Google, we'd need to duplicate all of the "allRegionsAndLocales" section for JP (and any other locales we add), just to add the name for the visual search.
A sub-variant also wouldn't work, since we again only match on the last matching variant - so instead we'd need to duplicate each of the sub-variants (as we'd want this to apply to ESR & maybe mobile in future as well).
It might be that we need a map instead:
"visualSearchMap": { "default": "Google Lens", "jp": "Google レンズ" }
Updated•28 days ago
|
Comment 1•28 days ago
|
||
Assignee | ||
Comment 2•26 days ago
•
|
||
The PR merged, don't know why the BMO bot didn't close this. [Edit: Oh my fault, I screwed up the bug number in the commit message.]
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Comment 3•25 days ago
|
||
This was vendored in bug 1979166.
Updated•22 days ago
|
Description
•