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

Issue 1422193003: UMA for Notification action buttons (Closed)

Created:
5 years, 1 month ago by johnme
Modified:
5 years ago
CC:
chromium-reviews, peter+watch_chromium.org, mlamouri+watch-notifications_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

UMA for Notification action buttons - Notifications.PersistentNotificationActionCount tracks number of action buttons per notification - Notifications.Persistent.ClickedActionButton counts clicks on action buttons - Notifications.Persistent.Clicked no longer includes clicks on action buttons BUG=513671 Committed: https://crrev.com/f661988bc9a6ce398494a69988aae4871b8fdb51 Cr-Commit-Position: refs/heads/master@{#361328}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Log Notifications.PersistentNotificationActionCount from Blink instead #

Total comments: 2

Patch Set 3 : Address nit #

Total comments: 6

Patch Set 4 : Document when histogram is logged #

Patch Set 5 : Use linear histogram with [0,1) underflow and [17,inf) overflow buckets #

Total comments: 2

Patch Set 6 : Add comment explaining histogramEnumeration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -3 lines) Patch
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
johnme
5 years, 1 month ago (2015-10-28 16:16:52 UTC) #2
Peter Beverloo
https://codereview.chromium.org/1422193003/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1422193003/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc#newcode104 chrome/browser/notifications/platform_notification_service_impl.cc:104: if (action_index == -1) { Please don't forget about ...
5 years, 1 month ago (2015-10-28 16:27:07 UTC) #3
johnme
Addressed review comments - thanks :) https://codereview.chromium.org/1422193003/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc File chrome/browser/notifications/platform_notification_service_impl.cc (right): https://codereview.chromium.org/1422193003/diff/1/chrome/browser/notifications/platform_notification_service_impl.cc#newcode104 chrome/browser/notifications/platform_notification_service_impl.cc:104: if (action_index == ...
5 years, 1 month ago (2015-10-28 18:43:48 UTC) #4
johnme
Addressed review comments - thanks :)
5 years, 1 month ago (2015-10-28 18:43:49 UTC) #5
johnme
asvitkine@chromium.org: Please review changes in tools/metrics - thanks :)
5 years, 1 month ago (2015-10-28 18:46:08 UTC) #7
Peter Beverloo
lgtm https://codereview.chromium.org/1422193003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1422193003/diff/20001/tools/metrics/histograms/histograms.xml#newcode29129 tools/metrics/histograms/histograms.xml:29129: + The number of action buttons shown on ...
5 years, 1 month ago (2015-10-28 18:55:50 UTC) #8
johnme
https://codereview.chromium.org/1422193003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1422193003/diff/20001/tools/metrics/histograms/histograms.xml#newcode29129 tools/metrics/histograms/histograms.xml:29129: + The number of action buttons shown on each ...
5 years, 1 month ago (2015-10-28 19:03:39 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp File third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp (right): https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp#newcode64 third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp:64: Platform::current()->histogramCustomCounts("Notifications.PersistentNotificationActionCount", options.actions().size(), 0, 10, 12 /* one extra bucket ...
5 years, 1 month ago (2015-10-28 19:09:09 UTC) #10
johnme
Addressed review comments - thanks :) https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp File third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp (right): https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp#newcode64 third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp:64: Platform::current()->histogramCustomCounts("Notifications.PersistentNotificationActionCount", options.actions().size(), 0, ...
5 years, 1 month ago (2015-10-29 14:24:41 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp File third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp (right): https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp#newcode64 third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp:64: Platform::current()->histogramCustomCounts("Notifications.PersistentNotificationActionCount", options.actions().size(), 0, 10, 12 /* one extra bucket ...
5 years, 1 month ago (2015-10-29 19:24:05 UTC) #12
johnme
Addressed Alexei's review comment - thanks! https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp File third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp (right): https://codereview.chromium.org/1422193003/diff/40001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp#newcode64 third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp:64: Platform::current()->histogramCustomCounts("Notifications.PersistentNotificationActionCount", options.actions().size(), 0, ...
5 years ago (2015-11-23 15:06:09 UTC) #13
Alexei Svitkine (slow)
lgtm % nit https://codereview.chromium.org/1422193003/diff/80001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp File third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp (right): https://codereview.chromium.org/1422193003/diff/80001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp#newcode63 third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp:63: // Log number of actions developer ...
5 years ago (2015-11-23 16:19:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422193003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422193003/100001
5 years ago (2015-11-24 11:20:15 UTC) #17
johnme
Addressed review nit - thanks! https://codereview.chromium.org/1422193003/diff/80001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp File third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp (right): https://codereview.chromium.org/1422193003/diff/80001/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp#newcode63 third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp:63: // Log number of ...
5 years ago (2015-11-24 11:24:12 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-24 13:13:07 UTC) #19
commit-bot: I haz the power
5 years ago (2015-11-24 13:14:04 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f661988bc9a6ce398494a69988aae4871b8fdb51
Cr-Commit-Position: refs/heads/master@{#361328}

Powered by Google App Engine
This is Rietveld 408576698