Skip to content

feat(site): display prerequisites in base template step#26524

Open
jeremyruppel wants to merge 1 commit into
jeremy/devex-446-show-template-prerequisites-in-advance-in-uifrom
jeremy/devex-446-fe-prerequisites-ui
Open

feat(site): display prerequisites in base template step#26524
jeremyruppel wants to merge 1 commit into
jeremy/devex-446-show-template-prerequisites-in-advance-in-uifrom
jeremy/devex-446-fe-prerequisites-ui

Conversation

@jeremyruppel

Copy link
Copy Markdown
Contributor

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

@linear-code

linear-code Bot commented Jun 18, 2026

Copy link
Copy Markdown

DEVEX-446

@datadog-coder

This comment has been minimized.

@jeremyruppel jeremyruppel changed the title feat(site/TemplateBuilder): display prerequisites in base template step feat(site): display prerequisites in base template step Jun 18, 2026
@jeremyruppel jeremyruppel force-pushed the jeremy/devex-446-fe-prerequisites-ui branch 2 times, most recently from f647f67 to b83c4a9 Compare June 18, 2026 15:40
Show the prerequisites section from the base template README in the
Base Template Parameters step of the template builder wizard. The
content is rendered as full markdown using MemoizedMarkdown, preserving
any H2/H3 headings from the original README between the comment markers.

The base-parameters step is now shown when the selected base has either
configurable parameters or prerequisites content, so templates like
Docker (which has no parameters but does have prerequisites) will show
the step.

Part of DEVEX-446
@jeremyruppel jeremyruppel force-pushed the jeremy/devex-446-fe-prerequisites-ui branch from b83c4a9 to 6f77e9b Compare June 18, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant