New issue
Advanced search Search tips

Issue 824608 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 397213



Sign in to add a comment

Add 4 UMAs to count how files, documents and subdirectories are opened

Project Member Reported by sashab@chromium.org, Mar 22 2018

Issue description

Create 4 UMAs in histograms.xml:
'FileBrowser.Open.File'
'FileBrowser.Open.GoogleDoc'
'FileBrowser.Open.Subdirectory'
'FileBrowser.Open.UnsupportedFile'

Create 1 new enum in enums.xml:
FileBrowser.OpenType:
- OPEN_BUTTON_MAIN_MENU
- OPEN_BUTTON_RIGHT_CLICK_MENU
- DOUBLE_CLICK
- ENTER

FileBrowser.App.OpenWith
- SINGLE_APP
- DEFAULT_APP
- NON_DEFAULT_APP
- NO_APP

Then use metrics.recordEnum() to record the action for each of these cases.

For an idea of how to implement, see the existing DirectoryTree expansion UMA in-progress at: https://chromium-review.googlesource.com/c/chromium/src/+/954774

The available metrics methods are in metrics_base.js: https://cs.chromium.org/chromium/src/ui/file_manager/file_manager/common/js/metrics_base.js?type=cs&sq=package:chromium
 
Labels: Pri-2
Description: Show this description
Status: Started (was: Assigned)
I'm slowly (30 mins a day) working on this CL.
Labels: -M-67 M-68

Comment 5 by sashab@chromium.org, Apr 18 2018

Owner: ----
Status: Available (was: Started)

Comment 6 by sashab@chromium.org, Apr 18 2018

Labels: CrOSFilesCategory-UMA
The work I started I uploaded here:
https://chromium-review.googlesource.com/c/chromium/src/+/1031691

Comment 8 by sashab@google.com, May 24 2018

Labels: -M-68 M-69
Labels: -M-69 M-70
Labels: -M-70

Sign in to add a comment