Skip to content

Welcome app inside starter templates #4201

Closed as not planned
Closed as not planned
@kylecarbs

Description

@kylecarbs

We've received numerous issues about confusion with our getting started experience.

The primary complaint is that our Docker experience doesn't explicitly state that dialing the host is required, and our web UI doesn't indicate an error; it just says "Connecting" forever.

I've also found it confusing to have numerous Docker examples because the user is trying to optimize for "does it work," not "is it featureful?"

Step 1. Separate example templates from quickstarts

We should have a single template for each unique infrastructure type. e.g.

  • Virtual Machines on Azure
  • Virtual Machines on Google Cloud
  • Virtual Machines on Digital Ocean
  • Containers on AWS ECS
  • Containers on Docker
  • Containers on Kubernetes

Examples can be more bespoke and have additional features like dotfiles, but quickstarts should be simple and straight-forward.

Step 2. Add a getting-started HTTP server to advertise workspace applications

Instead of installing code-server in every template (which can easily get outdated or maybe just not work if the prospect is air-gapped), we should have a default application in every quickstart that displays what the user can do next. Tailscale does this nicely:

image

This would be called "Get Started" and display as a normal workspace application, but when opened a screen like this might appear:

image

This looks brutal, but you get the point.

Step 3. Add a timeout parameter to the coder_agent resource

After the specified duration of inactivity, the UI and CLI would display that something wrong happened. Templates can define a debug_url parameter in their front-matter that can direct users to a help page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions