Skip to content

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

Merged
merged 3 commits into from
Feb 2, 2023

Conversation

BrunoQuaresma
Copy link
Collaborator

Now:
Screen Shot 2023-02-01 at 18 10 28

Before:
image

Fix #5393 and #5432

@BrunoQuaresma BrunoQuaresma requested review from mafredri and a team February 1, 2023 21:13
@BrunoQuaresma BrunoQuaresma self-assigned this Feb 1, 2023
@BrunoQuaresma BrunoQuaresma requested review from Kira-Pilot and removed request for a team February 1, 2023 21:13
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>
Copy link
Member

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.

Copy link
Member

@mafredri mafredri left a 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
Copy link
Member

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.)

Copy link
Collaborator Author

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.

@BrunoQuaresma BrunoQuaresma merged commit 7b49517 into main Feb 2, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/improve-agent-row branch February 2, 2023 18:19
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show the agent version in the outdated dropdown
3 participants