Determine why workspace stopped and provide appropriate warning/info page on dashboard if needed #21516
Labels
area/dashboard
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P2
Has a minor but important impact to the usage or development of the system.
sprint/next
Is your enhancement related to a problem? Please describe
Continuation of #20599
Currently, when a workspace is not running, accessing the workspace url (e.g. the devworkspace CR's
status.mainUrl
) will redirect the user to the dashboard with a warning page. The user is redirected to the dashboard in this case because eclipse-che/che-operator#1392 routes the workspace url requests to the dashboard if the workspace itself is not running.Warning page:
Although initially meant to be displayed only for workspace timeout cases, this warning page acts as a page that is shown when trying to go to workspace url for a workspace that has not started.
In other words, a user can see this page if they don't start the workspace and then by accessing the workspace url. This case would not typically happen since the dashboard does not direct the user to the workspace url if the workspace is not running.
Describe the solution you'd like
Since there can be many reasons a workspace is not running, it would be great if there were different warning/info pages that the dashboard provides in various scenarios:
workspace has stopped due to a timeout:
workspace was not started in the first place:
workspace was running, and then was stopped unexpectedly (need to investigate potential reasons why this might happen):
These warning/info/error pages would appear only when being redirected to the dashboard after accessing the workspace's url.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: