Skip to content

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Feb 11, 2026

Summary

  • Updated the confirmation dialog when updating a workspace to make it clear that the action will restart the workspace
  • Renamed the "Update" button to "Update and Restart" so users understand the consequence before confirming

Before:
image

After:
image

Updates #784

@EhabY EhabY requested a review from matifali February 12, 2026 08:32
src/commands.ts Outdated
useCustom: true,
modal: true,
detail: `Update ${createWorkspaceIdentifier(this.workspace)} to the latest version?\n\nUpdating will restart your workspace which stops any running processes and may result in the loss of unsaved work.`,
detail: `Updating ${createWorkspaceIdentifier(this.workspace)} to the latest template version will restart your workspace. Running processes will be stopped and unsaved work may be lost.`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the line break as it was, making it look cleaner.

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 suppose with the same (old) message then? So essentially we just change the action to indicate the restart (not ignorable)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think. That sounds good to me. Is it possible to make the button red, orange, or yellow?

Copy link
Collaborator Author

@EhabY EhabY Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly no, we cannot change this. Even they use info for deleting files (with the same 'ol themed button):

image

Copy link
Member

@matifali matifali Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think it's better to reprompt, people tend to skim and not read the whole thing

Can we add another prompt?
I don't think renaming the button alone solves the pain point.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could do a follow up prompt yes, but see this comment: #784 (comment)

Essentially it would be a 3-step process instead of 2:

  1. Click "Update Workspace" on the statusbar OR Click "Update" on the notification OR execute "Update Workspace" command from the palette
  2. Get the modal above (currently we stop here)
  3. Ask for confirmation again

If we want to do the 3-step process, then what would we show differently to the modal on step (2)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. I think @sreya should help us here on what would be best. IMO, changing the button is sufficient, but it would be best to validate with the end user who reported it.

Let's merge this as it is with a renamed button, and we can consider a 3rd prompt in a follow-up if needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets keep the issue open and update that we updated the button name

matifali
matifali previously approved these changes Feb 12, 2026
@EhabY EhabY merged commit bba3f38 into main Feb 12, 2026
6 checks passed
@EhabY EhabY deleted the warn-about-restart-when-updating-workspace branch February 12, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants