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

Issue 2971903002: Adding error handling to the connection flow. (Closed)

Created:
3 years, 5 months ago by nicholss
Modified:
3 years, 5 months ago
Reviewers:
Yuwei
CC:
chromium-reviews, ios-reviews_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding error handling to the connection flow. Adding a reconnect button and generic error display for reconnection flow. Adding some logic around enabling the connect button based on pin length. Adding a red circle to the error state view in connection flow. Review-Url: https://codereview.chromium.org/2971903002 Cr-Commit-Position: refs/heads/master@{#484967} Committed: https://chromium.googlesource.com/chromium/src/+/f5407a1825ca1557eed0f65a2aedb73d7aaec60e

Patch Set 1 #

Patch Set 2 : Minor cleanup before review. #

Total comments: 15

Patch Set 3 : Removed unused code. #

Patch Set 4 : Reworking the layout for session connection to use auto-layout. #

Patch Set 5 : Adding pin entry and reconnect auto-layout.: #

Total comments: 9

Patch Set 6 : Trying out activateConstraints. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+501 lines, -103 lines) Patch
M remoting/ios/app/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/ios/app/client_connection_view_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/ios/app/client_connection_view_controller.mm View 1 2 3 4 13 chunks +262 lines, -73 lines 0 comments Download
M remoting/ios/app/pin_entry_view.h View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/ios/app/pin_entry_view.mm View 1 2 3 4 6 chunks +70 lines, -23 lines 0 comments Download
A remoting/ios/app/session_reconnect_view.h View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A remoting/ios/app/session_reconnect_view.mm View 1 2 3 4 5 1 chunk +75 lines, -0 lines 0 comments Download
M remoting/ios/domain/client_session_details.h View 2 chunks +19 lines, -0 lines 0 comments Download
M remoting/ios/domain/client_session_details.mm View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/ios/session/remoting_client.mm View 1 chunk +41 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (13 generated)
nicholss
PTAL
3 years, 5 months ago (2017-07-05 20:58:03 UTC) #2
Yuwei
Thanks for fixing the sad path :) Just a few comments https://codereview.chromium.org/2971903002/diff/20001/remoting/client/chromoting_session.cc File remoting/client/chromoting_session.cc (right): ...
3 years, 5 months ago (2017-07-05 21:43:42 UTC) #3
nicholss
PTAL, I used a combo of VFL and anchors. https://codereview.chromium.org/2971903002/diff/20001/remoting/client/chromoting_session.cc File remoting/client/chromoting_session.cc (right): https://codereview.chromium.org/2971903002/diff/20001/remoting/client/chromoting_session.cc#newcode281 remoting/client/chromoting_session.cc:281: ...
3 years, 5 months ago (2017-07-06 20:49:02 UTC) #4
Yuwei
LGTM once comments are resolved https://codereview.chromium.org/2971903002/diff/20001/remoting/ios/app/client_connection_view_controller.mm File remoting/ios/app/client_connection_view_controller.mm (right): https://codereview.chromium.org/2971903002/diff/20001/remoting/ios/app/client_connection_view_controller.mm#newcode173 remoting/ios/app/client_connection_view_controller.mm:173: _statusLabel.font.pointSize * _statusLabel.numberOfLines * ...
3 years, 5 months ago (2017-07-06 21:52:39 UTC) #5
nicholss
https://codereview.chromium.org/2971903002/diff/80001/remoting/ios/app/client_connection_view_controller.mm File remoting/ios/app/client_connection_view_controller.mm (right): https://codereview.chromium.org/2971903002/diff/80001/remoting/ios/app/client_connection_view_controller.mm#newcode180 remoting/ios/app/client_connection_view_controller.mm:180: [self.view addConstraints: On 2017/07/06 21:52:39, Yuwei wrote: > The ...
3 years, 5 months ago (2017-07-06 22:15:06 UTC) #6
Yuwei
https://codereview.chromium.org/2971903002/diff/80001/remoting/ios/app/client_connection_view_controller.mm File remoting/ios/app/client_connection_view_controller.mm (right): https://codereview.chromium.org/2971903002/diff/80001/remoting/ios/app/client_connection_view_controller.mm#newcode260 remoting/ios/app/client_connection_view_controller.mm:260: [self.view setNeedsUpdateConstraints]; On 2017/07/06 22:15:06, nicholss wrote: > On ...
3 years, 5 months ago (2017-07-06 22:36:28 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/2971903002/100001
3 years, 5 months ago (2017-07-07 17:33:19 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 17:38:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/f5407a1825ca1557eed0f65a2aed...

Powered by Google App Engine
This is Rietveld 408576698