Problem to solve
When a workspace contains (pending) changes (uncommitted files or unpushed commits) there's a indication on the workspaces list there are changes.
When a user tries to delete a workspace from the dashboard, they get a confirmation modal. However, there's no clear indication whether the associated workspace contains pending changes (uncommitted files or unpushed commits).
A
customer
is interested in this feature request, see relevant discussion (internal).
Proposal
A good MVC could be to include a warning alert in the confirmation modal when deleting a workspace with pending changes.
| Workspace with changes |
BEFORE |
AFTER |
 |
 |
 |
Risks
However, when reopening a stopped workspace with changes there's no clear indication that there are pending changes and users can still delete the workspace from the more actions menu. ❗
| Stopped workspace with changes |
Reopened workspace with changes |
 |
 |
Problem to solve
When a workspace contains (pending) changes (uncommitted files or unpushed commits) there's a indication on the workspaces list there are changes.
When a user tries to delete a workspace from the dashboard, they get a confirmation modal. However, there's no clear indication whether the associated workspace contains pending changes (uncommitted files or unpushed commits).
A customer is interested in this feature request, see relevant discussion (internal).
Proposal
A good MVC could be to include a warning alert in the confirmation modal when deleting a workspace with pending changes.
Risks
However, when reopening a stopped workspace with changes there's no clear indication that there are pending changes and users can still delete the workspace from the more actions menu. ❗