Skip to content

[Feature Request] Option to display port ranges as ranges instead of lists, or option to truncate port list #702

Description

@corombb

Problem statement

Unsure if this is considered a bug report or a feature request, but v1.0.18's container view displays only a few ports then a "+###", which is good - services like LiveKit need a relatively wide port range, and listing all 100+ ports individually makes the container list very annoying to browse.

This is how my container list view looked in v1.0.18:

Image

v.1.0.20 appears to have changed this behavior, now showing all ports individually, which causes containers like LiveKit to consume the entire screen while scrolling:

Image

Proposed solution

Give us a UI option to display port ranges as ranges, instead of lists of individual ports - for ex "64500-64599:64500-64599" should display as 64500-64599 or 64500-64599:64500-64599, not:

64500:64500
64501:64501
64502:64502
[94 other ports]
64597:64597
64598:64598
64599:64599

Alternatives considered

Truncate the list, like in versions prior to v1.0.20

Additional context

I am using the version of Dockhand distributed through the TrueNAS SCALE apps catalog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready to gofixed, goes to the next release

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions