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

Issue 2720503006: MD Settings: Internet: Move network lists to a subpage (Closed)

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

Description

MD Settings: Internet: Move network lists to a subpage This CL: * Moves the lists of networks and the associated logic from network-summary-item to internet-subpage. * Changes the network-summary listener pattern to match other usage. * Adds missing aria-label for buttons and toggles. * Fixes a bug in cr-network-icon causing it to show the security badge for disconnected summary items. * Adds a separator bar before the subpage button in cr-network-list-item. BUG=673944 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2720503006 Cr-Commit-Position: refs/heads/master@{#454368} Committed: https://chromium.googlesource.com/chromium/src/+/945290e9adf66a1cc7cd5a1fd089fe3ae3400a8b

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : Rebase #

Total comments: 29

Patch Set 4 : Feedback #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+651 lines, -530 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/app/settings_strings.grdp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/icons.html View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/compiled_resources2.gyp View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_known_networks_page.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_page.html View 3 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_page.js View 1 2 3 5 chunks +49 lines, -1 line 0 comments Download
A chrome/browser/resources/settings/internet_page/internet_subpage.html View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download
A + chrome/browser/resources/settings/internet_page/internet_subpage.js View 1 2 3 6 chunks +264 lines, -176 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary.html View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary.js View 6 chunks +13 lines, -78 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary_item.html View 1 2 3 4 4 chunks +10 lines, -60 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_summary_item.js View 1 5 chunks +25 lines, -167 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/network_element_localized_strings_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/fake_networking_private.js View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M chrome/test/data/webui/settings/internet_page_tests.js View 1 2 3 5 chunks +89 lines, -24 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_icon.js View 1 chunk +7 lines, -4 lines 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list.html View 1 chunk +0 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list_item.html View 2 chunks +14 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (11 generated)
stevenjb
PTAL when you have a chance. I'd love to get this in before the branch ...
3 years, 9 months ago (2017-02-28 18:33:53 UTC) #4
stevenjb
re-uploaded with --similarity=20 to get delta from network-summary-item.js -> internet_subpage.js, but it's still a pretty ...
3 years, 9 months ago (2017-03-01 21:47:27 UTC) #5
michaelpg
Comments span a couple patches, just FYI. Most of these are nits (and many of ...
3 years, 9 months ago (2017-03-01 23:28:00 UTC) #6
stevenjb
PTAL https://codereview.chromium.org/2720503006/diff/20001/chrome/browser/resources/settings/internet_page/internet_page.js File chrome/browser/resources/settings/internet_page/internet_page.js (right): https://codereview.chromium.org/2720503006/diff/20001/chrome/browser/resources/settings/internet_page/internet_page.js#newcode56 chrome/browser/resources/settings/internet_page/internet_page.js:56: notify: true, On 2017/03/01 23:27:59, michaelpg wrote: > ...
3 years, 9 months ago (2017-03-02 00:25:17 UTC) #7
michaelpg
lgtm https://codereview.chromium.org/2720503006/diff/40001/chrome/browser/resources/settings/internet_page/internet_subpage.js File chrome/browser/resources/settings/internet_page/internet_subpage.js (right): https://codereview.chromium.org/2720503006/diff/40001/chrome/browser/resources/settings/internet_page/internet_subpage.js#newcode24 chrome/browser/resources/settings/internet_page/internet_subpage.js:24: * Highest priority connected network or null. Set ...
3 years, 9 months ago (2017-03-02 01:25:00 UTC) #8
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/2720503006/60001
3 years, 9 months ago (2017-03-02 01:54:51 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/242628)
3 years, 9 months ago (2017-03-02 05:30:36 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/2720503006/60001
3 years, 9 months ago (2017-03-02 16:35:18 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/settings/internet_page/network_summary_item.html: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-02 18:08:03 UTC) #16
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/2720503006/80001
3 years, 9 months ago (2017-03-02 18:56:19 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/945290e9adf66a1cc7cd5a1fd089fe3ae3400a8b
3 years, 9 months ago (2017-03-02 20:47:48 UTC) #22
chanli1
On 2017/03/02 20:47:48, commit-bot: I haz the power wrote: > Committed patchset #5 (id:80001) as ...
3 years, 9 months ago (2017-03-03 17:43:56 UTC) #23
stevenjb
3 years, 9 months ago (2017-03-03 18:31:06 UTC) #24
Message was sent while issue was closed.
On 2017/03/03 17:43:56, chanli1 wrote:
> On 2017/03/02 20:47:48, commit-bot: I haz the power wrote:
> > Committed patchset #5 (id:80001) as
> >
>
https://chromium.googlesource.com/chromium/src/+/945290e9adf66a1cc7cd5a1fd089...
> 
> Hello,
> 
> Based on Findit result on
>
https://findit-for-me.appspot.com/waterfall/failure?url=https://luci-milo.app...,
> it looks like this change may have caused
> CrSettingsInternetPageTest.InternetPageTest in browser_tests to be flaky.
Could
> you kindly check if that's true?
> 
> Thank you!
> Chan Li

See crbug.com/698109 and https://codereview.chromium.org/2727643010/ :)

Powered by Google App Engine
This is Rietveld 408576698