I want to display an error to the user if we aren't able to reach the keyserver that they've selected.
Depends on D8197
Paths
| Differential D8198 Authored by ashoat on Jun 13 2023, 10:22 AM.
Details Summary I want to display an error to the user if we aren't able to reach the keyserver that they've selected. Depends on D8197 Test Plan First, I overrode defaultURLPrefix in native/utils/url-utils.js to return some random string. That made sure that the "default" of Ashoat's keyserver does not work, and makes it so the registration flow only worked if the user selected a custom keyserver and all of the server calls in the registration flow used that custom keyserver. Next, I played around with the screen:
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptJun 13 2023, 10:22 AM2023-06-13 10:22:45 (UTC-7) ashoat edited the test plan for this revision. (Show Details)Jun 13 2023, 10:25 AM2023-06-13 10:25:30 (UTC-7) Harbormaster completed remote builds in B20217: Diff 27692.Jun 13 2023, 11:03 AM2023-06-13 11:03:15 (UTC-7) Harbormaster completed remote builds in B20219: Diff 27694.Jun 13 2023, 11:17 AM2023-06-13 11:17:17 (UTC-7) Comment Actions Probably outside the scope of this diff, but might be worth to consider disabling auto correct on the Enter a keyserver RegistrationTextInput in a follow up diff. Would avoid the situation in the demo video where "localhost" => "local host" and I think if people had unique keyserver names in the future, autocorrect here could be annoying in the user experience This revision is now accepted and ready to land.Jun 13 2023, 12:56 PM2023-06-13 12:56:40 (UTC-7) Comment Actions
Good call. I'll do that in D8194 This revision was landed with ongoing or failed builds.Jun 14 2023, 6:14 AM2023-06-14 06:14:32 (UTC-7) Closed by commit rCOMMc07b9f31f489: [native] Add error handling to KeyserverSelection (authored by ashoat). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B20244: Diff 27726.Jun 14 2023, 6:26 AM2023-06-14 06:26:59 (UTC-7)
Revision Contents
Diff 27737 native/account/registration/keyserver-selection.react.js
|