Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Issue 227083007: UMA for New Profile Management. Track User-Menu Tutorial actions with Histograms. (Closed)

Created:
6 years, 8 months ago by Mike Lerman
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

UMA for New Profile Management. Track User-Menu Tutorial actions with Histograms. Specifically tracking Tutorial Display, Tutorial Accept and Tutorial Dismissal. Googlers: View the Enrollment section of the design doc for details. https://docs.google.com/a/google.com/document/d/1ybiN1r2xAlMj0PBABH63PJIyVWhsM409xPpZI4zlmck BUG=357693 TEST=Interact with the user menu and the tutorial card. Verify that UMA Histograms reflect the actual behaviour. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267716 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268094

Patch Set 1 #

Patch Set 2 : Change name of "Promo" histogram to "Enrollment" #

Patch Set 3 : Rebase #

Total comments: 10

Patch Set 4 : Apply metrics to correct cards; add to histograms.xml #

Patch Set 5 : Exclude enroll-confirm from counts of the promo card. #

Total comments: 10

Patch Set 6 : Rename metrics constants. #

Patch Set 7 : Rebase #

Total comments: 4

Patch Set 8 : Rename constants; track tutorial card only once. #

Total comments: 19

Patch Set 9 : Nits and update for unit tests; update histograms.xml #

Total comments: 4

Patch Set 10 : More browsertest cleanup. #

Total comments: 24

Patch Set 11 : Histogram naming; Nits; Simplify BrowserTest; Comments. #

Total comments: 2

Patch Set 12 : Nits, periods. #

Total comments: 2

Patch Set 13 : Nits, function rename. #

Patch Set 14 : Rebase #

Patch Set 15 : Die memory leak! From ProfileChooserView::CreateProfileChooserView() #

Patch Set 16 : Further clean up condition controlling OptionsView. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -6 lines) Patch
M chrome/browser/profiles/profile_metrics.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +19 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/new_avatar_button.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 8 chunks +21 lines, -4 lines 0 comments Download
A chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +102 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
Mike Lerman
Hi Hui, I've added the UMA stats for the promo card of the avatar menu. ...
6 years, 8 months ago (2014-04-16 15:07:36 UTC) #1
guohui
https://codereview.chromium.org/227083007/diff/40001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/40001/chrome/browser/profiles/profile_metrics.h#newcode90 chrome/browser/profiles/profile_metrics.h:90: }; mirror promo is not dismiss-able at the moment ...
6 years, 8 months ago (2014-04-16 15:47:45 UTC) #2
Mike Lerman
Hi Hui, Can you have a second look? I've changed the intentions behind the metrics, ...
6 years, 8 months ago (2014-04-24 15:14:16 UTC) #3
guohui
https://codereview.chromium.org/227083007/diff/70001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/70001/chrome/browser/profiles/profile_metrics.h#newcode86 chrome/browser/profiles/profile_metrics.h:86: ENROLL_LAUNCH_TUTORIAL, // The Mirror Promo was displayed it is ...
6 years, 8 months ago (2014-04-25 14:46:50 UTC) #4
Mike Lerman
Hi Hui, Back over to you. Thanks! https://codereview.chromium.org/227083007/diff/70001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/70001/chrome/browser/profiles/profile_metrics.h#newcode86 chrome/browser/profiles/profile_metrics.h:86: ENROLL_LAUNCH_TUTORIAL, // ...
6 years, 7 months ago (2014-04-28 14:53:11 UTC) #5
guohui
https://codereview.chromium.org/227083007/diff/110001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/110001/chrome/browser/profiles/profile_metrics.h#newcode89 chrome/browser/profiles/profile_metrics.h:89: MIRROR_DISABLE, // Mirror was disabled after having been enabled. ...
6 years, 7 months ago (2014-04-28 19:26:18 UTC) #6
Mike Lerman
https://codereview.chromium.org/227083007/diff/110001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/110001/chrome/browser/profiles/profile_metrics.h#newcode89 chrome/browser/profiles/profile_metrics.h:89: MIRROR_DISABLE, // Mirror was disabled after having been enabled. ...
6 years, 7 months ago (2014-04-28 20:43:27 UTC) #7
guohui
lgtm
6 years, 7 months ago (2014-04-28 22:50:59 UTC) #8
Mike Lerman
Review Requested! Could I please ask for reviews by OWNERs please? noms - c/b/profiles msw ...
6 years, 7 months ago (2014-04-29 12:24:33 UTC) #9
noms (inactive)
Looking good! A couple of comments https://codereview.chromium.org/227083007/diff/120001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/120001/chrome/browser/profiles/profile_metrics.h#newcode93 chrome/browser/profiles/profile_metrics.h:93: // Mirror was ...
6 years, 7 months ago (2014-04-29 14:27:31 UTC) #10
Mike Lerman
https://codereview.chromium.org/227083007/diff/120001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/120001/chrome/browser/profiles/profile_metrics.h#newcode93 chrome/browser/profiles/profile_metrics.h:93: // Mirror was disabled after having been enabled On ...
6 years, 7 months ago (2014-04-29 20:28:01 UTC) #11
noms (inactive)
profiles lgtm with nits https://codereview.chromium.org/227083007/diff/170001/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc File chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc (right): https://codereview.chromium.org/227083007/diff/170001/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc#newcode110 chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc:110: IN_PROC_BROWSER_TEST_F(ProfileChooserViewBrowserTest, MAYBE_ViewProfileUMA) { This shouldn't ...
6 years, 7 months ago (2014-04-29 20:33:47 UTC) #12
Mike Lerman
https://codereview.chromium.org/227083007/diff/170001/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc File chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc (right): https://codereview.chromium.org/227083007/diff/170001/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc#newcode110 chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc:110: IN_PROC_BROWSER_TEST_F(ProfileChooserViewBrowserTest, MAYBE_ViewProfileUMA) { On 2014/04/29 20:33:48, Monica Dinculescu wrote: ...
6 years, 7 months ago (2014-04-29 20:39:07 UTC) #13
msw
https://codereview.chromium.org/227083007/diff/180008/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/227083007/diff/180008/chrome/browser/profiles/profile_metrics.h#newcode84 chrome/browser/profiles/profile_metrics.h:84: enum ProfileEnrollment { nit: should this match the histograms' ...
6 years, 7 months ago (2014-04-29 23:10:51 UTC) #14
Alexei Svitkine (slow)
I thought "Project Mirror" was an internal codename? If so, we probably shouldn't use it ...
6 years, 7 months ago (2014-04-30 16:45:37 UTC) #15
Mike Lerman
Alexei, Good point - the histogram title has been renamed to Profile.UpgradeEnrollment. https://codereview.chromium.org/227083007/diff/180008/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h ...
6 years, 7 months ago (2014-04-30 18:11:44 UTC) #16
msw
lgtm with a nit https://codereview.chromium.org/227083007/diff/240001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/227083007/diff/240001/tools/metrics/histograms/histograms.xml#newcode39534 tools/metrics/histograms/histograms.xml:39534: + <int value="0" label="User viewed ...
6 years, 7 months ago (2014-04-30 18:46:49 UTC) #17
Alexei Svitkine (slow)
LGTM % comment https://codereview.chromium.org/227083007/diff/240002/chrome/browser/profiles/profile_metrics.cc File chrome/browser/profiles/profile_metrics.cc (right): https://codereview.chromium.org/227083007/diff/240002/chrome/browser/profiles/profile_metrics.cc#newcode292 chrome/browser/profiles/profile_metrics.cc:292: void ProfileMetrics::LogProfileMirrorEnrollment( Seems like you're still ...
6 years, 7 months ago (2014-04-30 19:01:34 UTC) #18
Mike Lerman
Thanks, reviewers! https://codereview.chromium.org/227083007/diff/240001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/227083007/diff/240001/tools/metrics/histograms/histograms.xml#newcode39534 tools/metrics/histograms/histograms.xml:39534: + <int value="0" label="User viewed the Upgrade ...
6 years, 7 months ago (2014-04-30 19:10:06 UTC) #19
Alexei Svitkine (slow)
Also, please update the CL description to not mention the Mirror code name as well.
6 years, 7 months ago (2014-04-30 19:11:29 UTC) #20
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-01 18:55:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/227083007/290001
6 years, 7 months ago (2014-05-01 18:56:12 UTC) #22
commit-bot: I haz the power
Change committed as 267716
6 years, 7 months ago (2014-05-02 01:23:53 UTC) #23
guohui
lgtm
6 years, 7 months ago (2014-05-02 13:58:24 UTC) #24
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-02 18:00:14 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/227083007/310001
6 years, 7 months ago (2014-05-02 18:01:03 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 18:28:05 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 18:28:06 UTC) #28
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-02 18:29:21 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/227083007/310001
6 years, 7 months ago (2014-05-02 18:36:53 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 18:41:54 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 18:41:54 UTC) #32
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-04 00:39:20 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/227083007/310001
6 years, 7 months ago (2014-05-04 00:39:29 UTC) #34
commit-bot: I haz the power
6 years, 7 months ago (2014-05-04 05:13:16 UTC) #35
Message was sent while issue was closed.
Change committed as 268094

Powered by Google App Engine
This is Rietveld 408576698