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

feat(site/src/pages/TemplateBuilder): add ModuleSettingsStep - #26428

Merged
jeremyruppel merged 3 commits into
mainfrom
jeremy/devex-286-fe-modulesettingsstep
Jun 18, 2026
Merged

feat(site/src/pages/TemplateBuilder): add ModuleSettingsStep#26428
jeremyruppel merged 3 commits into
mainfrom
jeremy/devex-286-fe-modulesettingsstep

Conversation

@jeremyruppel

@jeremyruppel jeremyruppel commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Implement the module settings wizard step, which renders a ModuleConfiguration card per selected module with variable configuration fields.

  • Map non-sensitive variables to ConfigurationFieldDefinition (switch for bool, text input for string/number)
  • Show info notice with code tags for sensitive variables that will be collected from developers at workspace creation
  • Disable Continue button until all required non-sensitive variables across all selected modules have values (moduleSettingsComplete helper)
  • Step is automatically skipped when no selected modules have configurable variables

Relates to DEVEX-286.

Note

This PR was authored with Coder Agents.

@linear-code

linear-code Bot commented Jun 16, 2026

Copy link
Copy Markdown

DEVEX-286


function moduleDetailsUrl(moduleId: string): string {
return `https://registry.coder.com/modules/${moduleId}`;
}

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.

like the other PRs, this will come from the backend soon

@jeremyruppel
jeremyruppel marked this pull request as ready for review June 16, 2026 17:54
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-285-fe-moduleselectstep branch from 32f0468 to ec336be Compare June 16, 2026 20:42
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-286-fe-modulesettingsstep branch from 39f07dd to bc5ca0b Compare June 16, 2026 20:42
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-285-fe-moduleselectstep branch from ec336be to 612d943 Compare June 17, 2026 15:59
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-286-fe-modulesettingsstep branch from bc5ca0b to 6723495 Compare June 17, 2026 15:59
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-285-fe-moduleselectstep branch from 612d943 to 0094680 Compare June 17, 2026 18:58
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-286-fe-modulesettingsstep branch from 6723495 to 4c13d89 Compare June 17, 2026 18:58
Base automatically changed from jeremy/devex-285-fe-moduleselectstep to main June 18, 2026 13:42
Implement the module settings wizard step:

- Add ModuleSettingsStep component that renders a ModuleConfiguration
  card per selected module with configurable variable fields
- Map non-sensitive variables to ConfigurationField definitions
  (switch for bool, text input for string/number)
- Show info notice for sensitive variables indicating they will be
  collected from developers at workspace creation
- Export moduleSettingsComplete helper to validate required fields
- Extend canContinue in PageView to gate module-settings step
- Wire the step into TemplateBuilderPageView with SET_MODULE_VARIABLES
  dispatch

@aqandrew aqandrew left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm, just one non-blocking question about an edge case when deselecting modules. If there ends up being some complexity I didn't account for in my suggestion, I'm good with merging this PR as is and handling that edge case in a separate issue/PR

Comment thread site/src/pages/TemplateBuilder/TemplateBuilderPageView.tsx
… sidebar

Co-authored-by: Andrew Aquino <dawneraq@gmail.com>
@datadog-coder

This comment has been minimized.

@jeremyruppel
jeremyruppel merged commit 20ed45c into main Jun 18, 2026
29 of 31 checks passed
@jeremyruppel
jeremyruppel deleted the jeremy/devex-286-fe-modulesettingsstep branch June 18, 2026 17:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 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