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

Issue 2534333002: Show 'Send Feedback' button on the sad tab page on multiple failures (Closed)

Created:
4 years ago by JJ
Modified:
4 years ago
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show 'Send Feedback' on the sad tab page on multiple failures Fixed bug 665237 Fixed a bug where if you reloaded twice it would not show you "Send Feedback" as the primary button. As this is how it is in both all other Chrome versions we emulated this feature here as well. BUG=665237 Committed: https://crrev.com/e3f3136a52ce8425f1a67d470203f83f8e961245 Cr-Commit-Position: refs/heads/master@{#435774}

Patch Set 1 #

Total comments: 40

Patch Set 2 : Updated based on twellington's comments #

Total comments: 14

Patch Set 3 : Modified based off of sdefresne's comments #

Patch Set 4 : Fixed based of twellington's most recent comments. #

Total comments: 16

Patch Set 5 : Fixed code based off of twellington's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -23 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java View 1 2 3 4 2 chunks +16 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/SadTabViewFactory.java View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 4 4 chunks +35 lines, -5 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java View 1 2 3 4 3 chunks +82 lines, -10 lines 0 comments Download
M components/new_or_sad_tab_strings.grdp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (26 generated)
JJ
Hey Teresa! I'm messaging you since you seem to have had the most recent and ...
4 years ago (2016-11-30 18:12:16 UTC) #6
Ted C
On 2016/11/30 18:12:16, JJ wrote: > Hey Teresa! > > I'm messaging you since you ...
4 years ago (2016-11-30 18:30:58 UTC) #7
JJ
sdefresne@chromium.org: Please review changes in components/new_or_sad_tab_string.grdp I added a string that is displayed in Android ...
4 years ago (2016-11-30 19:04:54 UTC) #9
JJ
On 2016/11/30 18:30:58, Ted C wrote: > On 2016/11/30 18:12:16, JJ wrote: > > Hey ...
4 years ago (2016-11-30 19:36:05 UTC) #11
Theresa
All of the nits on code comments are my personal preference. It's up to you ...
4 years ago (2016-11-30 19:42:38 UTC) #12
JJ
Alright updated cl based off of comments. Asked a few questions in them so please ...
4 years ago (2016-11-30 23:55:54 UTC) #14
sdefresne
lgtm https://codereview.chromium.org/2534333002/diff/20001/components/new_or_sad_tab_strings.grdp File components/new_or_sad_tab_strings.grdp (right): https://codereview.chromium.org/2534333002/diff/20001/components/new_or_sad_tab_strings.grdp#newcode34 components/new_or_sad_tab_strings.grdp:34: <message name="IDS_SAD_TAB_SEND_FEEDBACK_LABEL" desc="Button label in the sad tab ...
4 years ago (2016-12-01 10:29:34 UTC) #19
Theresa
https://codereview.chromium.org/2534333002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java (right): https://codereview.chromium.org/2534333002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java#newcode75 chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java:75: * button from "Reload" to "Send Feedback". On 2016/11/30 ...
4 years ago (2016-12-01 16:21:22 UTC) #22
Theresa
nits on the CLs description "Fixed bug 665237" -- This line isn't necessary since BUG= ...
4 years ago (2016-12-01 16:25:15 UTC) #23
JJ
https://codereview.chromium.org/2534333002/diff/20001/components/new_or_sad_tab_strings.grdp File components/new_or_sad_tab_strings.grdp (right): https://codereview.chromium.org/2534333002/diff/20001/components/new_or_sad_tab_strings.grdp#newcode34 components/new_or_sad_tab_strings.grdp:34: <message name="IDS_SAD_TAB_SEND_FEEDBACK_LABEL" desc="Button label in the sad tab page ...
4 years ago (2016-12-01 16:39:07 UTC) #24
JJ
Alright, fixed all the comments you've asked for! https://codereview.chromium.org/2534333002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java (right): https://codereview.chromium.org/2534333002/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java#newcode66 chrome/android/javatests/src/org/chromium/chrome/browser/tab/SadTabTest.java:66: tab.simulateRendererKilledForTesting(false); ...
4 years ago (2016-12-01 17:54:41 UTC) #27
JJ
holte: Please review changes in tools/metrics/actions/actions.xml I added a metric to differentiate when the user ...
4 years ago (2016-12-01 18:00:07 UTC) #29
Theresa
lgtm % nits https://codereview.chromium.org/2534333002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java (right): https://codereview.chromium.org/2534333002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java#newcode1733 chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java:1733: * @param recordAction The user action ...
4 years ago (2016-12-01 19:54:05 UTC) #30
JJ
Fixed everything based off your messages! Thanks again! Just gotta wait for 2 more lgtms ...
4 years ago (2016-12-01 22:39:41 UTC) #31
gone
OWNERS lgtm; Theresa seems to have this covered.
4 years ago (2016-12-01 22:55:08 UTC) #32
JJ
On 2016/12/01 22:55:08, dfalcantara (check my queue) wrote: > OWNERS lgtm; Theresa seems to have ...
4 years ago (2016-12-01 23:10:21 UTC) #35
Steven Holte
lgtm
4 years ago (2016-12-01 23:29:54 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2534333002/80001
4 years ago (2016-12-01 23:43:41 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-01 23:53:36 UTC) #44
commit-bot: I haz the power
4 years ago (2016-12-01 23:55:15 UTC) #46
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e3f3136a52ce8425f1a67d470203f83f8e961245
Cr-Commit-Position: refs/heads/master@{#435774}

Powered by Google App Engine
This is Rietveld 408576698