Bug 1650929 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Add telemetry that reports how frequently PM doorhanger information is edited, to support our OKR of improving our recommended values (TODO add link to OKR).

Requirements
- When the user selects 'save' or 'update', send an event with booleans 'didEditUsername' and 'didUpdatePassword'
- When a value is selected from an autocomplete popup, 'didEdit*' should be false
- When a user begins typing then selects an autocomplete value, 'didEdit*' should be false
- When a user types/pastes in a new value and then saves it, 'didEdit*' should be true
- No ID (or other information that could be correlated to a user) should be sent

TODO request data review
Add telemetry that reports how frequently PM doorhanger information is edited, to support our OKR of improving our recommended values (TODO add link to OKR).

Requirements
- When the user selects 'save' or 'update', send an event with booleans 'didEditUsername' and 'didUpdatePassword'
- Typing or pasting into a field should set the `didEdit*` boolean state to true
- Selecting a value from an autocomplete popup should set the `didEdit*` boolean state to false
- No ID (or other information that could be correlated to a user) should be sent

TODO request data review
Add telemetry that reports how frequently PM doorhanger information is edited, to support our OKR of improving our recommended values (TODO add link to OKR).

Requirements
- When the user selects 'save' or 'update', send an event with booleans 'didEditUsername' and 'didEditPassword'
- Typing or pasting into a field should set the `didEdit*` boolean state to true
- State should be reset for each doorhanger instance
- No ID (or other information that could be correlated to a user) should be sent

TODO request data review
Add telemetry that reports how frequently PM doorhanger information is edited, to support our OKR of improving our recommended values.

Requirements
- When the user selects 'save' or 'update', send an event with booleans 'did_edit_un' and 'did_edit_pw'
- Typing or pasting into a field should set the `did_edit_*` boolean state to true
- State should be reset for each doorhanger instance
- No ID (or other information that could be correlated to a user) should be sent

Verification notes
- Can be verified locally in `about:telemetry` (There are some edge cases that affect when `about:telemetry` gets updated.  You probably know more about this than I do, but if not feel free to reach out.)
- The event will be called `doorhanger_submitted`.  See [its definition](https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/Events.yaml#783-804) for details
- Ensure that the `extra_keys` 'did_edit_un' and 'did_edit_pw' match user behavior
- Ensure that the sent `object` ('save' or 'update') matches the _original_ state when the doorhanger was created (this will not change if the user modifies the doorhanger fields)
- Ensure that exactly 1 event is sent every time the doorhanger is either saved or updated
Add telemetry that reports how frequently PM doorhanger information is edited, to support our OKR of improving our recommended values.

Requirements
- When the user selects 'save' or 'update', send an event with booleans 'did_edit_un' and 'did_edit_pw'
- Typing or pasting into a field should set the `did_edit_*` boolean state to true
- State should be reset for each doorhanger instance
- No ID (or other information that could be correlated to a user) should be sent

Verification notes
- Can be verified locally in `about:telemetry` (There are some edge cases that affect when `about:telemetry` gets updated.  You probably know more about this than I do, but if not feel free to reach out.)
- The event will be called `doorhanger_submitted`.  See [its definition](https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/Events.yaml#783-804) for details
- Ensure that the `extra_keys` `did_edit_un` and `did_edit_pw` match user behavior
- Ensure that the sent `object` (`save` or `update`) matches the _original_ state when the doorhanger was created (this will not change if the user modifies the doorhanger fields)
- Ensure that exactly 1 event is sent every time the doorhanger is either saved or updated

Back to Bug 1650929 Comment 0