Skip to content

Better UX when coder_app URL is visited and workspace/app is not ready #19984

@bpmct

Description

@bpmct

Problem Statement

Many users are building automations around Coder, where the control plane is rarely visited, but coder_apps (e.g. code-server) itself are visited commonly.

In some cases, the Coder workspace may be stopped (e.g. if there is a link or it is bookmarked). For the user, the experience looks like this:

Image

Proposal

If the workspace is stopped:

  • Show a warning indicating the workspace has stopped with an option to start
  • If ?autostart=true is in the URL, this should automatically start the workspace
  • Then, when clicked, it should show the condition(s) below

If the workspace is still starting:

  • Show the provisioning logs (the tasks provisioning page does this well)

If the startups scripts are still running:

  • Show the provisioning logs (the tasks provisioning page does this well

Related Community Discussions

#6243

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions