Skip to content

Add protocol list display functionality for container creation#45

Merged
horner merged 2 commits intomainfrom
copilot/fix-44
Sep 19, 2025
Merged

Add protocol list display functionality for container creation#45
horner merged 2 commits intomainfrom
copilot/fix-44

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Sep 18, 2025

When users configure additional protocols during container creation, they previously had to guess protocol abbreviations from memory. This enhancement adds the ability to display all available protocols in a formatted, easy-to-read table.

Changes

Before

Enter the protocol abbreviation (e.g, LDAP for Lightweight Directory Access Protocol). Type "e" to exit

Users had to guess from 145+ available protocol abbreviations with no way to see what options were available.

After

Enter the protocol abbreviation (e.g, LDAP for Lightweight Directory Access Protocol). Type "list" to see available protocols or "e" to exit

When users type list, they now see:

📋 Available Protocols:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LDAP         Port 389    (tcp)
MYSQL        Port 3306   (tcp)
POSTGRES     Port 5432   (tcp)
REDIS        Port 6379   (tcp)
MONGO        Port 27017  (tcp)
...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Implementation

  • Added show_available_protocols() function that formats and displays all protocols from the master protocol list
  • Enhanced user prompts to include "list" option alongside existing "e" (exit) option
  • Added logic to handle "list" command in the protocol selection loop
  • Maintains 100% backward compatibility - all existing functionality preserved

Benefits

  • No more guessing - Users can easily discover available protocols
  • Clear information - Shows protocol abbreviation, port number, and type (tcp/udp)
  • Better UX - Reduces friction in container configuration process
  • Minimal changes - Surgical enhancement that doesn't disrupt existing workflows

Fixes #44.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: horner <6094599+horner@users.noreply.github.com>
Copilot AI changed the title [WIP] I would like to be able to enter a port number (and) have a link to a list so I dont have to guess. Add protocol list display functionality for container creation Sep 18, 2025
Copilot AI requested a review from horner September 18, 2025 23:03
@horner horner marked this pull request as ready for review September 19, 2025 15:27
@horner horner merged commit 1ac0694 into main Sep 19, 2025
2 checks passed
@horner horner deleted the copilot/fix-44 branch September 19, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I would like to be able to enter a port number (and) have a link to a list so I dont have to guess.

2 participants