Send an event when a user clicks on a chevron button
Categories
(Firefox :: Shopping, task, P2)
Tracking
()
People
(Reporter: perry.mcmanis, Assigned: perry.mcmanis)
References
Details
Attachments
(3 files, 1 obsolete file)
There are currently two chevrons, one to expand the settings card and one to expand the review quality explainer, send Glean events when these are expanded.
Assignee | ||
Comment 1•1 year ago
|
||
Depends on D186559
Assignee | ||
Comment 3•1 year ago
|
||
I am filing a new data review to cover chevron clicks because I am requesting additional data be collected as an extra key as well as changing the names.
I would like to capture whether the button was used to expand/collapse the cards.
Comment 4•1 year ago
|
||
Hi Perry, if this is permanent collection then I need an IC responsible for question 7 in the request. Shouldn't this expire in version 122 like all the other shopping telemetry, or is this separate from that?
Also, could you please attach the files as a .txt file instead of .txt.rtf (otherwise I am forced to download the file to view the data-collection request.
Assignee | ||
Comment 5•1 year ago
|
||
New data review in the correct format/with correct expiry
Comment 6•1 year ago
|
||
Comment on attachment 9350451 [details]
chevron_dr.txt
Data Review
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, through the metrics.yaml file and the Glean Dictionary.
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, through the telemetry preferences in the application settings.
- If the request is for permanent data collection, is there someone who will monitor the data over time?
N/A, collection to end or be renewed by version 122
- 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 (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No
- Is the data collection covered by the existing Firefox privacy notice?
Yes
- Does the data collection use a third-party collection tool?
No
Result
data-review+
Assignee | ||
Comment 7•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D186561
Depends on D186559
Depends on D186950
Comment 8•1 year ago
|
||
Uplift Approval Request
- String changes made/needed: None
- Risk associated with taking this patch: Low.
- Steps to reproduce for manual QE testing: Enable the shopping experience. Perform the action described in the metric description. Send a tagged Events ping in about:glean, verify in debug ping viewer.
- Code covered by automated testing: yes
- Is Android affected?: no
- Needs manual QE test: no
- User impact if declined: Minimal
- Fix verified in Nightly: no
- Explanation of risk level: This is a new component that will not be used by many folks and this code is adding metrics to it. Glean is widely used and has proven reliable. There is automated test coverage over the instrumentation.
Comment 10•1 year ago
|
||
Backed out for causing bc failures in browser_ui_telemetry.js
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/shopping/tests/browser/browser_ui_telemetry.js | Uncaught exception in test bound test_shopping_UI_chevron_clicks - at chrome://mochitests/content/browser/browser/components/shopping/tests/browser/browser_ui_telemetry.js:45 - TypeError: can't access property "testGetValue", Glean.shopping.surfaceExpandSettings is undefined
Assignee | ||
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Comment 13•1 year ago
|
||
uplift |
Comment 14•1 year ago
|
||
Verified fixed using Firefox Nightly 119.0a1 (2023-09-06) on Windows 10, MacOS 11 and Ubuntu 20.04.
The "surface_show_quality_explainer_clicked" ping with both expanded / collapsed
actions is successfully displayed in Glean after clicking the "How do we determine review quality" chevron to expand/collapse the dropdown.
The "surface_settings_expand_clicked" ping with both expanded / collapsed
actions is also successfully displayed in Glean after clicking the "Settings" chevron to expand/collapse the dropdown.
Description
•