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

Issue 9006003: Refactor and fix feedback (Closed)

Created:
9 years ago by rkc
Modified:
8 years, 11 months ago
CC:
chromium-reviews, GeorgeY, jstritar+watch_chromium.org, John Grabowski, Nirnimesh, dhollowa+watch_chromium.org, mihaip+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews), dyu1, Paweł Hajdan Jr., dennis_jeffrey, anantha, Ilya Sherman, tfarina
Visibility:
Public.

Description

Refactor and fix feedback This CL does the following things, .) Removes user-facing categories from the UI completely. .) Changes categories that are still used (Autofill for example) use category tags instead of the category enum (which has been deprecated) .) Updates the protocol buffers .) Refactors the code to change bug report to feedback and re-organizes the file naming/layout .) Cleans up the unused feedback strings, files and code .) Cleans up the code at a few places .) Makes a few UI changes to get closer to the mock given in chromium:98738 This seems like a really huge CL but in reality it just just a couple of hundred lines of 'code' changes; a lot of this is just code being deleted BUG=chromium:98738 TEST=Tested sending reports. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116598

Patch Set 1 #

Patch Set 2 : Nits. #

Total comments: 2

Patch Set 3 : Remove extra include. #

Total comments: 22

Patch Set 4 : Review changes + test fix. #

Total comments: 2

Patch Set 5 : Added TODO #

Patch Set 6 : Merge #

Total comments: 1

Patch Set 7 : Merge + nitsfix #

Patch Set 8 : 2011 -> 2012 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -5342 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 3 chunks +28 lines, -189 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/app/nibs/ReportBug.xib View 1 chunk +0 lines, -2030 lines 0 comments Download
M chrome/browser/autofill/autofill_feedback_infobar_delegate.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/browser_resources.grd View 2 chunks +3 lines, -3 lines 0 comments Download
D chrome/browser/bug_report_data.h View 1 chunk +0 lines, -85 lines 0 comments Download
D chrome/browser/bug_report_data.cc View 1 chunk +0 lines, -119 lines 0 comments Download
D chrome/browser/bug_report_util.h View 1 2 3 4 5 6 1 chunk +0 lines, -110 lines 0 comments Download
D chrome/browser/bug_report_util.cc View 1 2 3 4 5 6 1 chunk +0 lines, -405 lines 0 comments Download
A + chrome/browser/feedback/feedback_data.h View 1 2 3 4 5 6 7 5 chunks +10 lines, -10 lines 0 comments Download
A + chrome/browser/feedback/feedback_data.cc View 1 2 3 4 5 6 7 8 chunks +15 lines, -16 lines 0 comments Download
A + chrome/browser/feedback/feedback_util.h View 1 2 3 4 5 6 7 5 chunks +11 lines, -11 lines 0 comments Download
A + chrome/browser/feedback/feedback_util.cc View 1 2 3 4 5 6 7 17 chunks +39 lines, -33 lines 0 comments Download
A + chrome/browser/feedback/proto/annotations.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/feedback/proto/chrome.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/feedback/proto/common.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/feedback/proto/config.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/feedback/proto/dom.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/feedback/proto/extension.proto View 1 chunk +80 lines, -0 lines 0 comments Download
A + chrome/browser/feedback/proto/math.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/feedback/proto/web.proto View 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/browser/resources/bug_report.css View 1 chunk +0 lines, -184 lines 0 comments Download
D chrome/browser/resources/bug_report.html View 1 chunk +0 lines, -188 lines 0 comments Download
D chrome/browser/resources/bug_report.js View 1 chunk +0 lines, -329 lines 0 comments Download
D chrome/browser/resources/bug_report_invalid.html View 1 chunk +0 lines, -10 lines 0 comments Download
A + chrome/browser/resources/feedback.css View 3 chunks +10 lines, -18 lines 0 comments Download
A + chrome/browser/resources/feedback.html View 9 chunks +20 lines, -32 lines 0 comments Download
A + chrome/browser/resources/feedback.js View 1 2 3 4 5 6 7 6 chunks +9 lines, -52 lines 0 comments Download
A + chrome/browser/resources/feedback_invalid.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 1 2 3 4 5 6 7 4 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/bidi_checker_web_ui_test.cc View 1 2 3 4 5 6 1 chunk +8 lines, -9 lines 0 comments Download
D chrome/browser/ui/webui/bug_report_ui.h View 1 2 3 4 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/ui/webui/bug_report_ui.cc View 1 2 3 4 5 1 chunk +0 lines, -632 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_factory.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
A chrome/browser/ui/webui/feedback_ui.h View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A + chrome/browser/ui/webui/feedback_ui.cc View 1 2 3 4 5 6 7 17 chunks +105 lines, -194 lines 0 comments Download
D chrome/browser/userfeedback/proto/annotations.proto View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/userfeedback/proto/chrome.proto View 1 chunk +0 lines, -59 lines 0 comments Download
D chrome/browser/userfeedback/proto/common.proto View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/browser/userfeedback/proto/config.proto View 1 chunk +0 lines, -141 lines 0 comments Download
D chrome/browser/userfeedback/proto/dom.proto View 1 chunk +0 lines, -100 lines 0 comments Download
D chrome/browser/userfeedback/proto/extension.proto View 1 chunk +0 lines, -108 lines 0 comments Download
D chrome/browser/userfeedback/proto/math.proto View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/browser/userfeedback/proto/web.proto View 1 chunk +0 lines, -86 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 5 chunks +17 lines, -18 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 5 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 5 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/data/webui/bidichecker_tests.js View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/functional/special_tabs.py View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
rkc
Ready for review :)
9 years ago (2011-12-22 01:21:39 UTC) #1
tfarina
http://codereview.chromium.org/9006003/diff/1055/chrome/browser/ui/gtk/browser_window_gtk.cc File chrome/browser/ui/gtk/browser_window_gtk.cc (right): http://codereview.chromium.org/9006003/diff/1055/chrome/browser/ui/gtk/browser_window_gtk.cc#newcode75 chrome/browser/ui/gtk/browser_window_gtk.cc:75: #include "chrome/browser/ui/webui/feedback_ui.h" Why do you need to include this ...
9 years ago (2011-12-22 01:47:39 UTC) #2
rkc
Removed extra include from browser_window_gtk.cc http://codereview.chromium.org/9006003/diff/1055/chrome/browser/ui/gtk/browser_window_gtk.cc File chrome/browser/ui/gtk/browser_window_gtk.cc (right): http://codereview.chromium.org/9006003/diff/1055/chrome/browser/ui/gtk/browser_window_gtk.cc#newcode75 chrome/browser/ui/gtk/browser_window_gtk.cc:75: #include "chrome/browser/ui/webui/feedback_ui.h" On 2011/12/22 ...
9 years ago (2011-12-22 01:54:50 UTC) #3
xiyuan
http://codereview.chromium.org/9006003/diff/3004/chrome/browser/autofill/autofill_feedback_infobar_delegate.cc File chrome/browser/autofill/autofill_feedback_infobar_delegate.cc (right): http://codereview.chromium.org/9006003/diff/3004/chrome/browser/autofill/autofill_feedback_infobar_delegate.cc#newcode16 chrome/browser/autofill/autofill_feedback_infobar_delegate.cc:16: const char kCategoryTagAutofill[] = "Autofill"; "static" or anonymous namespace ...
9 years ago (2011-12-22 02:18:22 UTC) #4
tfarina
http://codereview.chromium.org/9006003/diff/3004/chrome/browser/autofill/autofill_feedback_infobar_delegate.cc File chrome/browser/autofill/autofill_feedback_infobar_delegate.cc (right): http://codereview.chromium.org/9006003/diff/3004/chrome/browser/autofill/autofill_feedback_infobar_delegate.cc#newcode16 chrome/browser/autofill/autofill_feedback_infobar_delegate.cc:16: const char kCategoryTagAutofill[] = "Autofill"; On 2011/12/22 02:18:23, xiyuan ...
9 years ago (2011-12-22 02:20:43 UTC) #5
rkc
Review changes incorporated and TestBugReportPage browser test renamed and fixed. http://codereview.chromium.org/9006003/diff/3004/chrome/browser/autofill/autofill_feedback_infobar_delegate.cc File chrome/browser/autofill/autofill_feedback_infobar_delegate.cc (right): http://codereview.chromium.org/9006003/diff/3004/chrome/browser/autofill/autofill_feedback_infobar_delegate.cc#newcode16 ...
9 years ago (2011-12-22 22:41:45 UTC) #6
xiyuan
LGTM Think you also need blessing from browser/resources/OWNERS.
9 years ago (2011-12-22 22:50:28 UTC) #7
rkc
Added all three owners from browser/resources in case one logs on during the holidays :) ...
8 years, 12 months ago (2011-12-28 23:34:57 UTC) #8
James Hawkins
LGTM with some feedback. *ahem*. http://codereview.chromium.org/9006003/diff/11001/chrome/browser/resources/feedback.css File chrome/browser/resources/feedback.css (right): http://codereview.chromium.org/9006003/diff/11001/chrome/browser/resources/feedback.css#newcode169 chrome/browser/resources/feedback.css:169: padding-top: 24px; Not going ...
8 years, 11 months ago (2012-01-01 00:55:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/9006003/21001
8 years, 11 months ago (2012-01-05 04:39:09 UTC) #10
commit-bot: I haz the power
Can't process patch for file chrome/browser/resources/bug_report_invalid.html. File's status is None, patchset upload is incomplete.
8 years, 11 months ago (2012-01-05 04:39:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rkc@chromium.org/9006003/28003
8 years, 11 months ago (2012-01-05 05:01:27 UTC) #12
commit-bot: I haz the power
Can't process patch for file chrome/browser/resources/bug_report_invalid.html. File's status is None, patchset upload is incomplete.
8 years, 11 months ago (2012-01-05 05:01:36 UTC) #13
rkc
Added sky@ for the browser/ui OWNERS review.
8 years, 11 months ago (2012-01-05 22:17:12 UTC) #14
sky
8 years, 11 months ago (2012-01-05 22:20:15 UTC) #15
LGTM

http://codereview.chromium.org/9006003/diff/28003/chrome/browser/ui/webui/fee...
File chrome/browser/ui/webui/feedback_ui.h (right):

http://codereview.chromium.org/9006003/diff/28003/chrome/browser/ui/webui/fee...
chrome/browser/ui/webui/feedback_ui.h:17: const std::string& category_tag);
nit: fix spacing on lines 16/17.

Powered by Google App Engine
This is Rietveld 408576698