|
|
Chromium Code Reviews
Description[ash-md] Removes "Connecting..." suffix from the network and VPN detailed pages rows
BUG=674501
TEST=visual
Committed: https://crrev.com/b8902e3db6fc7b4350f4e3490a840d8e32512cec
Cr-Commit-Position: refs/heads/master@{#440023}
Patch Set 1 : [ash-md] Removes Connecting... suffix from the network row #
Total comments: 3
Patch Set 2 : [ash-md] Removes Connecting... suffix from the network row (avoids changing web-ui) #
Total comments: 2
Patch Set 3 : [ash-md] Removes 'Connecting...' suffix from the network row (nit) #
Total comments: 4
Patch Set 4 : [ash-md] Removes 'Connecting...' suffix from the network row (nits) #
Messages
Total messages: 35 (22 generated)
The CQ bit was checked by varkha@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
varkha@chromium.org changed reviewers: + tdanderson@chromium.org
tdanderson@, PTAL. I think every call site where we use the GetLabelForNetwork(... , ICON_TYPE_LIST) in connecting state will add a secondary status line. This can be merged in M-56. We should look further to add activated and other states that are so far missed in the secondary status line.
The CQ bit was unchecked by varkha@chromium.org
Patchset #1 (id:1) has been deleted
The CQ bit was checked by varkha@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
bruthig@chromium.org changed reviewers: + bruthig@chromium.org
https://codereview.chromium.org/2587133003/diff/20001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/20001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:938: if (!UseMd() && network->IsConnectingState()) { It appears that this code path is used during OOBE as well (see NetworkDropdown::SetNetworkIconAndText()). Was it a conscious decision to remove the state from there as well?
https://codereview.chromium.org/2587133003/diff/20001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/20001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:938: if (!UseMd() && network->IsConnectingState()) { On 2016/12/20 20:26:01, bruthig wrote: > It appears that this code path is used during OOBE as well (see > NetworkDropdown::SetNetworkIconAndText()). Was it a conscious decision to > remove the state from there as well? Makes me wonder if it should use ICON_TYPE_DEFAULT_VIEW here - https://cs.chromium.org/chromium/src/chrome/browser/ui/webui/chromeos/login/n...
PTAL. https://codereview.chromium.org/2587133003/diff/20001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/20001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:938: if (!UseMd() && network->IsConnectingState()) { On 2016/12/20 20:58:56, varkha wrote: > On 2016/12/20 20:26:01, bruthig wrote: > > It appears that this code path is used during OOBE as well (see > > NetworkDropdown::SetNetworkIconAndText()). Was it a conscious decision to > > remove the state from there as well? > > Makes me wonder if it should use ICON_TYPE_DEFAULT_VIEW here - > https://cs.chromium.org/chromium/src/chrome/browser/ui/webui/chromeos/login/n... It looked like adding a value to the enum was simpler for now, considering possible merge in M-56.
lgtm with nit https://codereview.chromium.org/2587133003/diff/40001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/40001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:931: // TODO(varkha): Remaining states should migrate to secondary status in the nit: Can this TODO reference an issue?
Oh, and maybe update the CL description to include VPN.
Description was changed from ========== [ash-md] Removes "Connecting..." suffix from the network row BUG=674501 TEST=visual ========== to ========== [ash-md] Removes "Connecting..." suffix from the network and VPN detailed pages rows BUG=674501 TEST=visual ==========
https://codereview.chromium.org/2587133003/diff/40001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/40001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:931: // TODO(varkha): Remaining states should migrate to secondary status in the On 2016/12/20 22:00:21, bruthig wrote: > nit: Can this TODO reference an issue? Done.
varkha@chromium.org changed reviewers: - tdanderson@chromium.org
varkha@chromium.org changed reviewers: + sadrul@chromium.org
sadrul@, can you please take a look for OWNERS?
The CQ bit was checked by varkha@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:936: IDS_ASH_STATUS_TRAY_NETWORK_LIST_RECONNECTING, We want to still show "Reconnecting..."? https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.h (right): https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.h:53: // NULL. nullptr
Thanks! https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.cc (right): https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.cc:936: IDS_ASH_STATUS_TRAY_NETWORK_LIST_RECONNECTING, On 2016/12/21 02:05:54, sadrul wrote: > We want to still show "Reconnecting..."? For now yes, this is what the mentioned bug is about. It is not too bad since the secondary status is not shown for that case so we will show "<network>: Reconnecting" as the main string and there will be no secondary status. https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... File ash/common/system/chromeos/network/network_icon.h (right): https://codereview.chromium.org/2587133003/diff/60001/ash/common/system/chrom... ash/common/system/chromeos/network/network_icon.h:53: // NULL. On 2016/12/21 02:05:54, sadrul wrote: > nullptr Done.
The CQ bit was checked by varkha@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bruthig@chromium.org, sadrul@chromium.org Link to the patchset: https://codereview.chromium.org/2587133003/#ps80001 (title: "[ash-md] Removes 'Connecting...' suffix from the network row (nits)")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1482295016308340,
"parent_rev": "881a295f7bcbbac3e2fddc55c52a58f29214254a", "commit_rev":
"b052792fe9f3fd1cbcd4998f0ca2902995871dc8"}
Message was sent while issue was closed.
Description was changed from ========== [ash-md] Removes "Connecting..." suffix from the network and VPN detailed pages rows BUG=674501 TEST=visual ========== to ========== [ash-md] Removes "Connecting..." suffix from the network and VPN detailed pages rows BUG=674501 TEST=visual Review-Url: https://codereview.chromium.org/2587133003 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== [ash-md] Removes "Connecting..." suffix from the network and VPN detailed pages rows BUG=674501 TEST=visual Review-Url: https://codereview.chromium.org/2587133003 ========== to ========== [ash-md] Removes "Connecting..." suffix from the network and VPN detailed pages rows BUG=674501 TEST=visual Committed: https://crrev.com/b8902e3db6fc7b4350f4e3490a840d8e32512cec Cr-Commit-Position: refs/heads/master@{#440023} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/b8902e3db6fc7b4350f4e3490a840d8e32512cec Cr-Commit-Position: refs/heads/master@{#440023} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
