-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add progress messages when creating sync sessions #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ethan/workspace-apps
Are you sure you want to change the base?
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
@@ -69,6 +68,9 @@ struct VPNMenuState { | |||
invalidAgents.append(agent) | |||
return | |||
} | |||
// Remove trailing dot if present | |||
let nonEmptyHosts = agent.fqdn.map { $0.hasSuffix(".") ? String($0.dropLast()) : $0 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array being non-empty is checked above.
bd5638d
to
1063155
Compare
This loading might take a minute on a poor connection, and there's currently no feedback indicating what's going on, so we can display the prompt messages in the meantime.
i.e. setting up a workspace with a fair bit of latency:
createsyncprogress.mov
This PR also contains a small refactor for the
Agent
primaryHost
, removing all the subsequent nil checks as we know it exists on creation.