Skip to content
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

Deployment URL is not refreshed after log out and login to another deployment #66

Open
fioan89 opened this issue Apr 3, 2025 · 1 comment · May be fixed by #67
Open

Deployment URL is not refreshed after log out and login to another deployment #66

fioan89 opened this issue Apr 3, 2025 · 1 comment · May be fixed by #67
Labels
upstream Issues awaiting an upstream issue

Comments

@fioan89
Copy link
Collaborator

fioan89 commented Apr 3, 2025

  1. Login to dev.coder.com
  2. https://dev.coder.com is rendered in the main screen
  3. log out and log in to another deployment
  4. https://dev.coder.com is still rendered but with workspaces from the new deployment
  5. restart toolbox
  6. the new url and the new workspaces are rendered
Screen.Recording.2025-04-04.at.00.29.45.mov
@fioan89 fioan89 added this to the Toolbox launch milestone Apr 3, 2025
@fioan89
Copy link
Collaborator Author

fioan89 commented Apr 3, 2025

@matifali the Toolbox API is again limiting wrt to the visible title on the main page, it is not allowed to be changed. We can ask JetBrains to be more flexible but in the meantime we can workaround by re-designing the header bar a bit. See the before vs after below. What is your opinion?

Image

Image

fioan89 added a commit that referenced this issue Apr 3, 2025
- the main env header page API is quite limiting, in the sense that the title is never allowed to change.
  Today we display the Coder URL as the title. However, if the user switches between two deployments by
  logging out and then logging in, the URL is never refreshed, leading to a confusing UI (URL is old,
  while workspaces are from the new deployment)
- to workaround the issue we redesigned the page, to have a static string as the page, and bellow the first
  row, have a link field reflecting the new URL.

 - resolves #66
@fioan89 fioan89 linked a pull request Apr 3, 2025 that will close this issue
@matifali matifali added the upstream Issues awaiting an upstream issue label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Issues awaiting an upstream issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants