Thanks to visit codestin.com
Credit goes to github.com

Skip to content

You must refresh the page to see the latest ports in "port forward" dialog #9135

@bpmct

Description

@bpmct

In old versions of Coder, you used to be able to click the port forward dialog and see newly opened ports. However, since Coder only requests ports once when the page loads, this is inaccurate if you do the following:

Current behavior

  1. Open workspace in web UI
  2. Start a server from the terminal: python3 -m http.server 3000
  3. Notice the port count did not increase
  4. Notice that when you click the dialog port 3000 appears
  5. Refresh the page to see the new port
Screen.Recording.2023-08-16.at.12.48.23.PM.mov

Desired behavior

It constantly has accurate port info without a refresh

Metadata

Metadata

Assignees

Labels

must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions