mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Display the base template prerequisites in the Template Builder wizard. Stacked on #26523. The `base-parameters` wizard step now renders the prerequisites markdown (served by the backend `prerequisites` field) below the variable configuration fields using `MemoizedMarkdown`. The step is shown when the base has parameters **or** prerequisites, so Docker (no parameters, has prerequisites) now shows this step. ## Changes - `SelectedBaseMeta` gains `hasPrerequisites` boolean - `toSelectedBaseMeta()` populates it from `base.prerequisites` - `base-parameters` step skip logic: show when base has parameters or prerequisites - `BaseTemplateParametersStep`: render full prerequisites markdown as-is (headings intact) - Updated all test fixtures with the new field *Generated with the assistance of an AI coding agent. Reviewed by @jeremyruppel.* Relates to https://linear.app/codercom/issue/DEVEX-446