feat: add Quickstart template with language and IDE selection#24904
Conversation
Docs preview📖 View docs preview for |
64c5b28 to
d9976c3
Compare
| "quickstart", | ||
| "docker", | ||
| "kubernetes", | ||
| "aws-linux", | ||
| "aws-windows", | ||
| "gcp-linux", | ||
| "gcp-windows", | ||
| "azure-linux", |
There was a problem hiding this comment.
I'm open to a different combo of starter templates to feature on the main Templates page, if we feel these 6 don't accurately reflect what we want. However, I do think that whatever we choose, Quickstart should always be the first one in the list.
There was a problem hiding this comment.
Yeah, I think for the sake of this PR adding Quickstart and Azure feels like a solid changeset
2c0b669 to
a68ea8c
Compare
bpmct
left a comment
There was a problem hiding this comment.
Just tried this and I'm really happy with it! One thing that could be nice is adding support for dotfiles with our dotfiles module to show users how they can personalize their workspaces too (doesn't need to be a part of a preset) but I'm super impressed with how simple this is and it works. Also the waiting time to install the language isn't bad and admins can obviously bake these into images long-term
| "quickstart", | ||
| "docker", | ||
| "kubernetes", | ||
| "aws-linux", | ||
| "aws-windows", | ||
| "gcp-linux", | ||
| "gcp-windows", | ||
| "azure-linux", |
There was a problem hiding this comment.
Yeah, I think for the sake of this PR adding Quickstart and Azure feels like a solid changeset
…DE selection Add a new Quickstart starter template that lets users pick programming languages, editors, and an optional Git repo to clone. JetBrains IDEs are filtered by the selected languages. Includes a Docker daemon precondition check via the external provider for a friendlier error when Docker is unavailable.
…able The default=true preset pre-selects on form load and locks parameter values, preventing users from customizing their language and IDE selections.
…rdering and JetBrains handling - Rename display_name from 'Quickstart' to 'Coder Quickstart' - Add order attributes to parameters for consistent form layout - Replace JetBrains module with conditional coder_parameter to avoid ghost parameter when JetBrains is not selected in IDEs - Comment out Docker availability check (blocks template import due to start_count=1 during dry-run) - Remove '(default)' from Web Development preset docs - Regenerate examples.gen.json
Restore docs/admin/security/audit-logs.md and site/src/api/rbacresourcesGenerated.ts to match main. These were swept in by an earlier 'make gen' run that produced output drifting from main. The drift is purely cosmetic (sort ordering and stale content on main), but it is unrelated to the quickstart template work and was confusing to reviewers.
fcf428f to
4f0e83a
Compare
Add a new Quickstart starter template that lets users pick programming languages, editors, and an optional Git repo to clone. The template uses Docker under the hood but presents a developer-focused experience: pick your tools, start coding.
What's included
data "external"+terraform_dataprecondition to surface a friendly error when Docker is unavailable, before the Docker provider fails with a cryptic messagecoder_scriptto avoid apt-get lock conflicts (agent scripts run in parallel viaerrgroup)Design decisions
coder_scriptover startup_script: Language installs use a templated script file (install-languages.sh.tftpl) driven by the languages parameter. A single script avoids dpkg lock contention sincecoder_scriptresources execute concurrently.data "external"for Docker check: The external provider probes Docker availability independently of the Docker provider. If Docker is down, theterraform_dataprecondition fails with a human-readable message before anydocker_*resource is evaluated. This depends on the Docker provider connecting lazily (at resource eval time, not at provider init), which current behavior confirms.defaultto the JetBrains module.uname -mto download the correct Go binary for amd64 or arm64.Screenshots and recordings from the UI
Screen.Recording.2026-05-05.at.2.50.50.PM.mov
Note
This PR was authored by Coder Agents.