Closed Bug 1845428 Opened 10 months ago Closed 10 months ago

Instrument Translations Panel With Telemetry

Categories

(Firefox :: Translations, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(14 files, 1 obsolete file)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
14.14 KB, text/plain
chutten
: data-review+
Details

We want to fully instrument the translations panel with telemetry such that we can determine the flow of events taken within the panel, and also anonymously determine how users are interacting with the panel the first time that they see it.

Attachment #9345704 - Attachment is obsolete: true

Cleans up existing bug links by adding the comment numbers
that contain the exact data reviews.

Adds the notion of an event being a first-interaction
or not, to better distinguish how users interact with
the translations panel the first time they see it.

Depends on D184694

Modifies existing telemetry events to maintain the
same flow throughout different error states that may
occur in the translations panel.

Depends on D184695

Adds a telemetry event for the restore-page action.

Depends on D184696

Adds telemetry events for the button interactions
within in the Translations panel.

Depends on D184697

Handles telemetry events that deal with popupshown
and popuphidden in the Translations panel.

Depends on D184698

Handles telemetry events that deal with popupshown and
popuphidden for the translations settings menu invoked
from the Translations panel.

Depends on D184699

Handles telemetry events for chaning languages within
the Translations panel.

Depends on D184700

Handles telemetry events for managing the language-
and site-based settings options from the settings
menu invoked from the Translations panel.

Depends on D184701

Handles telemetry events that lead to the about/learn-more
page within the Translations panel and the settings menu.

Depends on D184702

Drive-by cleanup of code in translationsPanel.js

Depends on D184703

Adds console logging for all of TranslationsTelemetry
that is off by default, but may be turned on in local
builds to help with debugging.

Depends on D184704

Adds tests that utilize and check all of the telemetry
events that are added in this patch stack.

Depends on D184705

Attachment #9346003 - Attachment description: WIP: Bug 1845428 - Clean up bug links in Translations metrics.yaml → Bug 1845428 - Clean up bug links in Translations metrics.yaml r=gregtatum!
Attachment #9346004 - Attachment description: WIP: Bug 1845428 - Add firstUserInteraction to TranslationsTelemetry events → Bug 1845428 - Add firstUserInteraction to TranslationsTelemetry events r=gregtatum!
Attachment #9346005 - Attachment description: WIP: Bug 1845428 - Maintain flow through error states in Translations → Bug 1845428 - Maintain flow through error states in Translations r=gregtatum!
Attachment #9346006 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry restore-page event → Bug 1845428 - Handle TranslationsTelemetry restore-page event r=gregtatum!
Attachment #9346007 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry panel button events → Bug 1845428 - Handle TranslationsTelemetry panel button events r=gregtatum!
Attachment #9346008 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry panel popup events → Bug 1845428 - Handle TranslationsTelemetry panel popup events r=gregtatum!
Attachment #9346009 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry panel settings popup events → Bug 1845428 - Handle TranslationsTelemetry panel settings popup events r=gregtatum!
Attachment #9346010 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry change-language events → Bug 1845428 - Handle TranslationsTelemetry change-language events r=gregtatum!
Attachment #9346011 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry settings events → Bug 1845428 - Handle TranslationsTelemetry settings events r=gregtatum!
Attachment #9346012 - Attachment description: WIP: Bug 1845428 - Handle TranslationsTelemetry learn-more events → Bug 1845428 - Handle TranslationsTelemetry learn-more events r=gregtatum!
Attachment #9346013 - Attachment description: WIP: Bug 1845428 - Alphabetize getters in translationsPanel → Bug 1845428 - Alphabetize getters in translationsPanel r=gregtatum!
Attachment #9346014 - Attachment description: WIP: Bug 1845428 - Add debug logging to Translations Telemetry → Bug 1845428 - Add debug logging to Translations Telemetry r=gregtatum!
Attached file data-review-request
Attachment #9346110 - Flags: data-review?(chutten)
Attachment #9346015 - Attachment description: WIP: Bug 1845428 - Add tests for new TranslationsTelemetry events → Bug 1845428 - Add tests for new TranslationsTelemetry events r=gregtatum!

Comment on attachment 9346110 [details]
data-review-request

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

No. This collection will expire in Firefox 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.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

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: datareview+

Attachment #9346110 - Flags: data-review?(chutten) → data-review+
Pushed by enordin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/31dab5a8e6ce
Clean up bug links in Translations metrics.yaml r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/d87a250b80b7
Add firstUserInteraction to TranslationsTelemetry events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/c3604325ed2b
Maintain flow through error states in Translations r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/80f71f0d286e
Handle TranslationsTelemetry restore-page event r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/eaaf5a61f97d
Handle TranslationsTelemetry panel button events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/2135bbe6a4d8
Handle TranslationsTelemetry panel popup events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/1305d8077717
Handle TranslationsTelemetry panel settings popup events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/1589e3f38ef8
Handle TranslationsTelemetry change-language events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/da54d21904f0
Handle TranslationsTelemetry settings events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/5a8173b2d895
Handle TranslationsTelemetry learn-more events r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/b010542e0375
Alphabetize getters in translationsPanel r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/ec4f582ab69e
Add debug logging to Translations Telemetry r=gregtatum
https://hg.mozilla.org/integration/autoland/rev/29de00271fd2
Add tests for new TranslationsTelemetry events r=gregtatum
See Also: → 1861319
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: