Add a property to distinguish when the urlbar is in Search Mode
Categories
(Firefox :: Address Bar, enhancement, P3)
Tracking
()
People
(Reporter: mak, Assigned: daisuke)
References
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
2.69 KB,
text/plain
|
mmccorquodale
:
data-review+
|
Details |
When an event is recorded, right now it's not trivial to understand if the urlbar was in the default search-all mode or in a restriction mode like tabs, bookmarks, history... or a search engine.
It sounds like it would be useful to have a new search_mode: "engine"|"bookmarks"|"tabs"|
... property in the event to track that fact.
Otherwise we could add it to an existing property, but I'm not sure where, the only one may be the sap
property, but how we entered the sap and the current mode are orthogonal facts, so probably not the best idea.
Comment 1•3 years ago
|
||
I think that makes sense, is that information for sending via Glean to help gain more context on particular events? That would definitely be helpful in measuring the impact of future projects on search mode usage. It also seems more intuitive than adding multiple variants in sap
, because it is ultimately using the urlbar
.
Small thing, but if search mode is not initiated, should the property remain empty vs. not be defined? I'm just looking at the object example in the QA for Urlbar Engagement Telemetry document and I see selected_resulted_subtype
exists but is empty, so I'm assuming the search_mode
property would also be ""
when none is selected.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Reporter | ||
Comment 3•3 years ago
|
||
(In reply to James Teow [:jteow] from comment #1)
so I'm assuming the
search_mode
property would also be""
when none is selected.
Makes sense.
Assignee | ||
Comment 4•3 years ago
|
||
Comment 5•3 years ago
|
||
Comment on attachment 9308588 [details]
data-review-request-for-bug1805717.md
-
Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, this will be documented in the Glean dictionary. -
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, users can opt out of telemetry data collection. -
If the request is for permanent data collection, is there someone who will monitor the data over time?
This will be monitored by the search and suggest team. -
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 2, Interaction Data. -
Is the data collection request for default-on or default-off?
Default on. -
Does the instrumentation include the addition of any new identifiers?
No new identifiers. -
Is the data collection covered by the existing Firefox privacy notice?
Yes. -
Does the data collection use a third-party collection tool?
No.
data-review +
Comment 7•3 years ago
|
||
Backed out for searchMode mochitests related failures in browser_touchbar_searchrestrictions.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/touchbar/tests/browser/browser_touchbar_searchrestrictions.js | Expected searchMode - {"source":2,"isPreview":false,"entry":"touchbar"} deepEqual {"source":2,"telemetryLabel":"history","entry":"touchbar","isPreview":false} - JS frame :: resource://testing-common/UrlbarTestUtils.sys.mjs :: assertSearchMode :: line 577
Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
bugherder |
Comment 10•2 years ago
|
||
The issue is verified fixed using the latest nightly Fx 119.0a1 on Windows 10 and Ubuntu 20.04. The search_mode parameter is correctly recorded in an event ping, having the following values as per specific search: search_engine, tabs, history, bookmarks.
Description
•