Closed Bug 1903393 Opened 5 months ago Closed 5 months ago

Send The Text Source to SelectTranslationsPanel Telemetry

Categories

(Firefox :: Translations, task, P3)

Desktop
All
task

Tracking

()

VERIFIED FIXED
129 Branch
Tracking Status
firefox128 --- verified
firefox129 --- verified

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(2 files)

Description

One key metric that the SelectTranslationsPanel telemetry is still missing is the ability to distinguish whether the source text came from actively selected text, or from hyperlinked text.

We should add this distinction to the panel's open event.


Steps to implement

  • Add a text_source extra key to the SelectTranslationsPanel open event.

Tests to implement

  • Ensure that these events have coverage in SelectTranslationsPanel telemetry tests.

Adds the ability for the SelectTranslationsPanel to send
to telemetry whether the source text came from an active
selection or from a right-clicked hyperlink's text.

Depends on D214160

Attachment #9408252 - Attachment description: WIP: Bug 1903393 - Send the text source to telemetry r=#translations-reviewers! → Bug 1903393 - Send the text source to telemetry r=#translations-reviewers!
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/178b008a54a2 Send the text source to telemetry r=translations-reviewers,gregtatum

Adds the ability for the SelectTranslationsPanel to send
to telemetry whether the source text came from an active
selection or from a right-clicked hyperlink's text.

Original Revision: https://phabricator.services.mozilla.com/D214161

Attachment #9408312 - Flags: approval-mozilla-beta?
Flags: in-testsuite+
Attachment #9408312 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

I can confirm that the onOpen event contains the textSource extra key with values hyperlink or selection.
This was verified in Windows10, MacOS11 and Ubuntu22 in Nightly v129.0a1 and beta v128.0b7.

Status: RESOLVED → VERIFIED
OS: Unspecified → All
Hardware: Unspecified → Desktop
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: