feat(environments): add deploy with version selection modal#2299
Conversation
|
Qovery can create a Preview Environment for this PR.
This comment has been generated from Qovery AI 🤖.
|
0bcaa13 to
75a597f
Compare
|
Hey @peter-adam-dy 👋 I'm Théo, senior designer at Qovery! Thanks a lot for your contribution, we had a look and this is indeed a feature that would be interesting to have at environment level, since it's only existing at service level for now. We will probably use your PR as a base and rework it to merge your modal with the "Deploy latest version" modal that also exists at env level. As it's two similar use cases, I think it will probably be better to merged them, and avoid overcrowding the deploy dropdown as it already has 3 other actions competing with it. In the end, it will probably end up looking similar to this screen, where you'll be able to update to the latest version easily for your outdated services, but you'll also be able to choose a specific version if you want for your outdated or up-to-date services. I'll let you know when it's live, but thanks again for your contribution, we really appreciate it!
|
Hey, @TheoGrandin74, that looks stunning! Love the idea of merging both modals, super clean and easy to understand. Looking forward to it! 😍 |


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.