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

Issue 10825291: Diagnostics UI: more UI implementation. (Closed)

Created:
8 years, 4 months ago by hshi1
Modified:
8 years, 4 months ago
Reviewers:
xiyuan, Nico, sky
CC:
chromium-reviews, arv (Not doing code reviews), stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Diagnostics UI: more UI implementation. Implement encapsulated JS handling of the diagnostics page. Adjust the page layout and element styles to match the Chrome OS Diagnostics Implementation Plan V1 document. Handle i18n for all strings. BUG=139442 TEST=lumpy device. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152044

Patch Set 1 : Almost functional now. #

Patch Set 2 : Minor style tweaks. #

Patch Set 3 : Determine active adapter. #

Total comments: 13

Patch Set 4 : Rebase @ 151548 (with PNG resources landed); handle i18n strings in the HTML. #

Patch Set 5 : Remove hard-coded font family names; use i18n-values instead. #

Patch Set 6 : Use local_strings.js to support i18n in JS; avoid innerHTML manipulation. #

Total comments: 3

Patch Set 7 : Use formatted templates in grd file to handle the long paragraphs of UI strings. #

Total comments: 10

Patch Set 8 : Fix minor indentation problem. #

Patch Set 9 : Address Xiyuan's nits. #

Total comments: 4

Patch Set 10 : A few minor nits. #

Patch Set 11 : Rebase @ 151975. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -41 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/diagnostics/main.css View 1 2 3 4 5 6 2 chunks +32 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/diagnostics/main.html View 1 2 3 4 5 1 chunk +13 lines, -6 lines 0 comments Download
M chrome/browser/resources/chromeos/diagnostics/main.js View 1 2 3 4 5 6 7 8 9 1 chunk +231 lines, -30 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/diagnostics/diagnostics_ui.cc View 1 2 3 4 5 6 3 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
hshi1
Please take a look at this patch; it mostly deals with the JS layer for ...
8 years, 4 months ago (2012-08-13 23:51:34 UTC) #1
hshi1
Question about landing new assets (PNG image): it looks like it is causing make failures ...
8 years, 4 months ago (2012-08-14 02:18:19 UTC) #2
xiyuan
On 2012/08/14 02:18:19, hshi1 wrote: > Question about landing new assets (PNG image): it looks ...
8 years, 4 months ago (2012-08-14 16:49:57 UTC) #3
xiyuan
http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.html File chrome/browser/resources/chromeos/diagnostics/main.html (right): http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.html#newcode23 chrome/browser/resources/chromeos/diagnostics/main.html:23: <div id="loading">Loading...</div> We should not have text directly in ...
8 years, 4 months ago (2012-08-14 17:00:01 UTC) #4
hshi1
http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.html File chrome/browser/resources/chromeos/diagnostics/main.html (right): http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.html#newcode23 chrome/browser/resources/chromeos/diagnostics/main.html:23: <div id="loading">Loading...</div> On 2012/08/14 17:00:01, xiyuan wrote: > We ...
8 years, 4 months ago (2012-08-14 20:09:28 UTC) #5
xiyuan
http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.js#newcode20 chrome/browser/resources/chromeos/diagnostics/main.js:20: {adapter: 'wwan0', name: '3G'}, On 2012/08/14 20:09:28, hshi1 wrote: ...
8 years, 4 months ago (2012-08-14 23:00:38 UTC) #6
hshi1
http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/7004/chrome/browser/resources/chromeos/diagnostics/main.js#newcode20 chrome/browser/resources/chromeos/diagnostics/main.js:20: {adapter: 'wwan0', name: '3G'}, On 2012/08/14 23:00:39, xiyuan wrote: ...
8 years, 4 months ago (2012-08-15 00:44:32 UTC) #7
xiyuan
http://codereview.chromium.org/10825291/diff/15001/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/15001/chrome/browser/resources/chromeos/diagnostics/main.js#newcode223 chrome/browser/resources/chromeos/diagnostics/main.js:223: '2) reboot your router<br /></div>'; On 2012/08/15 00:44:33, hshi1 ...
8 years, 4 months ago (2012-08-15 16:36:07 UTC) #8
hshi1
http://codereview.chromium.org/10825291/diff/15001/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/15001/chrome/browser/resources/chromeos/diagnostics/main.js#newcode223 chrome/browser/resources/chromeos/diagnostics/main.js:223: '2) reboot your router<br /></div>'; On 2012/08/15 16:36:07, xiyuan ...
8 years, 4 months ago (2012-08-15 22:59:25 UTC) #9
xiyuan
LGTM with nits http://codereview.chromium.org/10825291/diff/13009/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/13009/chrome/browser/resources/chromeos/diagnostics/main.js#newcode11 chrome/browser/resources/chromeos/diagnostics/main.js:11: function DiagPage() {} nit: Move this ...
8 years, 4 months ago (2012-08-15 23:41:28 UTC) #10
hshi1
http://codereview.chromium.org/10825291/diff/13009/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/13009/chrome/browser/resources/chromeos/diagnostics/main.js#newcode11 chrome/browser/resources/chromeos/diagnostics/main.js:11: function DiagPage() {} On 2012/08/15 23:41:28, xiyuan wrote: > ...
8 years, 4 months ago (2012-08-16 00:29:17 UTC) #11
xiyuan
still LGTM http://codereview.chromium.org/10825291/diff/12012/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/12012/chrome/browser/resources/chromeos/diagnostics/main.js#newcode29 chrome/browser/resources/chromeos/diagnostics/main.js:29: function createElementFromText(elementName, text) { nit: This function ...
8 years, 4 months ago (2012-08-16 17:13:31 UTC) #12
hshi1
http://codereview.chromium.org/10825291/diff/12012/chrome/browser/resources/chromeos/diagnostics/main.js File chrome/browser/resources/chromeos/diagnostics/main.js (right): http://codereview.chromium.org/10825291/diff/12012/chrome/browser/resources/chromeos/diagnostics/main.js#newcode29 chrome/browser/resources/chromeos/diagnostics/main.js:29: function createElementFromText(elementName, text) { On 2012/08/16 17:13:31, xiyuan wrote: ...
8 years, 4 months ago (2012-08-16 18:40:41 UTC) #13
hshi1
Add cpu@ for generated_resources.grd.
8 years, 4 months ago (2012-08-16 20:06:14 UTC) #14
hshi1
I just pinged James and found that he is OOO till 8/21. Adding darin@ and ...
8 years, 4 months ago (2012-08-16 21:26:23 UTC) #15
hshi1
I'm afriad Darin is also OOO. Add thakis@ to review the grd file changes, thanks!
8 years, 4 months ago (2012-08-16 21:54:55 UTC) #16
sky
LGTM
8 years, 4 months ago (2012-08-16 23:06:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/10825291/9018
8 years, 4 months ago (2012-08-16 23:07:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/10825291/9018
8 years, 4 months ago (2012-08-17 01:59:27 UTC) #19
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 03:29:06 UTC) #20
Try job failure for 10825291-9018 (retry) on linux_rel for step
"interactive_ui_tests".
It's a second try, previously, step "interactive_ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...

Powered by Google App Engine
This is Rietveld 408576698