Closed Bug 1822016 Opened 3 years ago Closed 3 years ago

BrowserUsageTelemetry should distinguish between bookmark items and history items

Categories

(Firefox :: Toolbars and Customization, defect, P1)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox112 --- fixed
firefox113 --- fixed

People

(Reporter: sclements, Assigned: sclements)

References

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(1 external file)

I noticed while working on additional telemetry for the bookmarks library and sidebar (bug 1819081) that regardless of whether a history item or a bookmark item is clicked in the app menu or library navbar, it's being reported as 'bookmark-item' due to this line of code and because both history items and bookmark items both contain the .bookmark-items class.

I'm not sure if this was intentional with work done in bug 1620358, or something changed since that was implemented but we should probably distinguish between 'history items' and 'bookmark items'.

I haven't investigated all of the toolbar surfaces this telemetry covers to see if it applies to all surfaces, I only happened to notice the two surfaces previously mentioned while stepping through the debugger.

Assignee: nobody → sclements
Status: NEW → ASSIGNED
Whiteboard: [fidefe-firefox-view]
Severity: -- → S3
OS: Unspecified → All
Priority: -- → P1
Hardware: Unspecified → Desktop
Blocks: 1823995
See Also: → 1823995
Attachment #9324632 - Attachment description: WIP: Bug 1822016 - Update BrowserUsageTelemetry to account for history items → Bug 1822016 - Update BrowserUsageTelemetry to account for history items r=Gijs
See Also: → 1824734
Pushed by sclements@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b3fd6dd72f80 Update BrowserUsageTelemetry to account for history items r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

Comment on attachment 9324632 [details]
Bug 1822016 - Update BrowserUsageTelemetry to account for history items r=Gijs

Beta/Release Uplift Approval Request

  • User impact if declined: None to the user, but this bug affects the accuracy of telemetry reporting that can affect product decisions.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): It makes a small code change to a telemetry module is covered by several tests.
  • String changes made/needed: None
  • Is Android affected?: No
Attachment #9324632 - Flags: approval-mozilla-beta?

Comment on attachment 9324632 [details]
Bug 1822016 - Update BrowserUsageTelemetry to account for history items r=Gijs

Approved for 112.0b8

Attachment #9324632 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: