Closed Bug 1870367 Opened 2 years ago Closed 1 year ago

Distinguish the translation source under translation_request for telemetry

Categories

(Firefox :: Translations, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(5 obsolete files)

Description

This bug tracks the progress of allowing Translations telemetry to distinguish whether a translation request came from full-page translations or from select translations.


Steps to implement

  • Add a field to the translation_request telemetry item for the translation source.

Tests to implement

  • Test that full-page translations are marked as full page.
  • Test that select translations are marked as select.
Assignee: nobody → enordin
Attachment #9398549 - Attachment description: WIP: Bug 1870367 - WIP → WIP: Bug 1870367 - Rename langPairPromise return values

Reworks the Translations Telemetry logging to conform
to the pref "toolkit.telemetry.translations.logLevel"
and updates the logging format to be more consistent
and easy to follow in the JS console.

Depends on D208583

Renames all telemetry functions related to the FullPageTranslationsPanel
to be clear about their relationship to full-page translations
as opposed to select translations or shared functionality.

Depends on D210956

Adds all relevant telemetry to the SelectTranslationsPanel

Depends on D210957

Adds comprehensive testing of the SelectTranslationsPanel
telemetry events, and updates the FullPageTranslationsPanel
telemetry tests to assert for the correct translation category.

Depends on D210958

Attachment #9398549 - Attachment description: WIP: Bug 1870367 - Rename langPairPromise return values → Bug 1870367 - Rename langPairPromise return values r=#translations-reviewers!
Attachment #9402833 - Attachment description: WIP: Bug 1870367 - Rework Translations Telemetry Logging → Bug 1870367 - Rework Translations Telemetry Logging r=#translations-reviewers!
Attachment #9402834 - Attachment description: WIP: Bug 1870367 - Rename FullPageTranslations telemetry → Bug 1870367 - Rename FullPageTranslations telemetry r=#translations-reviewers!
Attachment #9402835 - Attachment description: WIP: Bug 1870367 - Instrument SelectTranslationsPanel with telemetry → Bug 1870367 - Instrument SelectTranslationsPanel with telemetry r=#translations-reviewers!
Attachment #9402836 - Attachment description: WIP: Bug 1870367 - Add SelectTranslationsPanel Telemetry Tests → Bug 1870367 - Add SelectTranslationsPanel Telemetry Tests r=#translations-reviewers!

Comment on attachment 9398549 [details]
Bug 1870367 - Rename langPairPromise return values r=#translations-reviewers!

Revision D208583 was moved to bug 1870368. Setting attachment 9398549 [details] to obsolete.

Attachment #9398549 - Attachment is obsolete: true

Comment on attachment 9402833 [details]
Bug 1870367 - Rework Translations Telemetry Logging r=#translations-reviewers!

Revision D210956 was moved to bug 1870368. Setting attachment 9402833 [details] to obsolete.

Attachment #9402833 - Attachment is obsolete: true

Comment on attachment 9402834 [details]
Bug 1870367 - Rename FullPageTranslations telemetry r=#translations-reviewers!

Revision D210957 was moved to bug 1870368. Setting attachment 9402834 [details] to obsolete.

Attachment #9402834 - Attachment is obsolete: true

Comment on attachment 9402835 [details]
Bug 1870367 - Instrument SelectTranslationsPanel with telemetry r=#translations-reviewers!

Revision D210958 was moved to bug 1870368. Setting attachment 9402835 [details] to obsolete.

Attachment #9402835 - Attachment is obsolete: true

Comment on attachment 9402836 [details]
Bug 1870367 - Add SelectTranslationsPanel Telemetry Tests r=#translations-reviewers!

Revision D210959 was moved to bug 1870368. Setting attachment 9402836 [details] to obsolete.

Attachment #9402836 - Attachment is obsolete: true

Fixed by Bug 1870368

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
See Also: → 1870368
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: