Display auto-assigned external port for TCP/UDP services#397
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the container “Services” form UI to surface the auto-assigned external port for TCP/UDP transport services (read-only), using data that is already returned by the API but previously not displayed.
Changes:
- Extend the client-side service form schema to include an optional
externalPort. - Populate
externalPortfromtransportService.externalPortwhen initializing the edit form. - Render a read-only “External port” line for
tcp/udpservices, showing “Auto-assigned on save” for new/unsaved services.
The external port for TCP/UDP transport services is auto-assigned by the backend and already serialized by the API, but it was never shown in the UI. Surface it (read-only) in each TCP/UDP service row of the container form; new, unsaved services show "Auto-assigned on save".
1e26a00 to
206b187
Compare
cmyers-mieweb
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part of #360 (split out for a small, self-contained review).
What
TCP/UDP transport services get an auto-assigned external port. The value is already stored and serialized by the API, but it was never shown in the UI. This surfaces it (read-only) in each TCP/UDP service row of the container form. New, unsaved services show "Auto-assigned on save".
Scope
Frontend only — a single change to
ContainerFormPage.tsx:externalPortto the service form schema,transportService.externalPortwhen editing,tcp/udpservices.No backend, model, migration, or API changes.
Notes
tsc -b --noEmitandvite buildpass.