Skip to content

Workspace Proxy UI: Selecting proxy, latency, listing #7495

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

Closed
Emyrk opened this issue May 11, 2023 · 0 comments · Fixed by #7715
Closed

Workspace Proxy UI: Selecting proxy, latency, listing #7495

Emyrk opened this issue May 11, 2023 · 0 comments · Fixed by #7715
Assignees

Comments

@Emyrk
Copy link
Member

Emyrk commented May 11, 2023

Workspace Proxy UI/UX

Redo/facelift the workspace proxy UI. Including how to interact with the feature.

The current UI for workspace proxies lives in the account settings page:

Screenshot from 2023-05-11 09-45-52

The RFC had a design like this:

The final UI/UX can be up for discussion in this issue.

Interactions

  • Select a workspace proxy.
  • Users can manually decide what proxy they want to use
  • Clear selection and rely on the default
  • "Default" has some logic behind the scenes. The default will be the healthy proxy with the lowest latency. User selection overrides the default.
  • If a user's selection becomes unhealthy, their option is ignored and the "default" is chosen.

Implementation details

The entire state of the proxy UI is driven by a context. The new UI should rely entirely on these context values.

https://github.com/coder/coder/blob/stevenmasley%2Fproxy_picker/site/src/contexts/ProxyContext.tsx#L14-L24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants