8000 Workspace Proxy UI: Selecting proxy, latency, listing · Issue #7495 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Workspace Proxy UI: Selecting proxy, latency, listing #7495
Closed
@Emyrk

Description

@Emyrk

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0