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

Issue 197473006: Add FeedbackReporter for reporting distillation quality. (Closed)

Created:
6 years, 9 months ago by nyquist
Modified:
6 years, 9 months ago
CC:
chromium-reviews, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Add feedback reporting for the DOM Distiller This adds support for reporting whether the perceived quality of the distillation of a web page is good. The user choice is recorded as UMA stats. This CL only implements a UI for Android. BUG=319881 R=jar@chromium.org, newt@chromium.org, shashishekhar@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257506

Patch Set 1 #

Patch Set 2 : Comment fix #

Patch Set 3 : Updated implementation with UI #

Total comments: 30

Patch Set 4 : Addressed all comments #

Patch Set 5 : Rebased, and also fixed tiny comment style issue #

Patch Set 6 : Fixed disableUI again and comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+611 lines, -9 lines) Patch
A chrome/android/java/res/drawable-xhdpi/distillation_quality_answer_no_faded.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/distillation_quality_answer_no_pressed.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/distillation_quality_answer_yes_faded.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/distillation_quality_answer_yes_pressed.png View 1 2 Binary file 0 comments Download
A + chrome/android/java/res/drawable/distillation_quality_answer_no.xml View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A + chrome/android/java/res/drawable/distillation_quality_answer_yes.xml View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A chrome/android/java/res/layout/feedback_reporting_view.xml View 1 2 3 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/Tab.java View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/banners/SwipableOverlayView.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/FeedbackReporter.java View 1 2 3 1 chunk +150 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/FeedbackReportingView.java View 1 2 3 4 5 1 chunk +142 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/android/dom_distiller/feedback_reporter_android.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/android/dom_distiller/feedback_reporter_android.cc View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M components/dom_distiller.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A components/dom_distiller/core/feedback_reporter.h View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A components/dom_distiller/core/feedback_reporter.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
nyquist
yfriedman: PTAL
6 years, 9 months ago (2014-03-12 17:50:37 UTC) #1
nyquist
jar: PTAL tools/metrics/histograms/ dfalcantara: UI and usage of SwipableOverlayView shashishekhar: *dom_distiller*
6 years, 9 months ago (2014-03-14 19:05:27 UTC) #2
shashi
dom_distiller: lgtm with nits. https://codereview.chromium.org/197473006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/FeedbackReporter.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/FeedbackReporter.java (right): https://codereview.chromium.org/197473006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/FeedbackReporter.java#newcode88 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/FeedbackReporter.java:88: * Dismiss the overlay which ...
6 years, 9 months ago (2014-03-14 20:33:24 UTC) #3
jar (doing other things)
histograms.xml LGTM
6 years, 9 months ago (2014-03-14 23:54:46 UTC) #4
nyquist
newt: PTAL UI
6 years, 9 months ago (2014-03-15 00:09:40 UTC) #5
newt (away)
just nits https://codereview.chromium.org/197473006/diff/40001/chrome/android/java/res/layout/feedback_reporting_view.xml File chrome/android/java/res/layout/feedback_reporting_view.xml (right): https://codereview.chromium.org/197473006/diff/40001/chrome/android/java/res/layout/feedback_reporting_view.xml#newcode11 chrome/android/java/res/layout/feedback_reporting_view.xml:11: android:id="@+id/feedback_reporting_view" nit, put id before all other ...
6 years, 9 months ago (2014-03-17 18:19:19 UTC) #6
nyquist
newt: PTAL https://codereview.chromium.org/197473006/diff/40001/chrome/android/java/res/layout/feedback_reporting_view.xml File chrome/android/java/res/layout/feedback_reporting_view.xml (right): https://codereview.chromium.org/197473006/diff/40001/chrome/android/java/res/layout/feedback_reporting_view.xml#newcode11 chrome/android/java/res/layout/feedback_reporting_view.xml:11: android:id="@+id/feedback_reporting_view" On 2014/03/17 18:19:19, newt wrote: > ...
6 years, 9 months ago (2014-03-17 20:13:41 UTC) #7
newt (away)
lgtm Looking forward to seeing this in action!
6 years, 9 months ago (2014-03-17 20:51:20 UTC) #8
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 9 months ago (2014-03-17 21:27:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/197473006/80001
6 years, 9 months ago (2014-03-17 21:28:26 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-17 21:35:39 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-17 21:35:40 UTC) #12
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 9 months ago (2014-03-17 21:47:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/197473006/80001
6 years, 9 months ago (2014-03-17 21:53:49 UTC) #14
nyquist
The CQ bit was unchecked by nyquist@chromium.org
6 years, 9 months ago (2014-03-17 22:20:00 UTC) #15
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 9 months ago (2014-03-17 22:23:21 UTC) #16
nyquist
6 years, 9 months ago (2014-03-17 22:57:07 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 manually as r257506 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698