-
Notifications
You must be signed in to change notification settings - Fork 904
refactor(site): Add more info on agent outdated tooltip and update action #5967
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
Conversation
This agent is an older version than the Coder server. This can | ||
happen after you update Coder with running workspaces. To fix | ||
this, you can stop and start the workspace. | ||
</HelpTooltipText> |
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.
We should add a translation.
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.
Didn't test this, but looks good, I also like that you included the versions in the message 👍🏻. I didn't see what mechanism is used for the update, but I'm assuming it's a stop+start?
onClick={onUpdate} | ||
ariaLabel="Update workspace" | ||
> | ||
Update workspace |
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.
Should we add a warning that this will restart the workspace and running applications will be terminated? (Or something along those lines.)
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.
I think it is a good idea but I think it is "common sense" that updating something will turn it off. We have other parts on the app we could use this warning to warn users about update actions (or actions that terminate the workspace) so, to make this work worth it, I would wait for users to ask for that.
Now:

Before:

Fix #5393 and #5432