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

Issue 9254023: [NTP4] Track the position of each app that's launched. (Closed)

Created:
8 years, 11 months ago by Dan Beam
Modified:
8 years, 9 months ago
Reviewers:
Evan Stade, kmadhusu
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, arv (Not doing code reviews), Evan Stade
Visibility:
Public.

Description

[NTP4] Track the position of each app that's launched. BUG=109210 R=kmadhusu@chromium.org,estade@chromium.org TEST=about:histograms and data after a while.

Patch Set 1 #

Total comments: 14

Patch Set 2 : kmadhusu's review comments #

Patch Set 3 : arbitrarily changing arbitrary number #

Patch Set 4 : Enter -> 'Enter' to match e.keyIdentifier style #

Patch Set 5 : can't use const in strict mode #

Patch Set 6 : upper bound of 100 -> 99 to hack around some strange auto bucketing behavior in metrics handler #

Patch Set 7 : fixing off by one in metricsHandler and further explanation #

Patch Set 8 : changing to % of X or Y #

Patch Set 9 : key board shortcuts fix, misinterpretation of my own class, :/ #

Total comments: 4

Patch Set 10 : estade@ review comments #

Patch Set 11 : from % back to index! #

Patch Set 12 : pre-emptive strike against estade@'s review comments #

Patch Set 13 : making natural numbers instead of 0-based #

Patch Set 14 : JS/metricHandler -> C++/UMA_* #

Patch Set 15 : off by 2 error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -2 lines) Patch
M chrome/browser/resources/ntp4/apps_page.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/most_visited_page.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/ntp4/tile_page.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/metrics_handler.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Dan Beam
https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode510 chrome/browser/resources/ntp4/apps_page.js:510: ['NewTabPage.AppClickIndex', index + 1, 100]); ^ I just put ...
8 years, 11 months ago (2012-01-19 08:18:12 UTC) #1
kmadhusu
https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode504 chrome/browser/resources/ntp4/apps_page.js:504: * Record app position "clicked" (or when a user ...
8 years, 11 months ago (2012-01-19 18:29:02 UTC) #2
Dan Beam
https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode504 chrome/browser/resources/ntp4/apps_page.js:504: * Record app position "clicked" (or when a user ...
8 years, 11 months ago (2012-01-19 19:47:24 UTC) #3
kmadhusu
lgtm https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode504 chrome/browser/resources/ntp4/apps_page.js:504: * Record app position "clicked" (or when a ...
8 years, 11 months ago (2012-01-19 20:27:20 UTC) #4
Dan Beam
https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/1/chrome/browser/resources/ntp4/apps_page.js#newcode504 chrome/browser/resources/ntp4/apps_page.js:504: * Record app position "clicked" (or when a user ...
8 years, 11 months ago (2012-01-19 22:29:15 UTC) #5
Dan Beam
due to some recent revelations, this CL is waiting on clarification from either: - rahulrc@ ...
8 years, 11 months ago (2012-01-20 01:54:59 UTC) #6
Dan Beam
> - rahulrc@ whether % of x/y is OK, in which case we make the ...
8 years, 11 months ago (2012-01-20 06:56:06 UTC) #7
Dan Beam
+estade for chrome/browser/resources/ntp4/
8 years, 11 months ago (2012-01-21 00:33:53 UTC) #8
Evan Stade
https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js#newcode495 chrome/browser/resources/ntp4/apps_page.js:495: this.recordAppClickIndex_(rect.left + rect.width/2, spaces around operators https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js#newcode508 chrome/browser/resources/ntp4/apps_page.js:508: * ...
8 years, 11 months ago (2012-01-21 00:44:23 UTC) #9
kmadhusu
Deferring the UMA related code review to estade@. Thanks.
8 years, 11 months ago (2012-01-21 00:53:35 UTC) #10
Dan Beam
https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js#newcode508 chrome/browser/resources/ntp4/apps_page.js:508: * @param {number} x The client X at which ...
8 years, 11 months ago (2012-01-21 01:49:23 UTC) #11
Dan Beam
whoops, this also https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js File chrome/browser/resources/ntp4/apps_page.js (right): https://chromiumcodereview.appspot.com/9254023/diff/12009/chrome/browser/resources/ntp4/apps_page.js#newcode495 chrome/browser/resources/ntp4/apps_page.js:495: this.recordAppClickIndex_(rect.left + rect.width/2, On 2012/01/21 00:44:23, ...
8 years, 11 months ago (2012-01-21 01:49:49 UTC) #12
Dan Beam
8 years, 11 months ago (2012-01-21 02:38:55 UTC) #13
Dan Beam
8 years, 11 months ago (2012-01-21 02:38:55 UTC) #14
Dan Beam
8 years, 11 months ago (2012-01-21 04:38:13 UTC) #15

          

Powered by Google App Engine
This is Rietveld 408576698