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
Differential D8198
[native] Add error handling to KeyserverSelection ashoat on Jun 13 2023, 10:22 AM. Authored by Tags None Referenced Files
Subscribers
Details 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 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 TimelineComment 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 |