Closed Bug 1938430 Opened 1 year ago Closed 1 year ago

Record telemetry event when deleting a tab group

Categories

(Firefox :: Tabbed Browser, task, P2)

task
Points:
1

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox138 --- fixed
firefox139 --- fixed

People

(Reporter: sthompson, Assigned: sthompson)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-tabgrps-tabbrowser])

Attachments

(2 files)

Event category: tabgroup
Event name: delete
Description: Recorded when the user deletes a tab group
Additional data:

  • id (string): group ID of the tab group being deleted
  • source (string): tab_overflow if the user right-clicked a group in the tab overflow menu and chose "Delete group"; tab_group if the user right-clicked a tab group's label and chose "Delete group"

When the user performs "delete group" on an open tab group, the tab group becomes closed. The closed tab group is still visible in "recently closed tabs" and the tab overflow menu. When the user performs "delete group" on a closed tab group, the closed group is forgotten by session state and is no longer present in the tab overflow menu. The meaning of "delete" is somewhat different in these cases.

The session store forgets about closed groups during its daily cleanup. This is equivalent to "delete group" but it's automated and not driven by user intent. This bug will not instrument the automated cleanup.

Points: --- → 1
Priority: -- → P2
Whiteboard: [fidefe-tabgrps-tabbrowser]
Assignee: nobody → sthompson

Record when users delete an open group from the tab group context menu, delete an open group from a context menu in the all-tabs menu, or delete/forget a saved group from a context menu in the all-tabs menu.

This will not record when users close a window or close all of the individual tabs in a tab group, even though those cases have the logical side effect of deleting a tab group.

Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68d101b370d8 add delete tab group event r=jswinarton,tabbrowser-reviewers,sessionstore-reviewers
Regressions: 1956381
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Backout by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f1b5d6e0f034 Backed out changeset 68d101b370d8 for permafailures on browser_tab_manager_groups.js (Bug 1938697).

Backed out changeset 68d101b370d8 (Bug 1938430) for permafailures on browser_tab_manager_groups.js (Bug 1938697).

Push with failures

Failure log

Backout link

Status: RESOLVED → REOPENED
Flags: needinfo?(sthompson)
Resolution: FIXED → ---
Target Milestone: 138 Branch → ---
Attachment #9472545 - Attachment description: Bug 1938430 - add delete tab group event r=dao,dwalker,jswinarton,vsabino → Bug 1938430 - add delete tab group event r=dao,dwalker,jswinarton
Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/45b8edc68591 add delete tab group event r=jswinarton,tabbrowser-reviewers,sessionstore-reviewers
Blocks: 1938425
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

Record when users delete an open group from the tab group context menu or delete an open group from a context menu in the all-tabs menu.

This will not record when users close a window or close all of the individual tabs in a tab group, even though those cases have the logical side effect of deleting a tab group.

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

Attachment #9477610 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: No user impact. If declined, the Firefox Desktop team will have less insight into how and whether users are deleting tab groups after creating them
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Right-click a tab group label, choose Delete group, note the metric event being recorded. Open all tabs menu, right-click a tab group, and choose Delete group. Note that the delete group event metric is recorded.
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Adds additional Glean calls, which should not cause errors for users if something goes wrong. This patch adds additional optional parameters to some existing functions, but no browser logic changed.
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9477610 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: needinfo?(sthompson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: