🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

feat(site): add BaseInfraSelectStep - #26424

Merged
jeremyruppel merged 1 commit into
mainfrom
jeremy/devex-283-fe-baseinfraselectstep
Jun 17, 2026
Merged

feat(site): add BaseInfraSelectStep#26424
jeremyruppel merged 1 commit into
mainfrom
jeremy/devex-283-fe-baseinfraselectstep

Conversation

@jeremyruppel

@jeremyruppel jeremyruppel commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Implement the first wizard step for selecting a base infrastructure template.

  • Add getTemplateBuilderBases API client method and react-query wrapper
  • Render a responsive grid of TemplateCard components fetched from GET /api/v2/templatebuilder/bases
  • Map TemplateBuilderBase to SelectedBaseMeta with hasParameters derived from the base variables
  • Single-choice selection that dispatches SET_BASE to wizard state, preserving selection on back navigation

Relates to DEVEX-283.

Note

This PR was authored with Coder Agents.

@linear-code

linear-code Bot commented Jun 16, 2026

Copy link
Copy Markdown

DEVEX-283


function detailsUrl(baseId: string): string {
return `https://registry.coder.com/templates/${baseId}`;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably going to move this to the backend in a future PR

@jeremyruppel
jeremyruppel marked this pull request as ready for review June 16, 2026 17:47
@jeremyruppel jeremyruppel changed the title feat(site/src/pages/TemplateBuilder): add BaseInfraSelectStep feat(site): add BaseInfraSelectStep Jun 16, 2026
Base automatically changed from jeremy/devex-282-fe-route-wizard-shell-and-feature-flag-gating to main June 16, 2026 20:38
Implement the first wizard step for selecting a base infrastructure
template:

- Add getTemplateBuilderBases API client method
- Add react-query wrapper in api/queries/templateBuilder.ts
- Add BaseInfraSelectStep component that fetches bases and renders
  TemplateCard components in a responsive grid
- Wire the step into TemplateBuilderPageView, replacing the
  placeholder when the current step is base-infra
- Export SelectedBaseMeta from wizardState.ts for the step callback
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-283-fe-baseinfraselectstep branch from 68ca05a to d046b0f Compare June 16, 2026 20:42
@jeremyruppel
jeremyruppel merged commit 286bd83 into main Jun 17, 2026
30 checks passed
@jeremyruppel
jeremyruppel deleted the jeremy/devex-283-fe-baseinfraselectstep branch June 17, 2026 15:51
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants