Closed Bug 1712306 Opened 3 years ago Closed 3 years ago

Telemetry for Close Tabs modal

Categories

(Toolkit Graveyard :: Notifications and Alerts, enhancement, P2)

Firefox 90
Desktop
All
enhancement

Tracking

(firefox90 verified)

VERIFIED FIXED
90 Branch
Tracking Status
firefox90 --- verified

People

(Reporter: rfambro, Assigned: Gijs)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [proton-modals] [priority:2a])

User Story

As a product manager I want to understand how users interact with the “close tab” modal, in order to better design an update to this dialogue.

Acceptance criteria
Event telemetry captures the following events:
- Tab closure modal display per type of modal (one window, multiple windows) and method to open the modal (close window button, keyboard shortcut)
- Engagement with modal buttons 
- Close with checkbox enabled
- Close with checkbox disabled
- Cancel with checkbox enabled
- Cancel with checkbox disabled

Attachments

(2 files)

No description provided.
User Story: (updated)
Priority: -- → P2
Whiteboard: [proton-modals] [priority:2a]
User Story: (updated)
User Story: (updated)
User Story: (updated)
Assignee: nobody → gijskruitbosch+bugs
Severity: -- → N/A
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → Desktop
Summary: Telemetry for Close Modal Tab → Telemetry for Close Tabs modal
Attachment #9223267 - Attachment description: WIP: Bug 1712306 - add telemetry for the close multiple tabs modal, r?jaws → Bug 1712306 - add telemetry for the close multiple tabs modal, r?jaws
Attached file Data review request
Attachment #9223420 - Flags: data-review?(tdsmith)
Attachment #9223420 - Flags: data-review?(tdsmith) → data-review?(tlong)

Comment on attachment 9223420 [details]
Data review request

Data Review

  1. Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?

Yes, in the definition file, Events.yaml, and the Probe Dictionary

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

Yes, via standard telemetry opt-out

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

N/A, collection set to end in version 94

  1. Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 2, User Interaction

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

Default on

  1. Does the instrumentation include the addition of any new identifiers?

No

  1. Is the data collection covered by the existing Firefox privacy notice?

Yes

  1. Does the data collection use a third-party collection tool?

No

Result

data-review+

Attachment #9223420 - Flags: data-review?(tlong) → data-review+
See Also: → 1713217
Depends on: 1713220
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4ec58f33deb8
add telemetry for the close multiple tabs modal, r=jaws
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Regressions: 1713407

This enhancement is verified as fixed in Beta 90.0b6.

Status: RESOLVED → VERIFIED
See Also: → 1725296
Blocks: 1724959

To outline the probe that we have at this point (now that bug 1726736 has also landed) for verification/reference purposes:

There is a close_tab_warning telemetry event that will show up in about:telemetry. It will say "application" for warnings that show up when the entire app closes, and "window" if it's the "close multiple tabs" warning for a single window. Then in the "extra" field, we track whether the request to close the window/app was from a shortcut (Note: doesn't capture alt-f4 on Windows and maybe Linux, which is expected), how many windows and/or tabs are being closed (closing_wins and closing_tabs), whether session restore is enabled (will_restore), which button the user clicked in the dialog, and whether the checkbox in the dialog was checked or not.

No event is registered when the quit/close happens without a dialog being shown. Adrian, is that the info you were looking for?

Flags: needinfo?(adrian.florinescu)

(In reply to :Gijs (he/him) from comment #7)
Adrian, is that the info you were looking for?

Yes, thank you!

Flags: needinfo?(adrian.florinescu)
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: