feat(environments): add deploy with version selection modal #2299
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Issue: –
What this PR does
This PR introduces a new "Deploy with version selection" modal that allows users to select multiple services and deploy them with specific version overrides. This brings Console feature parity with the Deploy Services API endpoint.
Motivation / Problem solved
Currently, the Console supports:
This PR adds the missing piece:
We're excited to bring these powerful API capabilities into a friendly visual interface!
API feature parity
This modal provides a UI for the Deploy Services endpoint (
POST /environment/{environmentId}/service/deploy).Supported version overrides by service type:
Payload construction:
The modal builds a
DeployAllRequestpayload matching the API specification:Key implementation details
New files created:
deploy-with-version-modal.tsxservice-version-row.tsxuse-services-for-deploy.tsChanges to shared components
InputSelect enhancements:
onChange('')call when clearing selectionUX features
Entry point
Added new dropdown menu item in
EnvironmentActionToolbar:Screenshots / Recordings
Kapture.2026-01-13.at.15.09.15.mp4
Testing
yarn testoryarn test -u(if you need to regenerate snapshots)yarn formatyarn lintTest coverage added
deploy-with-version-modal.spec.tsxservice-version-row.spec.tsxuse-services-for-deploy.spec.tsxPR Checklist
.cursor/rules)feat(environments): add deploy with version selection modal)This PR was entirely coded using Claude Code.