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

Issue 2824493003: MD Settings: Elim is-list-item from cr-network-list-item (Closed)

Created:
3 years, 8 months ago by stevenjb
Modified:
3 years, 8 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, dbeam+watch-elements_chromium.org, michaelpg+watch-md-settings_chromium.org, achuith+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, dbeam+watch-closure_chromium.org, stevenjb+watch-md-settings_chromium.org, michaelpg+watch-elements_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Elim is-list-item from cr-network-list-item Currently we use cr-network-list-item in two ways: 1. As a summary for the ntetwork type (e.g. WiFi) in the Settings UI. 2. As an item in a list of networks in Settings and OOBE. Use case #1 complicates the code and adds extra complexity to the main Settings UI page. Eliminating it simplifies the code with only a small amount of duplication. It also allows more flexibility in customizing the main Settings page layout. BUG=704042 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2824493003 Cr-Commit-Position: refs/heads/master@{#465302} Committed: https://chromium.googlesource.com/chromium/src/+/e3b1b256fd85fa0c846e49240e681d4f5cee91f7

Patch Set 1 #

Patch Set 2 : . #

Total comments: 10

Patch Set 3 : Feedback #

Patch Set 4 : Fix function definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -92 lines) Patch
M chrome/browser/resources/chromeos/login/oobe_welcome.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/network_ui/network_ui.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary_item.html View 1 2 3 chunks +30 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary_item.js View 1 2 3 2 chunks +55 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/network_element_localized_strings_provider.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/webui/settings/internet_page_tests.js View 1 chunk +0 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list.html View 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list_item.html View 1 2 2 chunks +6 lines, -14 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list_item.js View 1 2 6 chunks +11 lines, -63 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_onc_types.js View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
stevenjb
3 years, 8 months ago (2017-04-14 19:29:50 UTC) #3
Alexander Alekseev
lgtm
3 years, 8 months ago (2017-04-15 00:57:28 UTC) #4
michaelpg
https://codereview.chromium.org/2824493003/diff/20001/chrome/browser/resources/settings/internet_page/network_summary_item.html File chrome/browser/resources/settings/internet_page/network_summary_item.html (right): https://codereview.chromium.org/2824493003/diff/20001/chrome/browser/resources/settings/internet_page/network_summary_item.html#newcode19 chrome/browser/resources/settings/internet_page/network_summary_item.html:19: flex 2; needs a colon. or if it's working ...
3 years, 8 months ago (2017-04-17 20:24:36 UTC) #5
stevenjb
ptal https://codereview.chromium.org/2824493003/diff/20001/chrome/browser/resources/settings/internet_page/network_summary_item.html File chrome/browser/resources/settings/internet_page/network_summary_item.html (right): https://codereview.chromium.org/2824493003/diff/20001/chrome/browser/resources/settings/internet_page/network_summary_item.html#newcode19 chrome/browser/resources/settings/internet_page/network_summary_item.html:19: flex 2; On 2017/04/17 20:24:35, michaelpg wrote: > ...
3 years, 8 months ago (2017-04-17 21:02:39 UTC) #6
michaelpg
lgtm
3 years, 8 months ago (2017-04-18 05:04:25 UTC) #7
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/2824493003/40001
3 years, 8 months ago (2017-04-18 15:10:09 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/407489)
3 years, 8 months ago (2017-04-18 15:24:08 UTC) #12
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/2824493003/60001
3 years, 8 months ago (2017-04-18 17:07:38 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 18:49:46 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e3b1b256fd85fa0c846e49240e68...

Powered by Google App Engine
This is Rietveld 408576698